/* ===== BASE ===== */
:root {
  --lavender: #b8a1c7;
  --bg: #faf8f6;
  --text: #2e2e2e;
  --cta-bg: #b59bcf;
  --cta-bg-hover: #9f85bd;
  --cta-color: #fff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

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

/* ===== HEADER ===== */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 20px;
  font-weight: 500;
}

/* ===== BURGER ===== */
.burger {
  background: none;
  border: none;
  width: 28px;
}

.burger span {
  display: block;
  height: 2px;
  background: #000;
  margin: 6px 0;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 80px 20px;
  transform: translateX(100%);
  transition: .3s;
}

.nav.open {
  transform: translateX(0);
}

.nav ul {
  list-style: none;
}

.nav li {
  margin-bottom: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-text {
  margin: 20px 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn.primary {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
}

.btn.outline {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
}

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

/* ===== SECTIONS ===== */
section {
  padding: 60px 0;
}

.services-grid,
.reviews-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}

.advantages-list {
  list-style: none;
  margin-top: 20px;
}

.advantages-list li {
  margin-bottom: 10px;
}

/* ===== FORM ===== */
.form {
  display: grid;
  gap: 12px;
}

.form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  text-align: center;
  padding: 30px 0;
}

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

.small {
  font-size: 12px;
  opacity: .6;
}

/* ===== SERVICE PAGE ===== */

.service-hero {
  padding: 60px 0 40px;
  background: #fff;
}

.breadcrumbs {
  font-size: 12px;
  margin-bottom: 10px;
  opacity: 0.6;
}

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

.service-subtitle {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.8;
}

.service-content p {
  margin-bottom: 16px;
}

.service-includes h2 {
  margin-bottom: 20px;
}

.includes-list {
  list-style: none;
}

.includes-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.includes-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lavender);
}

.format-box {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}

.service-women {
  background: #f5f1f7;
}

.service-cta {
  text-align: center;
}

.btn.large {
  padding: 16px 28px;
  font-size: 16px;
}

/* ===== SERVICES GRID ===== */
.services-grid-section {
  padding: 40px 0;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* мобильная версия */
}

.service-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.service-card h3 {
  margin-top: 12px;
  font-size: 16px;
}

.service-img {
  width: 100%;
  padding-top: 70%; /* соотношение 7:10 */
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

/* ===== СЕТКА ДЛЯ ПК ===== */
@media screen and (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== HOVER ЭФФЕКТ ДЛЯ КАРТОЧЕК УСЛУГ ===== */
.service-card {
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-img,
.service-card:focus .service-img {
  transform: scale(1.05);
}

.service-card:hover,
.service-card:focus {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-img {
  transition: transform 0.3s ease;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 60px 0;
  background: #faf8f6;
  text-align: center;
}

.reviews h2 {
  margin-bottom: 30px;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* мобильная версия */
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.review-card p {
  margin-bottom: 12px;
  font-style: italic;
}

.review-card span {
  font-weight: 500;
  color: var(--lavender);
}

/* ===== СЕТКА ДЛЯ ПК ===== */
@media screen and (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== FORM SECTION ===== */
.form-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.form-section h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.form-section p {
  margin-bottom: 24px;
  opacity: 0.8;
}

.form {
  display: grid;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.form label {
  font-size: 14px;
  text-align: left;
  display: block;
  margin-bottom: 4px;
}

.form input {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form input:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 8px rgba(184,161,199,0.3);
  outline: none;
}

.btn-large {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-large:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

/* ===== ADAPTIVE ===== */
@media screen and (min-width: 768px) {
  .form {
    gap: 20px;
  }
}


/* ===== PAGE HEADER ===== */
.page-header {
  padding: 60px 20px 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* ===== CERTIFICATES ===== */
.certificates {
  padding-bottom: 80px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.certificate-card {
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.certificate-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.certificate-info {
  padding: 20px;
  background: #fff;
}

.certificate-info h3 {
  margin-bottom: 6px;
}

.certificate-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== PROMOTIONS ===== */
.promotions {
  padding-bottom: 80px;
}

.promotions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.promo-card {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.promo-content {
  padding: 22px;
  position: relative;
}

.promo-badge {
  position: absolute;
  top: -14px;
  left: 22px;
  background: #b59bcf;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.promo-content h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.promo-content p {
  margin-bottom: 16px;
  color: #555;
}

.promo-content button {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.promo-content button:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.18);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .promotions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SPA PROGRAM PAGE ===== */

.spa-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.spa-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
}

.spa-hero-overlay h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.spa-hero-overlay p {
  font-size: 16px;
  max-width: 500px;
}

.spa-content {
  padding: 40px 20px 80px;
}

.spa-description p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.spa-includes {
  margin-top: 30px;
}

.spa-includes h2 {
  margin-bottom: 12px;
}

.spa-includes ul {
  list-style: none;
  padding: 0;
}

.spa-includes li {
  padding-left: 26px;
  margin-bottom: 10px;
  position: relative;
}

.spa-includes li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #b59bcf;
}

.spa-info {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.spa-info-item {
  background: #f6f2fa;
  padding: 16px 20px;
  border-radius: 20px;
}

.spa-action {
  margin-top: 40px;
  text-align: center;
}

.spa-action button {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
  padding: 16px 34px;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.spa-action button:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.spa-note {
  margin-top: 14px;
  font-size: 14px;
  color: #777;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .spa-hero {
    height: 420px;
  }

  .spa-hero-overlay h1 {
    font-size: 36px;
  }

  .spa-content {
    max-width: 900px;
    margin: 0 auto;
  }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  font-size: 14px;
  padding: 14px 20px 0;
  color: #777;
}

.breadcrumbs a {
  color: #b59bcf;
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 4px;
}

@media (min-width: 768px) {
  .breadcrumbs {
    max-width: 900px;
    margin: 0 auto;
  }
}


/* ===== CONTACTS ===== */

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

.contacts-info h2,
.contacts-form h2 {
  margin-bottom: 14px;
}

.contacts-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-color);
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-secondary {
  background: var(--cta-bg);
  color: var(--cta-color);
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.contacts-form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.contacts-form input {
  padding: 14px 18px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.contacts-form button {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
  padding: 14px;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contacts-form button:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.form-note {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

.map {
  margin-top: 40px;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .contacts {
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
  }
}



/* ===== CONTACTS MAP ===== */
.contact-map {
  margin-top: 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.contact-link {
  display: inline-block;
  font-size: 18px;
  color: #4a3f55;
  text-decoration: none;
  margin-bottom: 14px;
}

.contact-link:hover {
  text-decoration: underline;
}

.route-button {
  display: inline-block;
  margin-top: 24px;
  background: var(--cta-bg);
  color: var(--cta-color);
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.route-button:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}
.contact-note {
  margin-top: 12px;
  font-size: 14px;
  color: #777;
}

/* ===== FOOTER ===== */

.site-footer {
  background: linear-gradient(135deg, #f6f2fa, #efe8f7);
  margin-top: 80px;
  padding: 60px 20px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 600;
  color: #4a3f55;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #777;
  max-width: 260px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #4a3f55;
  text-decoration: none;
  font-size: 16px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-time {
  font-size: 14px;
  color: #777;
}

.footer-action {
  display: flex;
  align-items: flex-start;
}

.footer-button {
  background: var(--cta-bg);
  color: var(--cta-color);
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-button:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

/* ===== BOOKING MODAL ===== */

.book-btn {
  background: var(--cta-bg);
  color: var(--cta-color);
  border: none;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.book-btn:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

/* overlay */
.booking-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* modal */
.booking-modal-content {
  background: #fff;
  border-radius: 24px;
  padding: 30px 24px;
  width: 90%;
  max-width: 360px;
  text-align: center;
  position: relative;
}

.booking-modal-content h3 {
  margin-bottom: 6px;
}

.booking-modal-content p {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.booking-option {
  display: block;
  padding: 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  text-decoration: none;
  color: #333;
  background: #f3f3f3;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.booking-option:hover {
  background: #ece7f2;
  transform: translateY(-1px);
}

.booking-option.whatsapp {
  background: #e6f7ef;
}

.booking-option.telegram {
  background: #e7f2ff;
}

.booking-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #999;
}

/* ===== FLOATING BOOK BUTTON (MOBILE) ===== */

.floating-book-btn {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;

  background: #b59bcf;
  color: #fff;
  border: none;
  padding: 16px 34px;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(181, 155, 207, 0.35);
  transition: transform 0.3s ease, background 0.3s ease;
}

/* hover только для устройств с мышью */
@media (hover: hover) {
  .floating-book-btn:hover {
    background: #9f85bd;
    transform: translateX(-50%) translateY(-2px);
  }
}

/* скрываем на планшетах и ПК */
@media (min-width: 768px) {
  .floating-book-btn {
    display: none;
  }
}

/* ===== FAQ ===== */

.faq {
  padding: 80px 16px;
  background: linear-gradient(180deg, #faf8fc, #ffffff);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #333;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  height: 100%;
  width: 2px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer p,
.faq-answer ul {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.faq-answer ul {
  padding-left: 18px;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
}

/* Кнопка записи внутри FAQ */

.faq-book-btn {
  margin: 16px 0 28px;
  padding: 12px 26px;
  background: var(--cta-bg);
  border: none;
  border-radius: 30px;
  color: var(--cta-color);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-book-btn:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
}

/* Мобильная версия */

@media (max-width: 600px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-question {
    font-size: 16px;
  }
}
