html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
}


abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
 
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


@font-face {
  font-family: 'Golos Text';
  src: url('../fonts/GolosText-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  color: #767676;
  background: #fff;
}

hr {
  display: block;
  width: 83%;
  margin: 0 auto;
  background-color: #8e725e;
  border: none;
  height: 3px;
}

.hr-desktop {
  display: block;
  width: 83%;
  margin: 0 auto;
  background-color: #8e725e;
  border: none;
  height: 3px;
}


@media (max-width: 768px) {
  .hr-desktop {
    display: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Общие стили для границ */
.border-radius_color {
  border: 3.5px solid rgba(7, 140, 137, 0.2);
}

@media (min-width: 320px) and (max-width: 480px) {
  .border-radius_color {
    border: 2.5px solid rgba(7, 140, 137, 0.2);
  }
}

.border-radius__img {
  border-radius: 50px;
}

.border-radius {
  border: 3px solid rgba(7, 140, 137, 0.2);
  border-radius: 20px;
}

/* Стили для блока Education */
.education__img {
  text-align: center;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education__img {
    margin: 1em;
  }
}

.education__text-left {
  text-align: left;
}

.education__text {
  margin: 1.5em;
  background-color: rgba(7, 140, 137, 0.2);
  padding: 2em;
  border-radius: 20px;
}

.education__text p {
  padding: 0;
  margin: 0 0 5px;
}

.education__text_experience {
  max-width: 60%;
  margin: 1.5em auto;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education__text {
    margin: 0.4em;
    padding: 1em;
  }
  .education__text_experience {
    max-width: 100%;
  }
}

.education__link {
  color: inherit;
}

.education__block-3 {
  grid-column: 1 / span 2;
  grid-row: 2 / 3;
}

@media (min-width: 320px) and (max-width: 480px) {
  .education__block-3 {
    margin-top: 0;
    grid-column: 1 / 3;
  }
}

.education {
  display: grid;
  grid-template-columns: 1fr 2fr;
  text-align: left;
  margin: 3rem 0;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.education-gallery__img {
  width: 26vw;
  height: 44vh;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__img {
    width: 42vh;
  }
}

.education-gallery {
  margin-left: 1em;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 10px 1fr;
  column-gap: 3em;
  row-gap: 1em;
  align-items: baseline;
  justify-items: center;
  margin: 3em 0;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery {
    margin: 4rem 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 50%;
  }
}

.education-gallery__item-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / 2;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__item-1 {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.education-gallery__item-2 {
  grid-column: 3 / span 2;
  grid-row: 1 / 2;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__item-2 {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.education-gallery__item-3 {
  grid-column: 5 / span 2;
  grid-row: 1 / 2;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__item-3 {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.education-gallery__item-4 {
  grid-column: 2 / 4;
  grid-row: 3 / span 2;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__item-4 {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.education-gallery__item-5 {
  grid-column: 4 / span 2;
  grid-row: 3 / span 2;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .education-gallery__item-5 {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.education-gallery_animation {
  transition: transform 1s;
}

.education-gallery_animation:hover {
  transform: scale(1.2);
}

@media (min-width: 320px) and (max-width: 768px) {
  .education-gallery_animation:hover {
    transform: none;
  }
}

/* Общие стили заголовков */
.title_center {
  text-align: center;
}

.title_size-m {
  font-family: 'Golos Text', sans-serif;
  font-size: 44px;
  color: #8e725e;
}

@media (min-width: 320px) and (max-width: 480px) {
  .title_size-m {
    font-size: 30px;
  }
}

.title_size-s {
  font-family: 'Golos Text', sans-serif;
  font-size: 1.8rem;
  margin-top: 0;
  color: #8e725e;
}

@media (min-width: 320px) and (max-width: 480px) {
  .title_size-s {
    font-size: 22px;
    text-align: center;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  .title_mobile-border {
    border-top: 3px solid #AE843E;
    border-bottom: 3px solid #AE843E;
  }
}

.title {
  margin: 1.5rem 0;
  padding: 0;
  font-family: 'Golos Text', sans-serif;
  font-size: 4rem;
  font-weight: 600;
}

@media (min-width: 320px) and (max-width: 768px) {
  .title {
    margin: 1em 0;
    padding: 0.2em;
  }
}

@media (min-width: 950px) and (max-width: 1100px) {
  .title {
    font-size: 3rem;
    margin: 1em 0;
    padding: 0.2em;
  }
}

@media (min-width: 600px) and (max-width: 949px) {
  .title {
    font-size: 3rem;
    margin: 1em 0;
    padding: 0.2em;
  }
}

@media (max-width: 399px) {
  .title {
    font-size: 2.5rem;
  }
}

@media (min-width: 400px) and (max-width: 599px) {
  .title {
    font-size: 3rem;
    padding: 1em;
  }
}

.section-title {
  margin: 1.5rem 0;
  padding: 0;
  font-family: 'Golos Text', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #8e725e;
  text-align: center;
  max-width: 1100px; /* Ограничиваем ширину */
  margin-left: auto; /* Выравнивание по центру */
  margin-right: auto; /* Выравнивание по центру */
}

@media (min-width: 320px) and (max-width: 480px) {
  .section-title {
    font-size: 32px;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  .mobile-borders {
    border-top: 3px solid #AE843E;
    border-bottom: 3px solid #AE843E;
    padding: 0.2em;
  }
}



.sub-title {
  margin: 1rem 0;
  padding: 0;
  font-family: 'Golos Text', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #8e725e;
}

@media (min-width: 320px) and (max-width: 1023px) {
  .sub-title {
    /*margin: 1em 0;*/
    /*padding: 0.2em;*/
    text-align: center;
  }
}

.title-none {
  display: none;
}

@media (min-width: 320px) and (max-width: 768px) {
  .title-none {
    display: block;
  }
}

.text {
  font-family: inherit;
  font-size: 22px;
  font-weight: 400;
  color: rgb(118, 118, 118);
}

@media (min-width: 320px) and (max-width: 480px) {
  .text {
    font-size: 18px;
  }
}

.main_title_text {
  font-family: inherit;
  font-size: 30px;
  font-weight: 400;
  color: #a59590;
}

@media (min-width: 600px) and (max-width: 949px) {
  .main_title_text {
    font-size: 25px;
  }
}

@media (min-width: 320px) and (max-width: 599px) {
  .main_title_text {
    font-size: 20px;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.no-scroll .overlay {
  opacity: 1;
  visibility: visible;
}

/* Блокировка скролла */
body.no-scroll {
  overflow: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

@media (max-width: 1024px) {
  .header {
    padding: 0 4rem;
  }
}

/* Кнопка гамбургера */
.nav-toggle-btn {
  display: block;
  position: fixed;
  top: 20px;
  left: auto;
  right: 45px;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background-color: #e9d8ca;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 1001;
}

.nav-toggle-btn:hover {
  background-color: rgb(234, 225, 217);
}

.nav-toggle-btn span,
.nav-toggle-btn span::before,
.nav-toggle-btn span::after {
  display: block;
  position: absolute;
  left: 10px;
  width: 20px;
  height: 3px;
  background-color: #8e725e;
  transition-duration: 0.25s;
  user-select: none; /* Предотвращаем выделение псевдоэлементов */
}

.nav-toggle-btn span {
  top: 28px;
}

.nav-toggle-btn span::before {
  content: "";
  top: -8px;
}

.nav-toggle-btn span::after {
  content: "";
  top: 8px;
}

/* Чекбокс для управления меню */
#nav-toggle {
  display: none;
}

/* Превращение в крестик при открытом меню */
#nav-toggle:checked ~ .nav-toggle-btn span {
  width: 0;
}

#nav-toggle:checked ~ .nav-toggle-btn span::before {
  top: 0;
  transform: rotate(-45deg);
}

#nav-toggle:checked ~ .nav-toggle-btn span::after {
  top: 0;
  transform: rotate(45deg);
}

/* Меню */
.nav-list {
  position: fixed;
  top: 0;
  right: -100%;
  left: auto;
  width: 250px;
  height: 100%;
  background: #EEEEEE;
  list-style: none;
  margin: 0;
  padding: 80px 0;
  transition: right 0.3s ease;
  z-index: 1000;
  pointer-events: none; /* Отключаем события, когда сайдбар скрыт */
}

/* Открытие меню */
#nav-toggle:checked ~ .nav-list {
  right: 0;
  pointer-events: auto; /* Включаем события, когда сайдбар открыт */
}

/* Ссылки в меню */
.nav-link {
  display: block;
  padding: 20px 14px;
  color: rgb(118, 118, 118);
  text-decoration: none;
  text-align: left;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #8e725e;
}

.nav-list {
  overflow-y: auto;
}

/* Main */
.main {
  display: block;
  margin: 0 auto;
  margin-top: 135px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .main {
    margin-top: 120px;
  }
}

@media (min-width: 480px) and (max-width: 1320px) {
  .main {
    margin-top: 115px;
  }
}

/* Intro Section */
.intro-desktop {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 3rem 2rem 4rem;
}

.intro-mobile {
  display: none; /* Скрыта по умолчанию */
}

.intro-content {
  width: 50%;
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.intro-title-wrapper {
  padding: 10px;
  width: 100%;
  max-width: 90%; /* Ограничиваем ширину */
  text-align: center; /* Центрируем текст внутри обёртки */
  display: flex; /* Используем flex для управления содержимым */
  justify-content: center; /* Центрируем содержимое по горизонтали */
}

.intro-title {
  font-family: 'Golos Text', sans-serif;
  font-size: 4rem;
  font-weight: 600;
  color: #8e725e;
  margin: 0 0 0.5rem;
  text-align: center; /* Убеждаемся, что текст сам по себе центрируется */
}

.intro-subtitle {
  font-size: 1.875rem;
  font-weight: 400;
  color: #5c3527 ;
  margin: 0 0 0.5rem;
}

.intro-qualification {
  font-size: 1.5rem;
  font-weight: 400;
  color: #5c3527 ;
  margin: 0 0 2rem;
}

.intro-image {
  width: 427.5px;
  height: 640px;
  object-fit: cover;
  border-radius: 50px;
}

.intro-subcontent {
  /* Не нужно задавать ширину, она унаследуется от .intro-content */
}

@media (min-width: 1101px) and (max-width: 1219px) {
  .intro-image {
    width: 380px;
    height: 570px;
  }
}

@media (min-width: 480px) and (max-width: 949px) {
  .intro-subtitle, .intro-qualification {
    font-size: 25px;
  }
}


@media (min-width: 320px) and (max-width: 479px) {
  .intro-subtitle, .intro-qualification {
    font-size: 20px;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .intro-image {
    width: 350px;
    height: 525px;
  }
  .intro-title {
    font-size: 3rem;
  }
}

@media (min-width: 800px) and (max-width: 899px) {
  .intro-image {
    width: 310px;
    height: 465px;
  }
  .intro-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) and (max-width: 799px) {
  .intro-image {
    width: 280px;
    height: 420px;
  }
  .intro-title {
    font-size: 3rem;
  }
}

@media (min-width: 400px) and (max-width: 767px) {
  .intro-title {
    font-size: 3rem;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .intro-desktop {
    display: none; /* Скрываем десктопную версию */
  }
  .intro-mobile {
    display: flex; /* Показываем мобильную версию */
    flex-direction: column;
    justify-content: center; /* Вертикальное центрирование */
    align-items: center; /* Горизонтальное центрирование */
    margin: 0 1em;
    margin-bottom: 3em;
  }
  .intro-title-wrapper {
    width: 100%;
    max-width: 90%; /* Ограничиваем ширину */
    text-align: center; /* Центрируем текст */
    display: flex;
    justify-content: center; /* Центрируем содержимое */
    border-top: 3px solid #AE843E;
    border-bottom: 3px solid #AE843E;
  }
  .intro-image {
    width: 256px;
    height: 384px;
    margin-top: 3em;
    margin-bottom: 2em;
  }
  .intro-subcontent {
    width: 100%;
    max-width: 90%; /* Ограничиваем ширину */
    text-align: center;
  }
  .intro-title {
    font-size: 2.5rem;
    
    padding: 0.2em;
  }
  
}

@media (min-width: 768px) {
  .intro-mobile {
    display: none; /* Убеждаемся, что мобильная версия скрыта на больших экранах */
  }
  .intro-desktop {
    display: flex; /* Показываем десктопную версию */
  }
}

/* Parallax Sections */
.parallax {
  height: 60vh;
  background-image: url('../images/myservices.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax2 {
  height: 60vh;
  background-image: url('../images/mycalendar.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #8e725e;
  background: #e9d8ca;
  border: 1px solid #8e725e;
  padding: 15px 40px;
  text-decoration: none;
  transition: all 0.3s;
  gap: 10px;
}

.btn:hover {
  background: rgb(234, 225, 217);
  border-color: #9c7742;
  transform: scale(1.1);
}
/**
@media (min-width: 320px) and (max-width: 480px) {
  .btn {
    font-size: 18px;
    padding: 15px 20px;
  }
}
*/
@media (min-width: 376px) and (max-width: 800px) {
  .btn {
    padding: 15px 30px;
  }
  .btn-custom-text-mobile-size {
    font-size: 20px;
  }
}

@media (max-width: 375px) {
  .btn {
    padding: 15px 25px;
  }
  .btn-custom-text-mobile-size {
    font-size: 18px;
  }
}

.btn-contact {
  margin-top: 2rem;
}

/* About Section */
.about-section {
  padding: 3rem 2rem;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  width: 40%;
  max-width: 413px;
  height: auto;
  object-fit: cover;
  border-radius: 50px;
}

.about-text {
  width: 60%;
  padding: 0 20px;
}

.about-text p {
  font-size: 22px;
  line-height: 36px;
  text-align: justify;
  margin-bottom: 1rem;
}

.about-link {
  color: #8e725e;
  text-decoration: none
}

@media (max-width: 480px) {
  .about-text p  {
    font-size: 18px;
  }
}

.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-education {
  max-width: 300px;
}

@media (max-width: 1023px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }
  .about-image {
    display: none;
  }
  .about-text {
    width: 100%;
    padding: 20px;
  }
  
  .button-wrapper {
    margin-top: 20px;
  }
}

/* Services Section */
.services-section {
  margin: 3rem 2rem 4rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  max-width: 1300px;
  margin: 3rem auto 0;
  padding-bottom: 40px;
}

.service-card {
  width: 350px;
  text-align: center;
}

.service-card p {
  font-size: 22px;
  line-height: 36px;
  color: rgb(118, 118, 118);
}

.services-note {
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  padding: 50px 0 40px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 481px) and (max-width: 1023px) {
  .services-section {
    margin: 0 2rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    margin: 0 1rem;
  }
}

@media (max-width: 800px) {
  .service-card {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .service-card {
    width: 100%;
  }
}

/* Offerings Section */
.offerings-section {
  background: #f9f9f9;
  padding: 50px 2em;
  text-align: center;
}

.offerings-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.offering-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.offering-card h3 {
  font-size: 24px;
  color: #333;
  margin: 15px 0 10px;
}

.offering-card p {
  font-size: 22px;
  color: rgb(118, 118, 118);
  margin-bottom: 10px;
}

.price {
  display: block;
  text-align: center;
}

.price-first-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.price-second-line {
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin-top: 5px;
}

.duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.price-text,
.time-text {
  font-size: 22px;
  font-weight: bold;
}

.offerings-note {
  margin-top: 30px;
}

.offerings-note span {
  color: rgb(118, 118, 118);
  font-size: 22px;
  margin-left: 10px; /* Добавьте немного отступа между иконкой и текстом */
}

.btn-payment {
  max-width: 380px;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 7rem;
}

.faq-list {
  max-width: 1300px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 22px;
  color: #8e725e;
  cursor: pointer;
  display: flex; /* Оставляем flex для выравнивания */
  align-items: center; /* Выравнивание по центру по вертикали */
  padding: 10px 0;
  flex-wrap: wrap; /* Разрешаем перенос строк */
}

.faq-question span { /* Оборачиваем текст вопроса в span для контроля */
  flex: 1; /* Занимает доступное пространство */
  min-width: 0; /* Предотвращает переполнение */
  word-break: break-word; /* Перенос слов при необходимости */
}

.faq-question svg {
  background: #8e725e;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  transition: transform 0.3s;
}

details[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 20px;
  line-height: 36px;
  padding: 10px 0;
  color: #000;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem;
  }
}
/*
@media (max-width: 420px) {
  .faq-question {
    font-size: 15px;
  }
}
**/
/* Contact Section */
.contact-section {
  padding: 0;
}

.contact-top {
  background: #f9f9f9;
  padding: 50px 2em;
  text-align: center;
}

.contact-form-wrapper {
  background: #fff;
  padding: 50px 2em;
  text-align: center;
}

.my_contacts__text {
  font-size: 22px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 36px;
  color: rgb(118, 118, 118);
}

.contact-info {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px;
  color: #8e725e;
}

.contact-info strong {
  color: #8e725e;
}

.phone-link {
  color: #8e725e;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.phone-link:hover {
  color: #9c7742;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px 0;
}

.contact-links a {
  transition: transform 0.3s;
}

.contact-links a:hover {
  transform: scale(1.1);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 20px;
  padding: 10px 22px;
  font-size: 22px;
  color: #8c674f;
  background: #fff;
  border: 1px solid #8c674f;
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8c674f;
  font-size: 22px;
  font-family: "Roboto", sans-serif;
}

.contact-form textarea {
  height: 150px;
  resize: none;
  padding-top: 10px;
}

.error-message {
  color: red;
  font-size: 14px;
  display: none;
}

.btn-offer {
  max-width: 300px;
}

.btn-submit {
  margin: 20px auto 40px;
  max-width: 300px;
}

/* Bottom Bar */
.bottom-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  background-color: #8e725e; /* Цвет фона */
  padding: 15px;
  margin-top: 15px;
}

.bottom-bar-btn {
  color: white;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  transition: background 0.3s ease;
  text-align: center;
}

.bottom-bar-btn:hover {
  color: #e9d8ca;
}

/* Footer */
.footer {
  background: #f9f9f9;
  padding: 20px 0 30px; /* Убрал внешние 80px, они теперь внутри padding футер-контента */
  font-size: 20px;
  line-height: 30px;
  color: #666; /* Чёрный цвет текста для обеих сторон */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 100px; /* Отступы 80px с каждой стороны футера */
  flex-wrap: wrap;
}

.footer_left,
.footer_right {
  max-width: 45%;
}

.footer_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%; /* Убедимся, что контейнер занимает всю доступную ширину */
}

.footer_right > * {
  text-align: right; /* Выравнивание текста в дочерних элементах */
  width: 100%; /* Делаем элементы на всю ширину контейнера */
}

.footer_left {
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.footer_left p {
  margin: 0 auto;
  font-size: 20px;
  line-height: 36px;
}

.footer_right p {
  padding-top: 0px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 24px;
}

.footer-header {
  padding: 20px 0;
  color: #666; /* Чёрный цвет заголовков */
}

.footer-header strong {
  color: #666; /* Чёрный цвет для текста внутри strong */
}

/* Адаптивность: при ширине 768px и меньше правая часть центрируется */
@media (max-width: 768px) {
  .footer_right {
      align-items: center; /* Центрируем элементы */
  }

  .footer_right > * {
      text-align: center; /* Текст тоже центрируем */
  }
}

/* Адаптивность: при ширине 900px и меньше правая часть уходит вниз */
@media (max-width: 900px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
      text-align-last: center;
  }

  .footer_left,
  .footer_right {
      max-width: 100%;
      text-align: center;
  }

  .footer_right {
      padding-top: 20px;
  }
}

@media (max-width: 600px) {
  .footer-content {
      padding: 0 40px;
  }
}

@media (max-width: 600px) {
  .footer-content {
      padding: 0 20px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: auto;
}

.modal-content {
  background: white;
  color: black;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Добавлена тень для выделения */
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
}

.close:hover {
  color: #8e725e; /* Цвет при наведении */
}

/* Адаптивность для модальных окон */
@media (max-width: 600px) {
  .modal-content {
      padding: 20px;
      max-width: 90%; /* Ограничение ширины на мобильных */
  }
}

html {
  scroll-behavior: smooth;
}

.recaptcha-notice {
  font-size: 16px;
  margin-top: 10px;
  color: #666;
  text-align: center; /* Если хочешь выровнять по центру */
}

.recaptcha-notice a {
  color: #8e725e; /* Цвет ссылок под стиль твоей кнопки */
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  text-decoration: none;
}

.grecaptcha-badge { 
  visibility: hidden !important;
}

.payment-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f5f5f5;
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.payment-icons {
  flex-basis: 100%; /* Перенос на новую строку */
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.payment-icon {
  width: 100%;
  max-width: 500px;
  height: auto;
}