/* Базовый сброс и настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Цветовая палитра */
  --deep-blue: #0e304f;
  --accent-yellow: #fdf66a;
  --calm-green: #a2caa4;
  --dark-gray: #4A4A4A;
  --neutral-gray: #a8a8a8;
  --medium-gray:#6f6f6f;
  --white: #ffffff;
  --light-gray-bg: #f5f5f5;
  --calm-green-bg: #a2caa481; 
  --calm-green-header: rgba(174, 201, 176, 0.95);

/* cyrillic-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-ext-italic-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}
/* cyrillic */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-italic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}
/* latin-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-ext-italic-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
/* latin */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
/* cyrillic-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-ext-normal-400.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}
/* cyrillic */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-normal-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}
/* latin-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-ext-normal-400.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
/* latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
/* cyrillic-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-ext-normal-700.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}
/* cyrillic */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/pt-sans-cyrillic-normal-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}
/* latin-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-ext-normal-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
/* latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/pt-sans-latin-normal-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

  /* Типографика */
  --font-family-base: 'PT Sans', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Прочее */
  --container-width: 1170px;
  --spacing-unit: 20px;
  --header-height: 70px; 
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--spacing-unit) * 0.75);
  padding-right: calc(var(--spacing-unit) * 0.75);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-base);
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: var(--spacing-unit);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; text-align: center;}
h2 { font-size: 2rem; margin-top: calc(var(--spacing-unit) * 2); }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--spacing-unit); }

a {
  color: var(--deep-blue);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover { color: var(--calm-green); opacity: 0.8; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Шапка (Header) */
.header {
  background-color: var(--calm-green-header);
  height: var(--header-height);
  border-bottom: none; 
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header__container {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  height: 100%; 
}

.navigation ul { display: flex; gap: calc(var(--spacing-unit) * 1.5); }
.navigation a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark-gray);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.navigation a:hover,
.navigation a.active { color: var(--deep-blue); border-bottom-color: var(--deep-blue); }

.burger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 10; }
.burger-menu span { width: 100%; height: 3px; background-color: var(--deep-blue); border-radius: 3px; transition: all 0.3s linear; }
.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* Общие стили секций */
main section { padding: calc(var(--spacing-unit) * 3) 0; }
/* Обновленные стили кнопки CTA */
.cta-button {
  display: inline-block;
  background-color: var(--calm-green); 
  color: var(--deep-blue); 
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--calm-green);
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--deep-blue);
  color: var(--white);
  border-color: var(--deep-blue);
  transform: translateY(-2px);
}
/* Подвал (Footer) */
.footer { background-color: var(--deep-blue); color: var(--light-gray-bg); padding: var(--spacing-unit) 0; margin-top: calc(var(--spacing-unit) * 3); font-size: 0.85rem; }
.footer__container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 0.5); }
.footer__links a { color: var(--light-gray-bg); margin-left: var(--spacing-unit); }
.footer__links a:hover { color: var(--white); opacity: 0.9; }
.footer__copy { color: var(--light-gray-bg); margin-left: var(--spacing-unit); }

/* Кнопка "Наверх" */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50px;
  
  z-index: 80;
  border: none;
  outline: none;
  
  background-color: rgba(162, 202, 164, 0.7);
  color: var(--deep-blue);
  cursor: pointer;
  /* Padding для создания формы кнопки вокруг символа */
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease, color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--calm-green);
  opacity: 1;
  color: var(--deep-blue);
}
.EWBookingWidgetTrigger.EWBookingWidgetTrigger_animate.EWBookingWidgetTrigger_right {bottom: 50px;}

/* Адаптивность */
@media (max-width: 940px) {
  :root { --font-size-base: 15px; --spacing-unit: 18px; }
  h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; }
  .container { max-width: 940px; }  
}
  
@media (max-width: 768px) {
  :root { --font-size-base: 14px; --spacing-unit: 16px; --header-height: 60px; }
  h1 { font-size: 1.8rem; } h2 { font-size: 1.5rem; }
  main section { padding: calc(var(--spacing-unit) * 2) 0; }
  /* Адаптация шапки и навигации */
  .header__container { justify-content: flex-end; }
  .burger-menu { display: flex; }
  .navigation { display: none; position: absolute; top: var(--header-height); left: 0; width: 100%; background-color: var(--white); box-shadow: 0 5px 10px rgba(0,0,0,0.1); padding: var(--spacing-unit) 0; border-top: 1px solid var(--light-gray-bg); }
  .navigation.active { display: block; }
  .navigation ul { flex-direction: column; align-items: center; gap: var(--spacing-unit); }
  .navigation a { font-size: 1rem; padding: 10px 0; }
  #scrollTopBtn { bottom: 20px; padding: 8px 12px; font-size: 16px; }
  .footer__container { flex-direction: column; text-align: center; }
  .footer__links { margin-top: calc(var(--spacing-unit) * 0.5); }
  .footer__links a { margin-left: calc(var(--spacing-unit) * 0.5); margin-right: calc(var(--spacing-unit) * 0.5); }
  .EWBookingWidgetTrigger.EWBookingWidgetTrigger_animate.EWBookingWidgetTrigger_right {padding-bottom: 50px;}
}