

:root {
  --max-width: 1280px;
  --gap: 1rem;
  --padding: 1.5rem;
  --border-radius: 60px;
  --primary-color: #3498db;
  --text-color: #333;
  --white: #fff;
  --black: #000;
  --overlay: rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
  
  /* Типографика */
  --font-primary: 'Inter', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-secondary: 'Inter', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-loose: 1.8;
  --letter-spacing-tight: -0.5px;
  --letter-spacing-normal: 0;
  --letter-spacing-loose: 0.5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  width: 100%;
}





/* ============ NAVBAR BASE ============ */
.nav {
  width: 100%;
  padding: 0 var(--padding);
  position: fixed;
  top: 2rem;
  left: 0;
  z-index: 100;
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__left a {
  height: 35px;
}

.nav__logo {
  height: 35px;
  margin-right: auto;
  transition: var(--transition);
}

.nav__content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav__menu li {
  padding: 0;
  border-bottom: none;
}

.nav__menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-tight);
  transition: var(--transition);
}

.nav__menu a:hover {
  color: var(--primary-color);
}

/* ============ PHONE ============ */
.nav__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav__phone:hover {
  color: var(--primary-color);
}

.nav__phone i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

/* ============ SEARCH ============ */
.nav__search {
  display: flex;
  align-items: center;
  position: relative;
}

.nav__search-icon {
  position: absolute;
  left: 10px;
  color: var(--primary-color);
  font-size: 0.9rem;
  z-index: 1;
}

.nav__search-input {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 0.4rem 0.8rem 0.4rem 2rem;
  font-size: 0.85rem;
  width: 220px;
  transition: var(--transition);
}

.nav__search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* ============ BURGER BUTTON ============ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  margin-left: auto;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============ ACTIVE STATES ============ */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--white);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-5px);
  background: var(--white);
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--white);
}

.nav__content.active {
  right: 0;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(3px);
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ============ MEDIA QUERIES ============ */

/* ≤ 992px */
@media (max-width: 992px) {
  .nav__container {
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
  }

  .nav__phone {
    font-size: 0.8rem;
  }

  .nav__search-input {
    width: 180px;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .nav {
    top: 1rem;
  }

  .nav__container {
    position: relative;
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
  }

  .nav__left a {
    height: 30px;
  }

  .nav__logo {
    height: 30px;
  }

  .nav__phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    width: 20px;
    height: 16px;
  }

  .burger-line {
    height: 2px;
  }

  .nav__content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(to bottom right, #0e68cb, rgba(14, 174, 203, 1) 50%, #0e68cb);
    color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }

  .nav__search {
    margin-top: 1rem;
    align-self: center;
  }

  .nav__search-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
  }

  .nav__menu {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .nav__menu a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    color: var(--white);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-normal);
    transition: all 0.3s ease;
  }

  .nav__menu a:hover {
    opacity: 0.8;
    transform: translateX(5px);
  }

  .nav__phone {
    display: flex;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .nav__phone i {
    color: var(--white);
  }
}

/* ≤ 576px */
@media (max-width: 576px) {
  .burger-line {
    height: 2px;
  }

  .mobile-menu-toggle {
    width: 18px;
    height: 14px;
  }

  .nav__logo {
    height: 25px;
  }

  .nav__content {
    padding: 70px 25px 25px;
    max-width: 240px;
  }

  .nav__left a {
    height: 25px;
  }

  .nav__search-input {
    width: 120px;
  }

  .mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}




.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding);
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: url('/wp-content/themes/opmu209/images/bg.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  padding-top: 60px; /* Отступ для навигационной панели */
  height: 500px;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Более темный оверлей для лучшей читаемости текста */
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero__wave-svg {
  width: 100%;
  height: auto;
  display: block;
}



.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
  padding-left: var(--padding);
  padding-right: var(--padding);
  width: 100%;
  max-width: 100%;
}

.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero__inner {
  max-width: 500px;
  width: 100%;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.hero__divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  margin-bottom: 2rem;
  max-width: 600px;
  width: 100%;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-normal);
  word-wrap: break-word;
}

.hero__button {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  text-decoration: none; 
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: var(--transition);
}

.hero__button:hover {
  background-color: #2980b9; /* Немного темнее при наведении */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@media (max-width: 1440px) {
  .hero {
    padding-top: 100px;
    height: 500px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
}


@media (max-width: 768px) {
  .hero {
    height: 290px;
    padding-top: 50px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
    background-position: center 40%;
  }

  .hero__inner {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero__title {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    margin-bottom: 0.3rem;
    display: none;
  }

  .hero__description {
    margin-bottom: 1rem;
  }
  
  .hero__subtitle {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    margin-bottom: 1rem;
    max-width: 450px;
  }
  
  .hero__button {
    padding: 0.6rem 1.4rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 475px) {
  .hero {
    height: 230px;
    padding-top: 20px;
  }

  .hero__content {
    padding-top: 60px;
    justify-content: flex-start;
  }

  .hero__title {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin-bottom: 0.6rem;
    display: none;
  }
  
  .hero__description {
    margin-bottom: 0.6rem;
    
  }
  
  .hero__button {
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    max-width: 100px;
  }
}

@media (max-width: 425px) {
  .hero {
    height: 180px;
    padding-top: 0px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-size: cover;
    background-position: center 25%;
  }
  
  .hero__content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    justify-content: flex-start;
    padding-top: 80px;
  }
  
  .hero__inner {
    max-width: 100%;
  }
  
  .hero__title {
    font-size: clamp(0.9rem, 2.8vw, 1.3rem);
    margin-bottom: 0.3rem;
    line-height: 1.1;
  }
  
  .hero__description {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
    max-width: 100%;
  }
  
  .hero__subtitle {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    max-width: 100%;
    display: none;
  }
  
  .hero__button {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    width: auto;
    max-width: 130px;
  }
}



@media (max-width: 375px) {
  .hero {
    height: 170px;
    max-height: 50vh;
    background-size: cover;
    background-position: top center;
  }

  .hero__content {
    padding-top: 75px;
  }

  .hero__title {
    margin-bottom: 0.2rem;
    font-size: clamp(0.85rem, 2.6vw, 1.2rem);
  }
  
  .hero__description {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }
  
  .hero__button {
    padding: 0.35rem 0.9rem;
    font-size: 0.65rem;
    max-width: 120px;
  }
}
@media (max-width: 320px) {
  .hero {
    height: 150px;
    max-height: 50vh;
    padding-top: 0;
    background-size: cover;
    background-position: top center;
  }
  
  .hero__content {
    padding-top: 75px;
  }
  
  .hero__inner {
    margin-top: 0;
  }
  
  .hero__button {
    max-width: 110px;
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
  }
  
  .hero__title {
    margin-bottom: 0.15rem;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    line-height: 1.1;
  }
  
  .hero__description {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }
}

/* Секция О нас */
.about {
  padding: 40px 20px;
  background: #fff;
}

.about__content {
  display: flex;
  align-items: stretch; /* ВАЖНО: растягиваем блоки по высоте */
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about__text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: fadeInOpacity 1s ease forwards;
  animation-delay: 0.3s;
}


.about__title {
  font-size: 2rem; /* СТАЛО: уменьшил до нормального читаемого */
  color: #333;
  margin-bottom: 20px;
}

.about__divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color, #3498db);
  margin-bottom: 20px;
  border-radius: 2px;
}

.about__paragraph {
  font-size: 1rem; /* Оригинальный размер */
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.about__image {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: fadeInOpacity 1s ease forwards;
  animation-delay: 0.8s;
}


.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* чтобы картинка заполняла блок по высоте */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Анимация плавного появления */
@keyframes fadeInOpacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* Адаптивность */
@media (max-width: 992px) {
  .about__content {
    flex-direction: column;
    align-items: center;
  }

  .about__text, .about__image {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .about__image img {
    width: 100%;
    height: auto; /* на мобильных не нужно растягивать */
    object-fit: contain;
  }

  .about__title {
    font-size: 1.8rem;
  }

  .about__paragraph {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 10px 10px;
  }

  .about__title {
    font-size: 1.3rem;
  }

  .about__paragraph {
    font-size: 0.9rem;
  }
}







/* Секция специалистов */
/* .specialists {
  padding: 3rem 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

@media (max-width: 475px) {
  .specialists {
    padding: 1.5rem 0;
  }

}

.specialists__title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-secondary);
  letter-spacing: var(--letter-spacing-tight);
  text-transform: uppercase;
  text-align: center;
}


.specialists__slider-container {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 50px;
}

.specialists__slider-wrapper {
  overflow: hidden;
  margin: 0 auto;
}

.specialists__slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.specialists__card {
  flex: 0 0 calc(25% - 15px);
  min-width: 250px;
  transition: var(--transition);
}

.specialists__card-inner {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.specialists__card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.specialists__image-container {
  width: 100%;
  overflow: hidden;
}

.specialists__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.specialists__card-inner:hover .specialists__image {
  transform: scale(1.05);
}

.specialists__card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.specialists__name {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.specialists__specialty {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
}

.specialists__slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.specialists__slider-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.specialists__prev-button {
  left: 0;
}

.specialists__next-button {
  right: 0;
}

.specialists__footer {
  margin-top: 2.5rem;
  text-align: center;
}

.specialists__button {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.specialists__button:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .specialists__card {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 992px) {
  .specialists__card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .specialists {
    padding: 3rem 0;
  }
  
  .specialists__title {
    font-size: 1.75rem;
  }
  
  .specialists__slider-container {
    padding: 0 40px;
  }
}

@media (max-width: 576px) {
  .specialists__card {
    flex: 0 0 calc(100% - 0px);
  }
  
  .specialists__slider-container {
    padding: 0 30px;
  }
}

@media (max-width: 320px) {
  .specialists__slider-container {
    padding: 0 25px;
  }
  
  .specialists__card {
    min-width: 220px;
  }
  
  .specialists__slider-button {
    width: 30px;
    height: 30px;
  }
  
  .specialists__name {
    font-size: 1rem;
  }
  
  .specialists__specialty {
    font-size: 0.8rem;
  }
} */












.specialists__card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}/* Секция специалистов */
.specialists {
  padding: 3rem 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

@media (max-width: 480px) {
  .specialists {
    padding: 1.5rem 0;
  }
}

.specialists__slider-container {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 50px;
}

.specialists__slider-wrapper {
  overflow: hidden;
  margin: 0 auto;
}

.specialists__slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
  flex-wrap: nowrap; /* Запрещаем перенос строк */
}

.specialists__card {
  flex: 0 0 auto; /* Не растягиваем и не сжимаем */
  width: calc(25% - 22.5px); /* Фиксированная ширина */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.1);
  border: 2px solid rgba(33, 150, 243, 0.08);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.specialists__card:hover {

  box-shadow: 0 20px 50px rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.2);
}

.specialists__image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f8fbff, #e3f2fd);
}

.specialists__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  object-position: top;
}

.specialists__card:hover .specialists__image {
  transform: scale(1.05);
}

.specialists__card-content {
  padding: 25px;
  background: rgba(255, 255, 255, 0.95);
}

.specialists__name {
  font-size: 20px;
  font-weight: 700;
  color: #2196F3;
  margin-bottom: 8px;
  line-height: 1.3;
}

.specialists__specialty {
  font-size: 16px;
  color: #666;
  font-weight: 500;
  line-height: 1.4;
}

.specialists__slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.specialists__slider-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.specialists__prev-button {
  left: 0;
}

.specialists__next-button {
  right: 0;
}

.specialists__footer {
  margin-top: 2.5rem;
  text-align: center;
}

.specialists__button {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.specialists__button:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 14px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

/* Плавные анимации */
@keyframes fadeInWave {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeOutWave {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* Адаптивность */
@media (max-width: 1024px) {
  .specialists__card {
    width: 260px; /* 3 карточки в ряд */
  }
  
  .specialists__slider {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .specialists {
    padding: 3rem 0;
  }
  
  .specialists__slider-container {
    padding: 0 40px;
  }
  
  .specialists__card {
    width: 240px; /* 2 карточки в ряд */
  }
  
  .specialists__slider {
    gap: 20px;
  }
  
  .specialists__image-container {
    height: 250px;
  }
  
  .specialists__card-content {
    padding: 20px;
  }
  
  .specialists__name {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .specialists {
    padding: 1.5rem 0;
  }
  
  .specialists__slider-container {
    padding: 0 30px;
  }
  
  .specialists__card {
    width: 280px; /* 1 карточка в ряд */
  }
  
  .specialists__slider {
    gap: 20px;
  }
  
  .specialists__image-container {
    height: 280px;
  }
  
  .specialists__card-content {
    padding: 20px;
  }
  
  .specialists__name {
    font-size: 18px;
  }
  
  .specialists__specialty {
    font-size: 15px;
  }
  
  .specialists__slider-button {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 320px) {
  .specialists__slider-container {
    padding: 0 25px;
  }
  
  .specialists__card {
    width: 220px; /* Фиксированная ширина на очень маленьких экранах */
  }
  
  .specialists__slider-button {
    width: 30px;
    height: 30px;
  }
  
  .specialists__name {
    font-size: 1rem;
  }
  
  .specialists__specialty {
    font-size: 0.8rem;
  }
}

.hidden {
  display: none;
}























/* Секция услуг */
.services {
  padding: 3rem 0;
  background-color: var(--white);
  overflow: hidden;
}

@media (max-width: 475px) {
  .services {
    padding: 1.5rem 0;
  }

}

.services__title {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-secondary);
  letter-spacing: var(--letter-spacing-tight);
  text-transform: uppercase;
  text-align: center;
}


.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.services__card {
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.services__card-inner {
  background: linear-gradient(145deg, #ffffff, #f5f9fc);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05),
              0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(52, 152, 219, 0.05);
  position: relative;
  overflow: hidden;
}

.services__card-inner:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08),
              0 2px 6px rgba(52, 152, 219, 0.1);
  background: linear-gradient(145deg, #f8fbfe, #e8f4f8);
  border: 1px solid rgba(52, 152, 219, 0.1);
}

.services__icon-container {
  margin-bottom: 1rem;
  background: rgba(52, 152, 219, 0.05);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.services__icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.services__card-inner:hover .services__icon {
  transform: scale(1.2);
  color: #0087A3;
}

.services__card-inner:hover .services__icon-container {
  background: rgba(52, 152, 219, 0.1);
  transform: rotate(5deg);
}

.services__name {
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  line-height: 1.3;
}

.services__footer {
  margin-top: 2.5rem;
  text-align: center;
}

.services__button {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.services__button:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Убираем подчеркивания у ссылок в карточках услуг */
.services__card {
  text-decoration: none;
  color: inherit;
}

.services__card:hover {
  text-decoration: none;
  color: inherit;
}

.services__card:visited {
  text-decoration: none;
  color: inherit;
}

.services__card:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* Убираем подчеркивания у всех элементов внутри карточки */
.services__card * {
  text-decoration: none;
}

.services__name {
  color: var(--text-color);
}

.services__icon {
  color: var(--primary-color);
}

@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services {
    padding: 3rem 0;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .services__title {
    font-size: 1.75rem;
  }
  
  .services__name {
    font-size: 0.8rem;
  }
  
  .services__icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 320px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .services__card-inner {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .services__name {
    font-size: 0.7rem;
  }
  
  .services__icon {
    font-size: 1.1rem;
  }
  
  .services__icon-container {
    width: 50px;
    height: 50px;
  }
}




/* Стили для подвала */
.footer {
  background: linear-gradient(to bottom right, #0e68cb, rgba(14, 174, 203, 0.85) 50%, #0e68cb);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer__text {
  font-size: 0.9rem;
  line-height: var(--line-height-normal);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list-item {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer__link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer__icon {
  margin-right: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer__copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer__title {
    margin-bottom: 1rem;
  }
  
  .footer__column {
    margin-bottom: 0;
  }
}















/* Стили для страницы услуг */

/* Переменные цветов и стилей наследуются из основного файла styles.css */

/* Основные стили для секции услуг */
.services-section {
  padding: 30px 0;
}

/* Стили для поиска услуг */
.services-search {
  margin: 30px 0 40px;
  width: 100%;
}

.services-search__container {
  position: relative;
  /* max-width: 600px; */
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  overflow: hidden;
}


.services-search__icon {
  position: absolute;
  left: 20px;
  color: var(--primary-color);
  font-size: 18px;
}

.services-search__input {
  width: 100%;
  padding: 15px 50px 15px 50px;
  border: none;
  background: var(--white);
  font-size: 16px;
  color: var(--text-color);
  outline: none;
}

.services-search__input::placeholder {
  color: #95a5a6;
}

.services-search__clear {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: #7f8c8d;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.services-search__clear:hover {
  color: #e74c3c;
}

.services-search__info {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #7f8c8d;
}

.service-card.hidden {
  display: none;
}

.no-results-message {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #7f8c8d;
  background-color: #f8f9fa;
  border-radius: 10px;
  margin: 20px 0;
  display: none;
}

/* Анимации появления элементов */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Классы для анимаций */
.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.6s ease forwards;
}

.animate-zoom-in {
  opacity: 0;
  animation: zoomIn 0.6s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}



.services-section__title {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  color: var(--text-color);
  text-align: center;
}

.services-section__subtitle {
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card__icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: var(--primary-color);
  font-size: 48px;
}

.service-card__content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--text-color);
  margin-bottom: 10px;
}

.service-card__description {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 15px;
  flex-grow: 1;
}

.service-card__link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card__link:hover {
  color: #2980b9;
}



/* Адаптивность */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .services-section__title {
    font-size: 28px;
  }
  
  .services-section__subtitle {
    font-size: 22px;
  }

}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}








    /* Стили для новой секции с картой во всю ширину и филиалами поверх карты */
    .fullwidth-map-section {
      position: relative;
      width: 100%;
      margin-bottom: 0;
    }
    
    .fullwidth-map-container {
      position: relative;
      width: 100%;
      height: 600px;
    }
    
    .fullwidth-map {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
    
    .fullwidth-map iframe {
      width: 100%;
      height: 100%;
      display: block;
    }
    
    .overlay-branches-container {
      position: absolute;
      top: 50px;
      left: 50px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 350px;
    }
    
    .overlay-branch-card {
      background-color: rgba(255, 255, 255, 0.9);
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(5px);
      border-left: 4px solid var(--primary-color);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .overlay-branch-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .overlay-branch-title {
      font-size: 1.2rem;
      font-weight: var(--font-weight-bold);
      margin-bottom: 10px;
      color: var(--primary-color);
    }
    
    .overlay-branch-address {
      margin-bottom: 10px;
      color: #333;
      font-size: 0.95rem;
    }
    
    .overlay-branch-phone {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-color);
      text-decoration: none;
      font-weight: var(--font-weight-medium);
      font-size: 0.95rem;
    }
    
    .overlay-branch-phone i {
      color: var(--primary-color);
    }
    
    /* Адаптивные стили для мобильных устройств */
    @media (max-width: 992px) {
      .overlay-branches-container {
        left: 30px;
        max-width: 300px;
      }
    }
    
    @media (max-width: 768px) {
      .overlay-branches-container {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        padding: 20px;
        background-color: #f8f9fa;
      }
      
      .fullwidth-map-container {
        height: auto;
      }
      
      .fullwidth-map {
        position: relative;
        height: 400px;
      }
    }




/* Стили для секции с картой и боковой панелью */
.locations-map-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.locations-map-container {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

/* Стили для боковой панели с филиалами */
.locations-sidebar {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 500px;
  overflow-y: hidden;
  overflow-x: hidden;
  transition: overflow-x 0.3s ease;
  padding: 0.5rem 0;
}

.locations-sidebar:hover {
  overflow-x: hidden;
}

.location-sidebar-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid transparent;
  height: calc((500px - 3rem - 1rem) / 3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-sidebar-card:hover,
.location-sidebar-card.active {
  border-left-color: var(--primary-color);
  transform: translateX(5px);
  width: calc(100% - 5px);
}

.location-sidebar-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.location-sidebar-address {
  margin-bottom: 0.8rem;
  color: #666;
  font-size: 1rem;
}

.location-sidebar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.location-sidebar-phone i {
  color: var(--primary-color);
}

.location-show-on-map-btn {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.location-show-on-map-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Стили для контейнера карты */
.map-container {
  flex: 1;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 992px) {
  .locations-map-container {
    flex-direction: column;
  }
  
  .locations-sidebar {
    flex: 1;
    width: 100%;
    max-height: 400px;
    margin-bottom: 2rem;
  }
  
  .map-container {
    height: 400px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .locations-map-section {
    padding: 3rem 0;
  }
  
  .map-container {
    height: 300px;
  }
}




.locations {
  background-color: #f0f8fb;
  padding: 4rem 0;
  margin: 0 -1.5rem;
}

.locations-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.location-card {
  background-color: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.location-address {
  margin-bottom: 1rem;
  color: #666;
}

.location-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.location-phone i {
  color: var(--primary-color);
}

.cta-section {
  text-align: center;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f7fc 0%, #f0f8fb 100%);
}

/* Декоративные элементы по бокам для секции призыва */
.cta-section .decorative-image {
  position: absolute;
  width: 120px;
  height: auto;
  opacity: 0.7;
  z-index: 1;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out, filter 0.5s ease-out;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Левые элементы */
.cta-section .decorative-image--left-1 {
  left: 30px;
  top: 10%;
  transform: translateY(-50%) rotate(-5deg);
  width: 100px;
}

.cta-section .decorative-image--left-2 {
  left: 20px;
  top: 70%;
  transform: translateY(-50%) rotate(8deg) scale(0.8);
  width: 120px;
}

/* Правые элементы */
.cta-section .decorative-image--right-1 {
  right: 50px;
  top: 5%;
  transform: translateY(-50%) scaleX(-1) rotate(5deg);
  width: 80px;
}

.cta-section .decorative-image--right-2 {
  right: 20px;
  top: 65%;
  transform: translateY(-50%) scaleX(-1) rotate(-8deg) scale(0.8);
}

/* Анимация при скролле */
.cta-section.scrolled .decorative-image--left-1 {
  transform: translateY(-50%) rotate(-8deg) translateX(30px);
  opacity: 0.9;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
}

.cta-section.scrolled .decorative-image--left-2 {
  transform: translateY(-50%) rotate(12deg) scale(0.85) translateX(40px);
  opacity: 0.85;
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 1s ease 0.1s;
}

.cta-section.scrolled .decorative-image--right-1 {
  transform: translateY(-50%) scaleX(-1) rotate(8deg) translateX(-30px);
  opacity: 0.9;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.8s ease;
}

.cta-section.scrolled .decorative-image--right-2 {
  transform: translateY(-90%) scaleX(-1) rotate(-12deg) scale(0.85) translateX(-40px);
  opacity: 0.85;
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 1s ease 0.1s;
}

@media (max-width: 1400px) {
  .cta-section .decorative-image {
    width: 120px;
  }
}

@media (max-width: 1200px) {
  .cta-section .decorative-image--left-1,
  .cta-section .decorative-image--left-2 {
    left: -30px;
  }
  
  .cta-section .decorative-image--right-1,
  .cta-section .decorative-image--right-2 {
    right: -30px;
  }
}

@media (max-width: 992px) {
  .cta-section .decorative-image {
    display: none;
  }
}

.cta-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.3;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #666;
  line-height: var(--line-height-loose);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.cta-button--outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(14, 164, 203, 0.3);
}

.cta-button--outline:hover {
  background-color: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .about-page-hero .service-hero__title {
    font-size: 1.8rem;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .cta-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 15px;
  }
  
  .cta-buttons {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2.5rem 0;
  }
  
  .cta-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-description {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }
  
  .cta-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    width: 80%;
    max-width: 250px;
  }
}