/* Общие настройки */


@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Google+Sans+Code:ital,wght,MONO@0,300..800,1;1,300..800,1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Quicksand:wght@300..700&family=Space+Grotesk:wght@300..700&display=swap');

:root {
  --primary-color: rgb(39 161 77);
  --accent-color: #3498db;
  --bg-color: #f8f9fa;
  --text-color: #333333;
  --border-color: #e0e0e0;
}

*,
*::before,
*::after {
  font-family: "Mulish", sans-serif;
  line-height: 1.65;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* Шапка (у потоці документа, без фіксації/липкості) */
.header {
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 40;
  overflow: visible;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 96px;
  width: 140px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 16px;
}

.nav a {
  position: relative;
  padding: 4px 0;
  text-wrap: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after {
  width: 100%;
}

.phone-social-container {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.email-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}

.email-header__icon {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.location-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}



.location-header__icon {
  height: 30px;
  width: auto;
  opacity: 0.6;
}

.social-header {
  display: flex;
  gap: 12px;
}

.social-header a{
  margin: auto;
}

.social-header img {
  width: 30px;
  max-width: 30px;
  min-width: 30px;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--primary-color);
  font-size: 14px;
  position: relative;
  background: #fff;
  overflow: visible;
}

.search input {
  border: none;
  outline: none;
  font-size: 14px;
  min-width: 180px;
}

.search-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background-color: var(--primary-color);
  transform: rotate(45deg);
  border-radius: 2px;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid #d6e4d9;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-suggest[hidden] {
  display: none !important;
}

.search-suggest__item {
  width: 100%;
  border: none;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}

.search-suggest__item:hover,
.search-suggest__item:focus-visible {
  background: #fff;
  outline: none;
  box-shadow: inset 0 0 0 1px #d8e5db;
}

.search-suggest__thumb {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #dce9df;
  flex: 0 0 24px;
}

.search-suggest__name {
  font-size: 13px;
  color: #2f2f2f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-header-text {
  text-wrap: nowrap;
}

.time-header__icon {
  width: 30px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.phone-header__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

.phone-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-header-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #4f4f4f;
  white-space: nowrap;
}

.section-heading-italic {
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  color: #4f4f4f;
  text-align: center;
  margin: 64px auto 36px;
  border-bottom: 2px solid #27a14d;
  width: fit-content;
}


/* Первая секция (герой) */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fdfdfd 0%, #f7fff8 100%);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 64px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  height: 100%;
  flex-grow: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 50%;
  object-fit: contain;
}

.hero-content {
  position: relative;
  max-width: 450px;
  z-index: 2;
  text-align: center;
  background-color: var(--primary-color);
  padding: 0 20px 20px 20px;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Анимированные следы на фоне */
.hero-footprint {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

.hero-title {
  font-size: 32px;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

.hero-title-part1 {
  font-weight: 200;
  font-size: 24px;
  font-style: italic;
  display: block;
}

.hero-subtitle {
  font-size: 16px;
  max-width: 366px;
  margin: 48px 0;
}

.btn-primary {
  display: inline-flex;
  width: calc(100% - 40px);
  max-width: 366px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  background: #ffffff;
  color: #27a04d;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0px) scale(0.95);
}

/* Секция преимуществ */

.advantages-section {
  padding: 30px 20px 5px;
}

.advantages-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.advantages-layout__viewport {
  overflow: visible;
  width: 100%;
}

.advantages-layout__grid {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-around;
}

.advantages-grid-element {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.advantages-carousel__arrow {
  display: none;
}

.feedback-section {
  position: relative;
  width: 100%;
  background-color: #27a04d;
  overflow: hidden;
  padding: 80px 20px;
  box-sizing: border-box;
  margin: 64px 0 0 0;
}

/* Декоративные полупрозрачные круги */
.feedback-section::before,
.feedback-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: rgb(54 224 107);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.feedback-section::before {
  width: 50vw;
  height: 50vw;
  top: -20vw;
  left: -10vw;
}

.feedback-section::after {
  width: 40vw;
  height: 40vw;
  bottom: -15vw;
  right: -10vw;
}

.feedback-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.feedback-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.5;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.apm-client-name {
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #cdddcf;
  font: inherit;
  box-sizing: border-box;
  height: 54px;
}

.apm-submit-btn {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  height: 54px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 0 10px 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  color: #1e7c3b;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

/* Пример использования класса из AppointmentsModal.css */
.feedback-form .apm-client-name {
  width: 100%;
  box-sizing: border-box;
}

.feedback-message {
  margin-top: 15px;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .advantages-layout {
    max-width: 420px;
    padding: 0;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
    align-items: center;
  }

  .advantages-layout__viewport {
    overflow: hidden;
  }

  .advantages-layout__grid {
    justify-content: flex-start;
    transition: transform 0.3s ease;
  }

  .advantages-grid-element {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .advantages-carousel__arrow {
    display: block;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #4f4f4f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transform: scale(0.5, 3);
    padding: 0;
  }

  .advantages-carousel__arrow:hover {
    opacity: 0.75;
  }

  .advantages-carousel__arrow:active {
    transform: scale(0.4, 2.5);
  }
}

.advantages-grid__icon {
  height: 80px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(51%) sepia(30%) saturate(1009%) hue-rotate(86deg) brightness(94%) contrast(92%);
}

.advantages-grid__title {
  margin: 16px 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #4f4f4f;
}

.advantages-grid__text {
  width: 200px;
  max-width: 100%;
  text-align: center;
  font-size: 14px;
  color: #4f4f4f;
  margin: 6px;
}

/* Секция категорий услуг */
.services-category-section {
  padding: 30px 20px;
}

.services-category-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.services-category-item {
  display: flex;
  align-items: center;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0px 20px 10px 20px #ffffff;
  border-radius: 23px;
}

.services-category-item-content {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
}

.services-category-item:nth-child(1){
  background: url(image/main-image/services_1.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(2){
  background: url(image/main-image/services_2.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(3){
  background: url(image/main-image/services_3.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(4){
  background: url(image/main-image/services_4.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(5){
  background: url(image/main-image/services_5.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(6){
  background: url(image/main-image/services_6.png);
  background-size: cover;
  background-position: center;
}
.services-category-item:nth-child(7){
  background: url(image/main-image/services_7.png);
  background-size: cover;
  background-position: center;
}

.services-category-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.services-category-item img {
  width: 245px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.services-category-item__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: stretch;
  justify-content: space-around;
  min-width: 0;
}

.services-category-name {
  display: flex;
  gap: 8px;
}

.services-category-item__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #4f4f4f;
}

.services-category-item__desc {
  margin: 0;
  font-size: 16px;
  color: #4f4f4f;
}

.services-category-item__more {
  font-size: 16px;
  color: #4f4f4f;
  font-style: italic;
  border-bottom: 1px dotted #4f4f4f;
  width: fit-content;
}

/* Секция о специалисте (вторая секция) */
.section {
  padding: 15px 0px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Секция услуг */
.services-section {
  background-color: #fff;
}

.services-inner {
  padding: 0 20px;
}

.services-content {
  border: 1px solid #27a14d;
  border-radius: 24px;
  padding: 30px;
  text-align: center;
}

.services-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #27a04d;
}

.services-title {
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  color: #4f4f4f;
}

.services-description {
  margin: 0 auto 24px;
  max-width: 90%;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.services-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px 40px;
  align-items: start;
  width: 100%;
}

.services-layout__grid-wrap {
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.services-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  margin: auto;
  margin-left: auto;
  margin-right: auto;
}

.services-cta__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4f4f4f;
}

.btn-services-all {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--primary-color);
  background-color: #ffffff;
  color: var(--primary-color);
  font-size: 16px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.btn-services-all:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-services-all:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  column-gap: 20px;
  row-gap: 18px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  align-items: center;
}

.services-grid__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  justify-self: right;
}

.services-grid__text {
  margin: 0;
  text-align: left;
  line-height: 1.45;
}


.about-card {
  background: #ffffff;
  border-radius: 24px 24px 24px 0;
  padding: 24px 28px;
  font-size: 16px;
  line-height: 1.6;
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* position: relative; */
  /* left: -24px; */
  right: -4%;
  top: 5%;
  width: 48%;
}

.about-card::before {
  content: "";
  /*position: absolute;
  bottom: 0;
  left: -63px;
  width: 64px;
  height: 48px;
  background: #ffffff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);*/
}

.about-card .btn-primary {
  margin-top: 16px;
  color: #ffffff;
  background: #27a04d;
}

/* Секция контактов */
.contacts-section {
  background: #ffffff;
}

.contacts-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 32px;
    font-weight: 400;
    font-style: italic;
    color: #4f4f4f;
}

.contacts-subtitle {
  text-align: center;
  margin-bottom: 28px;
  color: #555;
}

.contacts-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  width: 180px;
  padding: 18px 16px 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.contact-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-label {
  font-size: 14px;
  color: var(--primary-color);
}

.contact-text {
  font-size: 13px;
  color: #555;
  text-align: center;
}

.contact-text p {
  margin: 0;
}

.contact-text p + p {
  margin-top: 4px;
}

#about,
#contacts {
  scroll-margin-top: 72px;
}

.contacts-map {
  margin-top: 32px;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dbeadf;
  line-height: 0;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: min(400px, 70vw);
  min-height: 260px;
  border: 0;
}

/* Страница прайса */
.price-page {
  background: #f7f7f7;
}

.price-section {
  padding: 44px 0 56px;
}

.price-inner {
  padding: 0 20px;
}

.price-title {
  margin: 0 0 26px;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.08;
  text-align: center;
}

.service-carousel {
  max-width: 800px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.service-carousel__arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #c9ddcd;
  background: #fff;
  color: #2d2d2d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.service-carousel__arrow:disabled {
  cursor: default;
  opacity: 0.45;
}

.service-carousel__viewport {
  overflow: hidden;
}

.service-carousel__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 2px;
}

.service-carousel__track::-webkit-scrollbar {
  display: none;
}

.service-filter-btn {
  border: 1px solid #d4e4d7;
  border-radius: 999px;
  background: #fff;
  color: #2f2f2f;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-filter-btn:hover {
  border-color: #8ec69b;
}

.service-filter-btn.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.services-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 18px;
}

.services-cards-grid__status {
  grid-column: 1 / -1;
  text-align: center;
  color: #606060;
  padding: 24px 12px;
}

/* Стили аккордеона */
.accordion {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  border-radius: 12px;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(0deg, #eefcf2, transparent);
  border: none;
  outline: none;
  padding: 18px 20px;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  color: #4f4f4f;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #fdfdfd;
}

.accordion-header span h4 {
  display: inline-block;
  color: #4f4f4f;
  font-weight: 600;
}

/* Иконка стрелочки */
.accordion-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
}

.accordion-item.is-active .accordion-icon {
  transform: rotate(-135deg);
}

/* Анимация плавного раскрытия через max-height */
.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background-color: #ffffff;
}

.accordion-body {
  padding: 20px 20px 20px 20px;
  color: #4f4f4f;
  font-size: 16px;
}

.accordion-body p {
  margin-top: 0;
  margin-bottom: 10px;
}

.accordion-body ul {
  margin: 0 0 10px 0;
  padding-left: 20px;
}

/* Простой футер */
.footer {
  font-size: 13px;
  color: rgb(79, 79, 79);
  text-align: center;
  background: #ffffff;
}

.footer-main-blok {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  padding: 36px 20px;
}

.footer-corp-label {
  width: 100%;
  padding: 12px;
  background-color: #797979;
  color: #fff;
}

/* Вспомогательные секции для других страниц */
.simple-hero {
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #fdfdfd 0%, #f2fff6 100%);
}

.simple-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.simple-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.simple-hero p {
  max-width: 640px;
  font-size: 16px;
  color: #444;
}

.about-grid--me {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-grid__photo {
  position: relative;
  width: 100%;
  display: flex;
  margin-top: 24px;
}

.about-grid__photo-img {
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 600px;
  object-position: 25% 50%;
  border-radius: 24px;
}

.about-grid__photo-img-container {
  position: relative;
  width: 47%;
  box-shadow: 2px 2px 0 1px #49be6e;
  border-radius: 24px;
}

.about-grid__photo-img-container::before {
  content: "";
  display: block;
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100%;
  height: 100%;
  /* background-color: #27a04d; */
  border: 3px solid #27a04d;
  border-radius: 20px;
  z-index: -1;
}

.about-me-text-list li {
  position: relative;
  list-style: none;
}

.about-me-text-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -24px;
  display: block;
  width: 12px;
  height: 12px;
  background: #27a04d;
  border-radius: 50%;
}

/* Адаптивность */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 24px;
  }

}

@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 10px 0 16px 0;
  }

  .nav {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
  }

  .search {
    display: none;
  }
  

  .phone-header-text p {
    font-size: 13px;
    white-space: normal;
  }

  .section-heading-italic {
    font-size: 28px;
  }

  .services-category-item {
    flex: 1 1 100%;
    max-width: 100%;

  }

  .services-category-item-content {
    flex-direction: column;
  }

  .services-content {
    padding: 22px 16px;
  }

  .services-title {
    font-size: 28px;
  }

  .contact-card {
    width: 150px;
  }

  .service-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .service-carousel__arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .services-category-list {
    padding: 0 12px;
  }

  .accordion {
    padding: 0 12px;
  }

  .section {
    padding: 12px 0px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .advantages-section {
    margin: 20px 0 -20px;
  }

}


@media (max-width: 480px) {
  .price-section {
    padding: 24px 0 36px;
  }



  .phone-social-container {
    flex-wrap: wrap;
  }

  .location-header { 
    width: 100%;
  }

  .hero-title-part1 {
    font-size: 24px;
  }

  .hero-title-part2 {
    font-size: 28px;
  }

  .hero-subtitle {
    margin: 36px 0 38px;
  }

  .hero-inner {
    padding: 0;
    gap: 0px;
    margin: 0;
  }

  .hero-photo {
    height: 400px;
  }

  .hero-background {
    height: 75%;
  }

  .hero-content {
    max-width: 480px;
    width: 100%;
    padding: 25px 20px 35px;
  }

  .services-category-item:nth-child(5) .services-category-item__title{
    font-size: 16px;
  }

  .services-category-item:nth-child(7) .services-category-item__title{
    font-size: 16px;
  }

  .services-category-item:nth-child(7) span.services-category-item__title{
    text-wrap: nowrap;
  }

  .services-category-item img {
    width: 100%;
    height: auto;
  }

  .services-category-item__text {
    text-align: center;
    align-items: center;
  }

  .services-description {
    text-align: justify;
  }

  .about-card {
    position: static;
    width: fit-content;
    padding: 12px 24px 20px;
    border-radius: 24px;
    margin: auto;
  }

  .about-card::before {
    clip-path: polygon(0 100%, 33% 0, 100% 100%);
    top: -46px;
    left: 122px;
  }


  .about-grid__photo {
    width: 100%;
    flex-direction: column;
  }

  .about-grid__photo-img{
    height: 60vh;
    object-fit: cover;
  }

  .about-grid__photo-img-container {
    width: calc(100% - 40px);
    left: 26px;
  }

  .about-grid__photo-img-container::before {
    top: -18px;
    left: -12px;
  }

  .about-card {
    position: static;
    width: 100%;
    padding: 12px 24px 20px;
    border-radius: 24px;
    margin: 0 auto -60px;
  }

  .service-carousel {
    margin: 0 auto 24px;
  }

  .footer-main-blok{
    gap: 24px;
  }

  .footer-main-blok .logo img {
    height: auto;
    width: 96px;
  }

}

