/**
* Template Name: NiceSchool
* Template URL: https://bootstrapmade.com/nice-school-bootstrap-education-template/
* Updated: May 10 2025 with Bootstrap v5.3.6
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Cormorant Garamond", serif;
  --heading-font: var(--default-font);
  --nav-font: "Montserrat", Arial, sans-serif;
}

:root {
  --background-color: #edece6;       /* Спокойный светло-бежево-зелёный */
  --default-color: #2e2e2e;
  --heading-color: #143325;          /* Глубокий зелёный */
  --accent-color: #203b31;           /* Более благородный и премиальный оттенок зелёного */
  --surface-color: #c5b8a2;
  --contrast-color: #fffdf8;
}

:root {
  --nav-color: rgba(200, 200, 180, 0.95); /* очень светло-зелёный с желтоватым оттенком */
  --nav-hover-color: #c9b69a;
  --nav-mobile-background-color: #143325;
  --nav-dropdown-background-color: #f5f1eb;
  --nav-dropdown-color: #375148;
  --nav-dropdown-hover-color: #c9b69a;
}


/* Color Presets */
.light-background {
  --background-color: #ffffff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
/* --- Новый стиль header --- */
.header {
  --background-color: rgba(30, 40, 36, 0.92);
  --default-color: #fff;
  --heading-color: #bfa76a;
  color: var(--default-color);
  background: rgba(30, 40, 36, 0); /* прозрачный */
  box-shadow: none;
  transition: background 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s cubic-bezier(.4,0,.2,1);
  padding: 8px 0 8px 0; /* увеличенный верхний и нижний отступ */
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 0px;
  text-decoration: none;
}

.header .logo img {
  max-height: 52px;
  border-radius: 12px;
  box-shadow: 0 2px 12px #bfa76a33;
}

.header .sitename {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #bfa76a;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px #254d3e55;
  margin: 0;
  padding-left: 6px;
}

.scrolled .header {
  background: rgba(30, 40, 36, 0.98);
  box-shadow: 0 8px 32px 0 rgba(55,81,72,0.18);
}

/* --- Красивое меню --- */
.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.navmenu a,
.navmenu a:focus {
  color: #e0d4bd;
  padding: 12px 18px;
  font-size: 1.08rem;
  font-family: var(--nav-font);
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #254d3e33;
  position: relative;
}



.navmenu li {
  position: relative;
}

/* --- Мобильное меню --- */
@media (max-width: 1199px) {
  .navmenu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 82vw;
    max-width: 340px;
    height: 100vh;
    background: rgba(30,40,36,0.98);
    box-shadow: -6px 0 32px 0 rgba(55,81,72,0.18);
    border-radius: 0 0 0 22px;
    z-index: 9998;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.77,0,.18,1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .mobile-nav-active .navmenu {
    transform: translateX(0);
  }
  .navmenu ul {
    flex-direction: column;
    align-items: flex-start;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 48px 0 12px 0;
    margin-top: 0;
    gap: 0;
    width: 100%;
    display: flex;
    position: static;
  }
  .navmenu ul li {
    width: 100%;
    margin-bottom: 10px; /* увеличенный отступ между якорями */
  }
  .navmenu ul li:last-child {
    margin-bottom: 0;
  }
  .navmenu ul li a {
    width: 100%;
    padding: 22px 36px;
    font-size: 1.22rem;
    border-radius: 18px;
    background: none;
    color: #e0d4bd;
    border-bottom: none;
    margin: 0 auto;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px 0 rgba(55,81,72,0.04);
    position: relative;
  }
  
  .navmenu ul li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 36px;
    background: linear-gradient(90deg, #bfa76aa4 0%, #e0d4bdae 100%);
    border-radius: 1px;
  
    margin: 12px 0 0 0;
    transition: opacity 0.2s;
  }
  .navmenu ul li a.active::after,
  .navmenu ul li a:hover::after {
    opacity: 0.5;
  }

  .mobile-nav-toggle {
    color: #e0d4bd;
    font-size: 2.2rem;
    cursor: pointer;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    z-index: 10000;
    background: none;
    border: none;
    outline: none;
    transition: color 0.3s;
  }
  .mobile-nav-toggle.bi-x {
    color: #bfa76a;
  }
  body.mobile-nav-active {
    overflow: hidden;
  }
  .container-fluid {
    position: relative;
  }

  /* ---  футер мобильного меню --- */
  .navmenu-footer {
    width: 100%;
    padding: 15px 0 400px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(224,212,189,0.10);
    background: none;
    gap: 18px;
  }
  .navmenu-footer .navmenu-social {
    display: flex;
    gap: 22px;
    margin-bottom: 8px;
  }
  .navmenu-footer .navmenu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
    color: #254d3e;
    font-size: 1.7rem;
    box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    text-decoration: none;
  }
  .navmenu-footer .navmenu-social a:hover {
    background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
    color: #254d3e;
    box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  }
  .navmenu-footer .navmenu-phone {
    color: #e0d4bd;
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
  }
  .navmenu-footer .navmenu-phone i {
    font-size: 1.3em;
    color: #bfa76a;
  }
}





/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 62px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 13px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero .hero-container {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 180px 0 80px 0;
}

.hero .hero-container .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .hero-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 30%) 0%, color-mix(in srgb, var(--background-color), transparent 60%) 100%);
  z-index: 2;
}

.hero .hero-container .container {
  z-index: 3;
}

.hero .hero-container .hero-content {
  padding-right: 30px;
}

.hero .hero-container .hero-content h1 {
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .hero .hero-container .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-container .hero-content h1 {
    font-size: 2.7rem;
    text-align: center;
  }
}

.hero .hero-container .hero-content p {
  font-size: 1.7rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

@media (max-width: 576px) {
  .hero .hero-container .hero-content p {
    font-size: 1.3rem;
    text-align: center;
  }
}

.hero .hero-container .hero-content .cta-buttons {
  display: flex;
  gap: 15px;
}

@media (max-width: 576px) {
  .hero .hero-container .hero-content .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

.hero .hero-container .hero-content .cta-buttons a {
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

@media (max-width: 576px) {
  .hero .hero-container .hero-content .cta-buttons a {
    width: 100%;
    max-width: 240px;
  }
}

.hero .hero-container .hero-content .cta-buttons .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .hero-container .hero-content .cta-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hero .hero-container .hero-content .cta-buttons .btn-secondary {
  background-color: color-mix(in srgb, var(--surface-color), transparent 20%);
  color: var(--default-color);
  border: 2px solid var(--surface-color);
}

.hero .hero-container .hero-content .cta-buttons .btn-secondary:hover {
  background-color: var(--surface-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .hero .hero-container .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.hero .hero-container .stats-card {
  background-color: color-mix(in srgb, var(--surface-color), transparent 95%);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero .hero-container .stats-card .stats-header {
  text-align: center;
  margin-bottom: 25px;
}

.hero .hero-container .stats-card .stats-header h3 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero .hero-container .stats-card .stats-header .decoration-line {
  height: 3px;
  width: 70px;
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  margin: 0 auto;
}

.hero .hero-container .stats-card .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.hero .hero-container .stats-card .stats-grid .stat-item {
  display: flex;
  align-items: center;
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-icon {
  font-size: 1.8rem;
  height: 55px;
  width: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c0b18d;
  background-color: var(--accent-color);
  margin-right: 12px;
  flex-shrink: 0;
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-content h4 {
  font-size: 1.4rem;
 
  margin: 0;
  line-height: 1;
  font-family: 'Montserrat', Arial, sans-serif;
}

.hero .hero-container .stats-card .stats-grid .stat-item .stat-content p {
  opacity: 0.8;
  margin: 5px 0 0 0;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .hero .hero-container .stats-card .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .hero .hero-container {
    text-align: center;
  }
}

.hero .event-ticker {
  background-color: var(--accent-color);
  padding: 25px 0;
  color: var(--contrast-color);
}

.hero .event-ticker .ticker-item {
  display: flex;
  align-items: center;
}

.hero .event-ticker .ticker-item .date {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 10px;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 50%);
}

.hero .event-ticker .ticker-item .title {
  margin-right: 15px;
  font-size: 0.95rem;
}

.hero .event-ticker .ticker-item .btn-register {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  color: var(--contrast-color);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.hero .event-ticker .ticker-item .btn-register:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 60px;
  padding-bottom: 60px;
}

.about .display-6 {
  line-height: 1.2;
}

.about .display-6 span {
  position: relative;
  color: var(--accent-color);
}

.about .display-6 span:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  left: 0;
  bottom: 5px;
  z-index: -1;
}

.about .lead {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.125rem;
}

.about .stat-box {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-color);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 110px;
  border-bottom: 3px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.about .stat-box:hover {
  transform: translateY(-5px);
}

.about .stat-box .stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--heading-color);
}

.about .stat-box .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.about .signature-block {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding-top: 1.5rem;
}

.about .signature-block img {
  transition: transform 0.3s ease;
}

.about .signature-block img:hover {
  transform: scale(1.05);
}

.about .image-stack {
  position: relative;
  height: 500px;
}

@media (max-width: 992px) {
  .about .image-stack {
    height: 400px;
    margin-top: 3rem;
  }
}

@media (max-width: 576px) {
  .about .image-stack {
    height: 350px;
  }
}

.about .image-stack .image-stack-item {
  position: absolute;
  width: 80%;
  height: auto;
  transition: transform 0.5s ease;
}

.about .image-stack .image-stack-item:hover {
  transform: translateY(-10px);
}

.about .image-stack .image-stack-item img {
  object-fit: cover;
  width: 100%;
}

.about .image-stack .image-stack-item-top {
  z-index: 1;
  top: 0;
  left: 0;
}

.about .image-stack .image-stack-item-bottom {
  z-index: 2;
  bottom: 0;
  right: 0;
}

.about .mission-vision-row {
  margin-top: 2rem;
}

.about .mission-vision-row .value-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.about .mission-vision-row .value-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transition: height 0.5s ease;
  z-index: -1;
}

.about .mission-vision-row .value-card:hover {
  transform: translateY(-10px);
}

.about .mission-vision-row .value-card:hover:before {
  height: 100%;
}

.about .mission-vision-row .value-card:hover .card-icon {
  background-color: var(--accent-color);
}

.about .mission-vision-row .value-card:hover .card-icon i {
  color: var(--contrast-color);
}

.about .mission-vision-row .value-card .card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.about .mission-vision-row .value-card .card-icon i {
  font-size: 1.75rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.about .mission-vision-row .value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
}

.about .mission-vision-row .value-card p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*--------------------------------------------------------------
# History Section
--------------------------------------------------------------*/
.history .about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.history .about-content h3 {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.history .about-content p {
  margin-bottom: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
}

.history .about-content .timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
}

.history .about-content .timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.history .about-content .timeline .timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.history .about-content .timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.history .about-content .timeline .timeline-item .timeline-dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.history .about-content .timeline .timeline-item .timeline-content h4 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.history .about-content .timeline .timeline-item .timeline-content p {
  margin-bottom: 0;
}

.history .about-image {
  position: relative;
}

.history .about-image img {
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history .about-image .mission-vision {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .history .about-image .mission-vision {
    grid-template-columns: 1fr;
  }
}

.history .about-image .mission-vision .mission,
.history .about-image .mission-vision .vision {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.history .about-image .mission-vision .mission h3,
.history .about-image .mission-vision .vision h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.history .about-image .mission-vision .mission h3:before,
.history .about-image .mission-vision .vision h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.history .about-image .mission-vision .mission p,
.history .about-image .mission-vision .vision p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.history .core-values {
  margin-top: 30px;
}

.history .core-values h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.history .core-values .value-card {
  background-color: var(--surface-color);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.history .core-values .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.history .core-values .value-card .value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 20px;
}

.history .core-values .value-card .value-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.history .core-values .value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.history .core-values .value-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}




/* --- SPA Cards Premium --- */
.spa-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(55,81,72,0.18);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: transparent;
  transition: box-shadow 0.3s, transform 0.3s;
}
.spa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(120deg, rgba(30, 40, 36, 0.634) 60%, rgba(55,81,72,0.68) 100%),
    url('../img/card/card-fon.webp') center/cover no-repeat;
  filter: blur(1px);
  opacity: 1;
}
.spa-card-header {
  position: relative;
  z-index: 1;
  padding: 36px 28px 0 28px;
  text-align: center;
}
.spa-card-icon {
  font-size: 2.2rem;
  color: #e0d4bd;
  margin-bottom: 0.3em;
}
.spa-title {
  color: #fff !important;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.spa-time {
  color: #e0d4bd;
  font-size: 1.1rem;
  font-family: var(--nav-font);
  font-weight: 500;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
.spa-card-body {
  position: relative;
  z-index: 1;
  padding: 18px 28px 0 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.spa-list {
  padding-left: 0;
  margin-bottom: 1.2em;
  list-style: none;
}
.spa-list li {
  color: #f7f7f7 !important;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
  opacity: 0.97;
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  line-height: 1.6;
}
.spa-list li:before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  color: #e0d4bd;
  font-size: 1.2em;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.spa-prices {
  font-family: var(--nav-font);
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  margin-bottom: 0.5em;
}
.spa-prices div {
  background: rgba(224,212,189,0.10);
  border-radius: 8px;
  padding: 7px 0 7px 0;
  color: #fff !important;
  font-size: 1.12rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spa-prices span {
  opacity: 0.85;
  font-weight: 400;
  margin-left: 18px;
}
.spa-prices b {
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-right: 18px;
}
.spa-card-footer {
  position: relative;
  z-index: 1;
  padding: 0 28px 28px 28px;
  text-align: center;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.spa-discount {
  background: linear-gradient(90deg, #e0d4bd 60%, #f5e9d2 100%);
  color: #2d2d2d;
  border-radius: 0 0 18px 18px;
  padding: 13px 0;
  font-weight: 800;
  font-size: 1.14rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 24px 0 rgba(55,81,72,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  position: relative;
  margin: 0 -28px -28px -28px;
  z-index: 2;
  border-top: 1px solid #e0d4bd;
  transition: box-shadow 0.3s, filter 0.3s;
  text-shadow: 0 2px 8px rgba(255,255,255,0.13);
}
.spa-discount i {
  color: #bfa76a;
  font-size: 1.3em;
  margin-right: 0.3em;
}
.spa-card:hover .spa-discount {
  box-shadow: 0 8px 32px 0 rgba(224,212,189,0.25);
  filter: brightness(1.06) drop-shadow(0 0 8px #e0d4bd88);
}
.btn-spa {
  background: linear-gradient(90deg, #e0d4bd 0%, #c9b69a 100%);
  color: #375148;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-spa:hover, .btn-spa:focus {
  background: linear-gradient(90deg, #c9b69a 0%, #e0d4bd 100%);
  color: #1e2824;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.18);
}
.spa-card:hover {
  box-shadow: 0 16px 48px 0 rgba(55,81,72,0.28);
  transform: translateY(-1px) scale(1.025);
}
@media (max-width: 991.98px) {
  .spa-card-header, .spa-card-body, .spa-card-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
}


.spa-price-cta {
  background: 
    linear-gradient(120deg, rgba(30, 40, 36, 0.62) 60%, rgba(55,81,72,0.68) 100%),
    url('../img/card/card-fon.webp') center/cover no-repeat;
  box-shadow: 0 8px 32px 0 rgba(55,81,72,0.13);
  margin: -9px 0 0 0;
  padding: 38px 0 38px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spa-price-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(30, 40, 36, 0.62) 60%, rgba(55,81,72,0.68) 100%),
    url('../img/card/card-fon.webp') center/cover no-repeat;
  filter: blur(1px); /* увеличь значение для большего размытия */
  opacity: 1;
}

.spa-price-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.spa-price-cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.spa-price-cta-text i {
  font-size: 2.2rem;
  color: #e0d4bd;
  margin-bottom: 0.2em;
  filter: drop-shadow(0 2px 8px #2d4637cc);
}
.spa-price-cta-text span {
  color: #e0d4bd;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.spa-price-cta-text h3 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.3em 0 0 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.btn.btn-spa.btn-lg {
  padding: 14px 38px;
  font-size: 1.18rem;
  border-radius: 12px;
  margin-top: 12px;
  background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
  color: #375148;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn.btn-spa.btn-lg:hover, .btn.btn-spa.btn-lg:focus {
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  color: #1e2824;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.18);
}
@media (max-width: 767.98px) {
  .spa-price-cta-inner {
    padding: 0 10px;
  }
  .spa-price-cta-text h3 {
    font-size: 1.5rem;
  }
  .btn.btn-spa.btn-lg {
    font-size: 1rem;
    padding: 12px 18px;
  }
}



.spa-gallery {
  padding: 56px 0 32px 0;
}
.spa-gallery .section-title h2 {
  color: var(--heading-color);
}
.spa-gallery img {
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}



.spa-gallery-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: #bfa76a #edece6;


}

.spa-gallery-scroll::-webkit-scrollbar {
  height: 12px;
  background: #edece6;
  border-radius: 8px;
}

.spa-gallery-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
  border-radius: 8px;
}
.spa-gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
}


.spa-gallery-scroll a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 260px;
  max-width: 80vw;
  transition: transform 0.2s, box-shadow 0.2s;
}
.spa-gallery-scroll img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(55,81,72,0.10);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 600px) {
  .spa-gallery-scroll a {
    width: 70vw;
  }
  .spa-gallery-scroll img {
    height: 440px;
  }
}


.spa-gallery-arrows {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.spa-gallery-arrow {
  background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
  color: #375148;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  pointer-events: auto;
  opacity: 0.92;
}
.spa-gallery-arrow:hover {
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  color: #1e2824;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.18);
  transform: scale(1.08);
}
.spa-gallery-arrow-left {
  margin-right: 8px;
}
.spa-gallery-arrow-right {
  margin-left: 8px;
}
@media (max-width: 991.98px) {
  .spa-gallery-arrows {
    display: none !important;
  }
}


.spa-gallery-slider-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.spa-gallery-scroll {
  flex: 1 1 auto;
  overflow-x: auto;
  display: flex;
  gap: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.spa-gallery-arrow {
  position: absolute;
  top: 50%;

  z-index: 2;
  background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
  color: #375148;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0.92;
  pointer-events: auto;
}
.spa-gallery-arrow-left {
  left: -22px;
}
.spa-gallery-arrow-right {
  right: -22px;
}
.spa-gallery-arrow:hover {
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  color: #1e2824;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.18);
  transform: scale(1.08);
}
@media (max-width: 991.98px) {
  .spa-gallery-arrow {
    display: none !important;
  }
}



.gift-certificate-block {
  background: linear-gradient(120deg, #e7ede6 60%, #dbe7dd 100%);
  border-radius: 32px;
  box-shadow: 0 12px 48px 0 rgba(55,81,72,0.14);
  padding: 64px 0 56px 0;
  margin: 64px 0 0 0;
  overflow: hidden;
  position: relative;
}
.gift-certificate-block::before,
.gift-certificate-block::after {
  content: "";
  position: absolute;
  left: 7%;
  width: 86%;
  height: 3px;
  background: linear-gradient(90deg, #375148 0%, #bfa76a 100%);
  border-radius: 2px;
  z-index: 11;
}
.gift-certificate-block::before {
  top: 36px;
}
.gift-certificate-block::after {
  bottom: 36px;
}
.gift-certificate-image {
  position: relative;
  z-index: 1;
}
.gift-certificate-image img {
  max-width: 517px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 48px 0 rgba(55,81,72,0.18);
  background: #e7ede6;
  object-fit: cover;
  border: 3px solid #e0d4bd;
}
.gift-certificate-decor {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #e0d4bd 0%, #fffbe6 100%);
  border-radius: 50%;
  opacity: 0.35;
  z-index: 2;
  filter: blur(2px);
}
.gift-certificate-content {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}
.gift-certificate-content h2 {
  color: var(--heading-color);
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 0.7em;
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.gift-certificate-icon {
  color: #bfa76a;
  font-size: 2.1rem;
  filter: drop-shadow(0 2px 8px #e0d4bd88);
}
.text-gold {
  color: #bfa76a;
  letter-spacing: 0.01em;
  font-weight: 900;
}
.gift-certificate-content .lead {
  color: #375148;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 1.2em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.gift-certificate-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5em;
}
.gift-certificate-list li {
  display: flex;
  align-items: center;
  font-size: 1.18rem;
  color: #254d3e;
  font-weight: 500;
  margin-bottom: 0.7em;
  gap: 0.7em;
  background: rgba(224,212,189,0.09);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.gift-certificate-list i {
  color: #bfa76a;
  font-size: 1.3em;
  margin-right: 0.5em;
}
.btn.btn-spa.btn-lg {
  padding: 16px 44px;
  font-size: 1.22rem;
  border-radius: 14px;
  margin-top: 0px;
  background: linear-gradient(90deg, #e0d4bd 0%, #c9b69a 100%);
  color: #375148;
  font-weight: 800;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn.btn-spa.btn-lg:hover, .btn.btn-spa.btn-lg:focus {
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  color: #1e2824;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.18);
}
@media (max-width: 991.98px) {
  .gift-certificate-block {
    padding: 36px 0 28px 0;
  }
  .gift-certificate-image img {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .gift-certificate-block::before {
    left: 4%;
    width: 92%;
    top: 20px;
  }
  .gift-certificate-block::after {
    left: 4%;
    width: 92%;
    bottom: 20px;
  }
}
@media (max-width: 767.98px) {
  .gift-certificate-block {
    padding: 22px 0 12px 0;
    border-radius: 18px;
  }
  .gift-certificate-content h2 {
    font-size: 1.8rem;
  }
  .gift-certificate-block::before {
    left: 2%;
    width: 96%;
    top: 10px;
  }
  .gift-certificate-block::after {
    left: 2%;
    width: 96%;
    bottom: 10px;
  }
}

/* Скрыть мобильное фото на ПК, показать на мобилке */
.gift-certificate-img-mobile {
  display: none;
  margin: 18px 0 18px 0;
}
@media (max-width: 991.98px) {
  .gift-certificate-image {
    display: none !important;
  }
  .gift-certificate-img-mobile {
    display: block;
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(55,81,72,0.13);
    background: #e7ede6;
    object-fit: cover;
  }
}





.contacts-block { 
  padding: 56px 0 48px 0;
  margin: 56px 0 0 0;
  overflow: hidden;
}
.contacts-info h2 {
  color: var(--heading-color, #375148);
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1.2em;
}
.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contacts-list li {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #254d3e;
  font-weight: 600;
  margin-bottom: 1.1em;
  gap: 0.7em;
}
.contacts-list i {
  color: #bfa76a;
  font-size: 1.5em;
  min-width: 1.7em;
  text-align: center;
}
.contacts-list a {
  color: #375148;
  transition: color 0.2s;
  word-break: break-all;
  font-family: var(--nav-font);
  font-size: 1.2rem;
}
.contacts-list a:hover {
  color: #bfa76a;
  text-decoration: underline solid #bfa76a 2px;
}
.contacts-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(55,81,72,0.10);
}
@media (max-width: 991.98px) {
  .contacts-block {
    padding: 32px 0 24px 0;
    border-radius: 18px;
  }
  .contacts-map iframe {
    height: 220px;
    border-radius: 12px;
  }
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  color: #254d3e !important;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(55,81,72,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-left: 0.2em;
}
.btn-contact i {
  font-size: 1.2em;
}
.btn-contact:hover, .btn-contact:focus {
  background: linear-gradient(90deg, #e0d4bd 0%, #bfa76a 100%);
  color: #143325 !important;
  box-shadow: 0 6px 24px 0 rgba(55,81,72,0.13);
  text-decoration: none;
}
.btn-whatsapp {
  background: var(--accent-color);
  color: #c1b492 !important;
}

.btn-instagram {
  background: var(--accent-color);
  color: #c1b492 !important;
}
.btn-instagram:hover, .btn-instagram:focus {
  color: #fff !important;
}


.spa-prices-massage {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.spa-prices-massage div {
  display: flex;
  justify-content: space-between;
  font-size: 1.08rem;
  color: #254d3e;
  font-weight: 600;
}
.spa-prices-massage span {
  color: #bfa76a;
  min-width: 70px;
  display: inline-block;
}
.spa-prices-massage b {
  color: rgb(199, 203, 197);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.text-gold {
  color: #bfa76a;
  font-weight: 800;
  letter-spacing: 0.01em;
}



.price-section {

  background-color: #132015;

}


.spa-card-line {
  border: 0;
  border-top: 2.5px solid #bfa76a;
  width: 98%;
  margin: 14px auto 0 auto;
  opacity: 1;
  display: block;
}


.section-main-title {
  position: relative;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 56px 0 32px 0;
  text-shadow: 0 4px 24px #254d3e99, 0 1px 0 #bfa76a;
  z-index: 2;
}
.section-main-title::after {
  content: "";
  display: block;
  margin: 18px auto 0 auto;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #bfa76a 0%, #e0d4bd 100%);
  opacity: 0.95;
}


.btn-spa-filter {
  background: #254d3e;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px #254d3e22;
}
.btn-spa-filter:hover, .btn-spa-filter:focus {
  background: #bfa76a;
  color: #254d3e;
}
.price-filters {
  margin-top: 32px;
  margin-bottom: 40px;
  font-family: "Montserrat", Arial, sans-serif;
}


@media (max-width: 576px) {
  .btn-spa-filter {
    padding: 15px 15px;
    font-size: 1.1rem;
    border-radius: 18px;
    min-width: 120px;
    margin-bottom: 6px;
  }
  .price-filters {
    gap: 8px !important;
    flex-direction: column;
    align-items: stretch;
  }
}


.navmenu a,
.navmenu a:focus {
  /* ... */
  font-family: var(--nav-font);
  /* ... */
}

.btn-spa,
.btn-spa-filter,
.btn-contact, 
.cta-buttons,
.spa-discount {
  font-family: var(--nav-font);
}



.footer {
  background: var(--accent-color);
  color: #143325;
  font-size: 1rem;
  border-top: 1px solid #c5b8a2;
}
.footer-social {
  font-size: 1.25rem;
  color: #bfa76a;
  transition: color 0.2s;
  padding: 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social:hover {
  color: #203b31;
  background: #e0d4bd;
}
@media (max-width: 600px) {
  .footer .container {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center;
  }
}

/* Плавное появление секций и блоков */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: none;
}

.hero-bg-mobile { display: none; }
@media (max-width: 767.98px) {
  .hero-bg-desktop { display: none !important; }
  .hero-bg-mobile { display: block !important; }
}