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

:root {
  --primary: #4A0E2E;
  --primary-dark: #2D081D;
  --beige: #F5F0EB;
  --beige-light: #FAF6F1;
  --gold: #C9A84C;
  --gold-light: #E8D08F;
  --text-on-beige: #4A0E2E;
  --text-on-dark: #F5F0EB;
  --nav-btn-bg: #F5F0EB;
  --nav-btn-text: #4A0E2E;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --transition: 0.3s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--beige-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--beige-light);
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--beige-light);
  color: var(--text-on-beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-appointment {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 240, 235, 0.3);
  color: var(--text-on-dark);
  padding: 8px 20px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-appointment:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-light);
}

.top-bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-row--left {
  flex: 1;
}

.top-bar-row--right {
  flex: 0 0 auto;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.icon-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  transition: all 0.4s ease;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-link--vk svg,
.social-link--max svg {
  width: 28px;
  height: 28px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.2));
  transition: filter 0.4s ease;
}

.social-link:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  box-shadow:
    0 0 24px rgba(201, 168, 76, 0.25),
    inset 0 0 16px rgba(201, 168, 76, 0.08);
}

.social-link:hover svg {
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.6));
}

/* ===== HEADER ===== */
.header {
  background: #ffffff;
  border-bottom: 1px solid rgba(74, 14, 46, 0.08);
  position: relative;
  height: 80px;
  overflow: visible;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 180px;
  height: auto;
  flex-shrink: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  color: var(--nav-btn-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.nav-btn:hover {
  background: var(--primary);
  color: var(--beige);
}

/* Nav Toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('фон2.jpg') center/cover no-repeat;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner > * {
  min-width: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-icon-wrap {
  width: 48px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(201, 168, 76, 0.08);
}

.hero-icon {
  width: 28px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.3));
}

.hero-feature p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
}

.hero-feature-sub {
  font-weight: 400;
  opacity: 0.8;
  font-size: 12px;
}

.hero-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.hero-center {
  text-align: center;
}

.hero-logo-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 4px;
}

.hero-logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gold-light);
  letter-spacing: 6px;
  text-transform: lowercase;
  margin-top: 6px;
  opacity: 0.8;
}

.hero-right {
  text-align: right;
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1px;
  font-style: italic;
  margin-bottom: 12px;
}

.hero-subtext {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ===== TEASERS ===== */
/* Swiper pagination overrides */
.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  opacity: 1;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--beige-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-beige);
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-on-beige);
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 18px;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--beige-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 48px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border-radius: 16px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 28px;
  background: var(--primary);
  color: var(--beige);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: #5c143b;
}

.accordion-arrow {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.accordion-body {
  display: none;
}

.accordion-body .service-card,
.accordion-body .price-list,
.accordion-body .service-subsection,
.accordion-body .epil-note,
.accordion-body .epil-combo {
  margin-left: 28px;
  margin-right: 28px;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay--open {
  display: flex;
}

.modal-window {
  background: var(--beige);
  border-radius: 20px;
  max-width: 1400px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(74, 14, 46, 0.1);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(74, 14, 46, 0.06);
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(74, 14, 46, 0.15);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.modal-body .accordion-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.modal-body .accordion-body .service-card {
  margin: 0;
}

.modal-body .service-subsection,
.modal-body .epil-note,
.modal-body .epil-combo,
.modal-body .price-list {
  grid-column: 1 / -1;
}

.service-card {
  padding: 20px 24px;
  margin-bottom: 16px;
  background: var(--beige-light);
  border-radius: 12px;
  border: 1px solid rgba(74, 14, 46, 0.06);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.service-card-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-card-composition {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
}

.service-card-meta {
  font-size: 14px;
  color: var(--text-on-beige);
  opacity: 0.7;
  margin-bottom: 12px;
}

.meta-label {
  font-size: 15px;
}

.service-card-prices {
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text-on-beige);
}

.price-row--sale {
  color: var(--primary);
  font-weight: 600;
}

.price-label {
  opacity: 0.7;
}

.price-value {
  font-weight: 600;
  white-space: nowrap;
}

.price-save {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-left: auto;
}

.service-card-courses {
  margin-bottom: 10px;
}

.courses-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: var(--text-on-beige);
}

.courses-grid small {
  opacity: 0.5;
  text-decoration: line-through;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-beige);
  opacity: 0.8;
  font-style: italic;
}

.service-subsection {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 12px;
}

.price-list {
  margin-bottom: 20px;
}

.price-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-on-beige);
  border-bottom: 1px solid rgba(74, 14, 46, 0.06);
}

.price-list-row:last-child {
  border-bottom: none;
}

.price-list-row span:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.epil-note {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.epil-combo {
  font-size: 14px;
  color: var(--text-on-beige);
  background: var(--beige-light);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(74, 14, 46, 0.06);
  margin-bottom: 16px;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--beige-light);
}

.faq .section-title {
  margin-bottom: 40px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: var(--primary);
  color: var(--beige);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-header:hover {
  background: #5c143b;
}

.faq-arrow {
  font-size: 22px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding: 24px 28px;
  background: #fff;
}

.faq-item.active .faq-body {
  display: block;
}

.faq-body h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  margin-top: 20px;
}

.faq-body h4:first-child {
  margin-top: 0;
}

.faq-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.faq-body ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-beige);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.faq-body ul li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 0;
}

.faq-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-beige);
  margin-bottom: 12px;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-channel {
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(74, 14, 46, 0.1);
}

.faq-channel p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-beige);
  margin-bottom: 8px;
}

.faq-channel p:last-child {
  margin-bottom: 0;
}

.faq-channel a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.faq-channel a:hover {
  color: var(--gold);
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.reviews-swiper {
  width: 100%;
  padding-bottom: 44px;
  position: relative;
}

.reviews-swiper .swiper-slide {
  height: auto;
}

.reviews-swiper .swiper-pagination {
  bottom: 0 !important;
}

.reviews-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px !important;
  background: var(--primary);
  opacity: 0.3;
}

.reviews-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--beige);
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after {
  font-size: 12px;
  font-weight: 700;
}

.reviews-swiper .swiper-button-prev {
  left: 8px;
}

.reviews-swiper .swiper-button-next {
  right: 8px;
}

.reviews-swiper .swiper-button-prev:hover,
.reviews-swiper .swiper-button-next:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.reviews-swiper .swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.review-card {
  background: var(--beige-light);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.review-card-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.review-card-date {
  font-size: 12px;
  color: rgba(74, 14, 46, 0.5);
  white-space: nowrap;
}

.review-card-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-beige);
}

.reviews-more {
  text-align: center;
  margin-top: 40px;
}

.reviews-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--beige);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: background var(--transition);
}

.reviews-more-link:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

/* ===== CONTACTS ===== */
.contacts {
  padding: 80px 0;
  background: var(--beige-light);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(74, 14, 46, 0.5);
}

.contacts-value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-on-beige);
}

.contacts-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.contacts-link:hover {
  color: var(--gold);
}

.contacts-socials-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-beige);
}

.contacts-socials-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contacts-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--beige);
  transition: background var(--transition);
}

.contacts-social-link:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.contacts-social-link svg {
  width: 22px;
  height: 22px;
}

.contacts-map {
  border-radius: 16px;
  overflow: hidden;
}

.contacts-map-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.contacts-map-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--primary);
}

.contacts-map-addr {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-on-beige);
  max-width: 280px;
}

.contacts-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--beige);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  margin-top: 8px;
  transition: background var(--transition);
}

.contacts-map-btn:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.contacts-legal {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(74, 14, 46, 0.08);
  grid-column: 1 / -1;
}

.contacts-legal p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(74, 14, 46, 0.5);
  margin-bottom: 4px;
}

.contacts-legal p:last-child {
  margin-bottom: 0;
}

/* ===== LEGAL DOCS ===== */
.modal-window--legal {
  max-width: 800px;
}

.legal-modal-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-on-beige);
}

.legal-modal-content h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-modal-content h4:first-child {
  margin-top: 0;
}

.legal-modal-content p {
  margin-bottom: 10px;
}

.legal-modal-content p:last-child {
  margin-bottom: 0;
}

.legal-warning {
  font-size: 11px;
  color: rgba(74, 14, 46, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-update {
  font-size: 12px;
  color: rgba(74, 14, 46, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: 16px 0;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
}

.footer-link {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--gold-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
  grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-center {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-left {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-right {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }

  .header-inner {
    gap: 16px;
  }

  .nav-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 8px;
  }

  .top-bar-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .header {
    height: auto;
    padding: 16px 0;
  }

  .logo-icon-wrap {
    width: 180px;
    height: auto;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    position: static;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    z-index: auto;
  }

  .nav--open {
    display: flex;
  }

  .nav-btn {
    flex: 1 1 calc(33.33% - 4px);
    text-align: center;
    padding: 10px 8px;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    aspect-ratio: 5/3;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-left {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-center {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-right {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }

  .hero-logo-title {
    font-size: 36px;
  }

  .hero-logo-sub {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .hero-slogan {
    font-size: 16px;
  }

  .about,
  .services,
  .faq,
  .reviews,
  .contacts {
    padding: 48px 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .accordion-header {
    padding: 16px 20px;
    font-size: 16px;
  }

  .accordion-body .service-card,
  .accordion-body .price-list,
  .accordion-body .service-subsection,
  .accordion-body .epil-note,
  .accordion-body .epil-combo {
    margin-left: 16px;
    margin-right: 16px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card-title {
    font-size: 17px;
  }

  .courses-grid {
    flex-direction: column;
    gap: 4px;
  }

  .modal-window {
    max-height: 85vh;
    border-radius: 16px;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-header h3 {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body .accordion-body {
    grid-template-columns: 1fr;
  }

  .faq-body {
    padding: 16px 18px;
  }

  .faq-header {
    font-size: 14px;
    padding: 14px 18px;
  }

  .faq-channel {
    padding: 20px 16px;
  }

  .reviews-swiper .swiper-button-prev {
    left: 4px;
  }

  .reviews-swiper .swiper-button-next {
    right: 4px;
  }

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

  .contacts-map {
    min-height: 240px;
  }

  .contacts-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
  }

  .top-bar-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-appointment {
    width: 100%;
    text-align: center;
  }

  .hero-logo-title {
    font-size: 28px;
  }

  .teaser-tags {
    font-size: 12px;
  }

  .about-image {
    border-radius: 12px;
  }

  .price-row {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .price-save {
    margin-left: 0;
  }

  .faq-body {
    padding: 12px 14px;
  }

  .faq-body ul li {
    padding-left: 14px;
  }

  .faq-channel {
    padding: 16px;
  }

  .modal-overlay {
    padding: 8px;
  }

  .modal-window {
    max-height: 90vh;
    border-radius: 12px;
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-header h3 {
    font-size: 16px;
  }

  .modal-body {
    padding: 12px 16px;
  }

  .review-card-header {
    flex-direction: column;
    gap: 2px;
  }

  .contacts-map-card {
    padding: 20px;
    min-height: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 4px;
  }

  .footer-sep {
    display: none;
  }
}
