/* Общие настройки */


@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --purple-900: #46315E;
  --purple-700: #604280;
  --purple-600: #75519C;
  --purple-500: #8B68B1;
  --purple-300: #C6B5D9;
  --purple-100: #E8E1EF;
  --purple-50: #F5F2F8;
  --yellow-500: #FDCD63;
  --yellow-600: #FCBC2F;
  --yellow-700: #E59D00;
  --yellow-100: #FEFAF1;
  --primary-color: #75519C;
  --accent-color: #FCBC2F;
  --bg-color: #F5F2F8;
  --text-color: #1F2933;
  --text-soft: #5B6472;
  --border-color: #E7E1FB;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(96, 66, 128, 0.18);
}

*,
*::before,
*::after {
  line-height: 1.65;
  box-sizing: border-box;
}

h1, h2, h3, h4,
.section-heading-italic,
.hero-title,
.price-title,
.contacts-title,
.accordion-header {
  font-family: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  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;
  width: 100%;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* Шапка (у потоці документа, без фіксації/липкості) */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  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: 100px;
  width: auto;
  max-width: 260px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 4px 0;
  text-wrap: nowrap;
}

.nav a:hover {
  color: var(--purple-700);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2.7px;
  background-color: var(--yellow-600);
  border-radius: 2px;
  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.85;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1400%) hue-rotate(230deg) brightness(92%) contrast(88%);
}

.location-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
}



.location-header__icon {
  height: 30px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1400%) hue-rotate(230deg) brightness(92%) contrast(88%);
}

.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(--purple-300);
  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(--purple-600);
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background-color: var(--purple-600);
  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 var(--border-color);
  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 var(--purple-300);
}

.search-suggest__thumb {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  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;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1400%) hue-rotate(230deg) brightness(92%) contrast(88%);
}

.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.85;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1400%) hue-rotate(230deg) brightness(92%) contrast(88%);
}

.phone-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-header-text address {
  font-style: italic;
}

.phone-header-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-soft);
  white-space: nowrap;
}

.section-heading-italic {
  font-size: 26px;
  font-weight: 700;
  font-style: normal;
  color: var(--purple-700);
  text-align: center;
  margin: 64px auto 36px;
  border-bottom: 3px solid var(--purple-500);
  width: fit-content;
  padding-bottom: 14px;
}


/* Первая секция (герой) */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 0.58fr 0.42fr;
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: 620px;
  flex-grow: 1;
}

.hero-background {
  position: relative;
  overflow: hidden;
  background: #fff;
  z-index: 1;
}

.hero-photo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f3f8, #ece6fb);
  min-height: 620px;
}

.hero-photo img {
  position: relative;
  z-index: 2;
  width: 500px;
  height: 500px;
  max-width: 86%;
  max-height: 86%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 12px solid #fff;
  box-shadow: 0 25px 60px -18px rgba(70, 49, 94, 0.4);
  background: none;
}

.hero-content {
  position: relative;
  max-width: none;
  z-index: 2;
  text-align: center;
  background-color: var(--purple-700);
  padding: 60px 40px;
  height: 100%;
  min-height: 620px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Анимированные круги на фоне героя */
.hero-footprint {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin: 0;
}

.hero-title-part1 {
  font-weight: 400;
  font-size: 19px;
  font-style: italic;
  display: block;
  opacity: 0.9;
  font-family: "Manrope", "Segoe UI", sans-serif;
  margin-bottom: 8px;
}

.hero-title-part2 {
  display: block;
}

.hero-subtitle {
  font-size: 16px;
  max-width: none;
  width: 100%;
  margin: 0;
  opacity: 0.95;
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  background: var(--yellow-600);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.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: auto;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  overflow: hidden;
  padding: 60px 32px;
  box-sizing: border-box;
  margin: 40px 24px;
  border-radius: 28px;
}

/* Декоративные полупрозрачные круги */
.feedback-section::before,
.feedback-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: var(--purple-300);
  opacity: 0.28;
  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: 22px;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 26px;
  max-width: 640px;
  line-height: 1.5;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
  margin: 0 auto;
}

.apm-client-name {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  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: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: var(--yellow-600);
  color: #fff;
  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-section {
    margin: 20px 0 -20px;
  }

  .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: 84px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(32%) sepia(18%) saturate(1400%) hue-rotate(230deg) brightness(92%) contrast(88%);
}

.advantages-grid__title {
  margin: 16px 0 4px 0;
  font-size: 16px;
  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%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
  border-radius: 22px;
}

.services-category-item-content {
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  height: 100%;
  padding: 16px;
  backdrop-filter: none;
  background: transparent;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}

.services-category-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 22px;
  background:
    radial-gradient(80% 100% at 85% 15%, rgba(198, 181, 217, 0.55), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgba(237, 233, 254, 0.9), transparent 65%),
    linear-gradient(135deg, #ffffff, #faf8ff);
  opacity: 0.9;
  transition: opacity 0.35s ease;
}

.services-category-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 22px;
  background:
    radial-gradient(80% 100% at 85% 15%, rgba(253, 205, 99, 0.45), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgba(254, 250, 241, 0.9), transparent 65%),
    linear-gradient(135deg, #ffffff, #fffaf0);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.services-category-item:nth-child(1),
.services-category-item:nth-child(2),
.services-category-item:nth-child(3),
.services-category-item:nth-child(4),
.services-category-item:nth-child(5),
.services-category-item:nth-child(6),
.services-category-item:nth-child(7) {
  background: none;
}

.services-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px -22px rgba(252, 188, 47, 0.4);
}

.services-category-item:hover::before {
  opacity: 0;
}

.services-category-item:hover::after {
  opacity: 1;
  transform: scale(1.04);
}

.services-category-item img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.services-category-item:hover img {
  transform: scale(1.08);
}

.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: var(--text-color);
}

.services-category-item__desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.services-category-item__more {
  font-size: 14px;
  color: var(--purple-600);
  font-style: normal;
  font-weight: 600;
  border-bottom: none;
  width: fit-content;
}

.services-category-item:hover .services-category-item__more {
  text-decoration: underline;
}

/* Секция о специалисте (вторая секция) */
.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 var(--purple-300);
  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: var(--purple-600);
}

.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: var(--yellow-600);
}

/* Секция контактов */
.contacts-section {
  background: #ffffff;
}

.contacts-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 700;
  font-style: normal;
  color: var(--purple-700);
}

.contacts-subtitle {
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-soft);
}

.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: var(--text-soft);
  text-align: center;
}

.contact-text p {
  margin: 0;
}

.contact-text p + p {
  margin-top: 4px;
}

#about {
  background: var(--purple-50);
  position: relative;
  overflow: hidden;
}

#about::before,
#about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#about::before {
  width: 480px;
  height: 480px;
  background: var(--purple-300);
  opacity: 0.28;
  right: -180px;
  top: -160px;
}

#about::after {
  width: 300px;
  height: 300px;
  background: var(--yellow-500);
  opacity: 0.25;
  left: -90px;
  bottom: -120px;
}

#about .section-inner,
#about .about-grid {
  position: relative;
  z-index: 1;
}

#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 var(--border-color);
  line-height: 0;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: min(400px, 70vw);
  min-height: 260px;
  border: 0;
}

/* Страница прайса */
.price-page {
  background: var(--purple-50);
}

.price-section {
  padding: 44px 0 56px;
}

.price-inner {
  padding: 0 20px;
}

.price-title {
  margin: 0 0 26px;
  font-size: clamp(24px, 4vw, 28px);
  line-height: 1.08;
  text-align: center;
  color: var(--purple-700);
  font-weight: 700;
}

.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 var(--purple-300);
  background: #fff;
  color: var(--purple-700);
  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 var(--purple-300);
  border-radius: 999px;
  background: #fff;
  color: var(--purple-700);
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-filter-btn:hover {
  border-color: var(--purple-500);
}

.service-filter-btn.is-active {
  background: var(--purple-600);
  border-color: var(--purple-600);
  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: none;
  border-radius: 12px;
  background: var(--purple-50);
  margin-bottom: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
  transform: scale(1.015) translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(96, 66, 128, 0.3);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  border-radius: 12px;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 22px;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
  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: transparent;
}

.accordion-header span h4 {
  display: inline-block;
  color: var(--text-color);
  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: 0 22px 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.accordion-body p {
  margin-top: 0;
  margin-bottom: 10px;
}

.accordion-body ul {
  margin: 0 0 10px 0;
  padding-left: 20px;
}

.faq-price-link {
  color: var(--purple-600);
  font-weight: 600;
}

/* Простой футер */
.footer {
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
  background: #ffffff;
}

.footer-main-blok {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  padding: 36px 20px;
  border-top: 1px solid var(--border-color);
}

.footer-corp-label {
  width: 100%;
  padding: 16px;
  background-color: var(--purple-50);
  color: var(--text-soft);
  margin: 0;
}

/* Вспомогательные секции для других страниц */
.simple-hero {
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #fdfdfd 0%, var(--purple-50) 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 var(--purple-300);
  border-radius: 24px;
}

.about-grid__photo-img-container::before {
  content: "";
  display: block;
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100%;
  height: 100%;
  /* background-color: var(--purple-600); */
  border: 3px solid var(--purple-600);
  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: var(--purple-600);
  border-radius: 50%;
}

/* Адаптивность — брейкпоинт как в demo.html */
@media (max-width: 860px) {
  .hero,
  .hero-inner,
  .hero-photo,
  .hero-content {
    min-height: unset;
    height: auto;
  }

  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 0;
    gap: 0;
    margin: 0;
  }

  .hero-background {
    display: none;
  }

  .hero-photo {
    min-height: 220px;
    padding: 24px 0;
  }

  .hero-photo img {
    width: 170px;
    height: 170px;
    max-width: 70vw;
    max-height: 70vw;
    border-width: 6px;
  }

  .hero-photo .hero-footprint {
    width: 280px !important;
    height: 280px !important;
  }

  .hero-content {
    padding: 40px 20px;
    max-width: none;
    width: 100%;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-title-part1 {
    font-size: 16px;
  }

  .hero-title-part2 {
    font-size: 26px;
  }

  .hero-subtitle {
    margin: 0;
    font-size: 15px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 14px 20px;
  }

  .header-inner {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 16px;
  }

  .logo img {
    height: 100px;
    width: auto;
    max-width: min(220px, 80vw);
    object-position: center;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
  }

  .nav a {
    text-wrap: wrap;
    white-space: nowrap;
  }

  .phone-social-container {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    margin-left: 0;
    width: 100%;
  }

  .location-header,
  .phone-header,
  .email-header,
  .time-header {
    justify-content: center;
  }

  .location-header__icon,
  .phone-header__icon,
  .email-header__icon,
  .time-header__icon {
    width: 16px;
    height: 16px;
  }

  .phone-header-text p {
    font-size: 14px;
    white-space: normal;
  }

  .social-header {
    gap: 10px;
  }

  .social-header img {
    width: 24px;
    max-width: 24px;
    min-width: 24px;
  }

  .section-heading-italic {
    font-size: 22px;
    margin: 40px auto 28px;
    max-width: calc(100% - 32px);
  }

  .services-category-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .services-category-item-content {
    flex-direction: column;
  }

  .services-category-item img {
    width: 100%;
    height: 180px;
  }

  .services-category-name {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-category-item__text {
    text-align: center;
    align-items: center;
  }

  .services-category-list {
    padding: 0 12px;
  }

  .services-content {
    padding: 22px 16px;
  }

  .services-title {
    font-size: 24px;
  }

  .contact-card {
    width: 150px;
  }

  .service-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .service-carousel__arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .service-filter-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .accordion {
    padding: 0 12px;
  }

  .accordion-header {
    padding: 16px;
    text-align: left;
    gap: 8px;
  }

  .accordion-header span h4 {
    font-size: 15px;
    text-align: left;
  }

  .accordion-item:hover {
    transform: none;
    box-shadow: none;
  }

  .section {
    padding: 12px 0;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .price-inner {
    padding: 0 16px;
  }

  .price-title {
    font-size: 22px;
    padding: 0 8px;
  }

  .price-section {
    padding: 28px 0 40px;
  }

  .feedback-section {
    padding: 40px 20px;
    margin: 32px 16px;
  }

  .feedback-title {
    font-size: 18px;
  }

  .feedback-form {
    max-width: 280px;
  }

  .about-grid--me {
    flex-direction: column;
  }

  .about-grid__photo {
    width: 100%;
    flex-direction: column;
  }

  .about-grid__photo-img-container {
    width: calc(100% - 40px);
    left: 20px;
  }

  .about-grid__photo-img-container::before {
    top: -18px;
    left: -12px;
  }

  .about-grid__photo-img {
    height: 360px;
  }

  .about-card {
    position: static;
    width: 100%;
    padding: 12px 20px 20px;
    border-radius: 24px;
    margin: 12px auto 0;
  }

  .footer-main-blok {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 16px;
  }

  .footer-main-blok .logo img {
    height: 75px;
    width: auto;
    max-width: 220px;
  }

  #about::before,
  #about::after {
    width: 240px;
    height: 240px;
  }

  .contacts-map {
    margin-left: 12px;
    margin-right: 12px;
    width: auto;
  }
}

@media (max-width: 700px) {
  .search {
    display: none;
  }
}

@media (max-width: 480px) {
  .price-section {
    padding: 24px 0 36px;
  }

  .location-header {
    width: 100%;
  }

  .hero-photo {
    min-height: 200px;
    padding: 20px 0;
  }

  .hero-content {
    padding: 32px 16px 36px;
  }

  .hero-title,
  .hero-title-part2 {
    font-size: 24px;
  }

  .services-category-item:nth-child(5) .services-category-item__title,
  .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 {
    height: 180px;
  }

  .services-description {
    text-align: justify;
  }

  .about-grid__photo-img {
    height: 50vh;
  }

  .about-card {
    margin: 12px auto 0;
  }
}

