@font-face {
 font-family: "GOST UI 2";
  font-style: normal;
  font-weight: 400; /* Regular */
  src: 
    local('GOST UI 2 Regular'),
    local('GOSTUI2-Regular'),
   url('/assets/font/GOST UI 2/GOST UI 2.woff2') format('woff2'),  
   url('/assets/font/GOST UI 2/GOST UI 2.woff') format('woff'),
   url('/assets/GOST UI 2/GOST UI 2.ttf') format('truetype'),
   url('/assets/font/GOST UI 2/GOST UI 2.eot') format('embedded-opentype');
  
}
@font-face {
 font-family: "GOST UI 2";
  font-style: normal;
  font-weight: 500; /* Medium */
  src: 
    local('GOST UI 2 Medium'),
    local('GOSTUI2-Medium'),
   url('/assets/font/GOST UI 2 Medium/GOST UI 2 Medium.woff2') format('woff2'), 
   url('/assets/font/GOST UI 2 Medium/GOST UI 2 Medium.woff') format('woff'),
   url('/assets/font/GOST UI 2 Medium/GOST UI 2 Medium.ttf') format('truetype'),
   url('/assets/font/GOST UI 2 Medium/GOST UI 2 Medium.eot') format('embedded-opentype');
  }

  @font-face {
   font-family: "GOST UI 2";
  font-style: normal;
  font-weight: 700; /* Bold */
  src: 
    local('GOST UI 2 Bold'),
    local('GOSTUI2-Bold'),
   url('/assets/font/GOST UI 2 Bold/GOST UI 2 Bold.woff2') format('woff2'), 
   url('/assets/font/GOST UI 2 Bold/GOST UI 2 Bold.woff') format('woff'),
   url('/assets/font/GOST UI 2 Bold/GOST UI 2 Bold.ttf') format('truetype'),
   url('/assets/font/GOST UI 2 Bold/GOST UI 2 Bold.eot') format('embedded-opentype');
}
@font-face {
  font-family: 'Helvetica Neue';
  src: local('Helvetica Neue Light'), local('Helvetica-Neue-Light'),
      url('/assets/font/HelveticaNeueCyr-Light/HelveticaNeueCyr-Light.woff2') format('woff2'),
      url('/assets/font/HelveticaNeueCyr-Light/HelveticaNeueCyr-Light.woff') format('woff'),
      url('/assets/font/HelveticaNeueCyr-Light/HelveticaNeueCyr-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
    user-select: none;
     -webkit-tap-highlight-color: transparent;
}
:root {
    --old-color-blue: #2a4b8d;
    --dark-blue: #1a2b4d;
    --light-blue: #1A73E8;
    --light-gray: #f8f9fa;
    --gray: #F5F5F6;
    --waikawa-Grey: rgb(97 109 138);
    --white: #fff;
    --brightly-blue:#1e6bb8;
   --shadow: 0 15px 20px rgba(182, 185, 189, 0.1);
}

:root {
    --border-color: solid 1px #E2E8F0;
    --hever-black: #000;
    --hover-service: #f9fff073;
    --header-text: #0a1f3d;
    --text-gold: #7d6c00;
    --banner-text:#f4f7fb;
    --bacground-card: rgba(37, 99, 235, 0.03);
    
    
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


body {
    font-family: 'GOST UI 2';
    margin: 0;
    padding: 0;
    background-color: #F4F7FB;
}



a {
    text-decoration: none;
    color: var(--blue);
}

.frame {
    margin: 0 auto;
    box-sizing: border-box;
     min-height: 100vh;
    width: 100%;
    display: flex;     
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;  
    
}


.grid {
 display: grid;
 gap: 15px;   
 
}



.container {
    margin: 0 auto;
    padding: 0px 5px;
    max-width: 1140px;
}

.box {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    
    box-shadow: var(--shadow);
}

.box-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 10px 5px 10px;
    border-bottom :var(--border-color);
    
}
.box-header > p {
    color: var(--header-text);
    font-size: 14px;
    font-weight: 600;
}
.box-header:first-child {
    margin-right:  auto;
}
.box-header div:last-child{
    margin-left: auto;
}
.box-icon  {
    padding: 10px;
    color:var(--brightly-blue);
    background-color: var(--gray);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.box-body {
    padding: 20px 15px;
    flex-grow: 1; /* Заставляет контент занимать всё доступное пространство */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-page .box_logo {
   width: 100%;
    height: 100%;
    min-width: 10px;
   min-height: 50px;
 
    display: flex;
    justify-content: center;
     margin-top: clamp(12px, calc(10px + (1 + 1) * ((100vw - 320px) / 960)),150px);

} 

.logo_title_banner {
    max-width: 320px;
      max-height: 160px;
    width: 100%;
    height: 100%;
    background: url('/assets/img/lawyer.webp') center/cover;

}

.content-banner-box {
 width: 100%;
 min-width: 310px;
 box-shadow: var(--shadow);
 border-radius: 10px;
}


.banner-box-header {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px;
   height: calc(140px + 35 * ((100vw - 320px) / 1110)); 
    background: linear-gradient(135deg, var(--brightly-blue), var(--dark-blue));
    border-radius: 10px 10px 0 0;
  
}

.main-page .banner-box-header {
  background: url('/assets/img/fon_law.webp') top/cover;
    background-repeat: no-repeat;
  height: calc(140px + 75 * ((100vw - 320px) / 1110));

}

.main-page .banner-box-header > h1  {
    color: var(--banner-text);
    font-size: calc(20px + 20 * ((100vw - 320px) / 1100));
    line-height: 1;
    background: #046d8052;
     margin-left: none;
     padding: 5px;
     
    
}


.banner-box-header > h1  {
    color: var(--banner-text);
    font-size: calc(20px + 15 * ((100vw - 320px) / 1100));
    line-height: 1;
     margin-left: clamp(12px, calc(120px + (11 + 10) * ((100vw - 320px) / 960)),150px);
}




.title-banner {
    content: "";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: calc(40px + (10 + 10 * 0.4) * ((100vw - 320px) / 1200));
    text-align: center;
    opacity: 0.3;
    color: var(--banner-text);
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translate(-50%, -50%);
  
}



.banner-box-body {
    position: relative;
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background-color: var(--white);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
     z-index: 1;

}


section > .container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
section > .container > .box {
    flex: 1;
    min-width: 310px;
}

.breadcrumb-item+ .breadcrumb-item::before {
    color: #575757;
}
.breadcrumb {
  --bs-breadcrumb-padding-x: 0;
  --bs-breadcrumb-padding-y: 0;
  --bs-breadcrumb-margin-bottom: ;
  --bs-breadcrumb-border-radius: ;
  --bs-breadcrumb-divider-color: var(--bs-secondary-color);
  --bs-breadcrumb-item-padding-x: 0.5rem;
  --bs-breadcrumb-item-active-color: var(--bs-secondary-color);
  display: flex;
  flex-wrap: wrap;
  padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);
  margin-bottom: var(--bs-breadcrumb-margin-bottom);
  font-size: 13px;
  list-style: none;
  background-color: var(--bs-breadcrumb-bg);
  border-radius: var(--bs-breadcrumb-border-radius);
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: var(--bs-breadcrumb-item-padding-x);
}
.breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: var(--bs-breadcrumb-item-padding-x);
  color: var(--dark-blue-color);
  content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
}
.breadcrumb-item.active {
  color: var(--waikawa-Grey);
}

.breadcrumb a {
    color: var(--blue);
    text-decoration: none;
    transition: all .1s;
}

.breadcrumb a:hover {
    color: var(--brightly-blue);
}

.breadcrumb a.active {
    color: var(--waikawa-Grey);
}

/* Базовые настройки end */


/* header */
header {
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
   & .header-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    padding: 10px;
    
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  
}
& .header-logo {
   display: flex;
   align-items: center;
   
}
& .header-logo > a {
    position: relative;
    text-align: center;
    margin-right: 10px;
    font-weight: 500;
    line-height: 1;
    font-size: 20px;
}
}


/* Показываем тултип при наведении */
.logo-link:hover::after {
  content: attr(data-tooltip);  
  position: absolute;
  right: -150px;
  transform: translateX(-50%);
  /* Стилизация */
  background: #000;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Делаем видимым при наведении */
.logo-link:hover::after {
  opacity: 1;
}

.vertical-line {
   width: 3px;
   height: 26px;
   background: linear-gradient(
      to bottom,  /* Направление градиента (сверху вниз) */
      white 0%, white 32%,  /* Белый – 10% */
      #1787E8 0%, #1787E8 65%,  /* Синий – от 10% до 65% */
      red 0%, red 88%  /* Красный – от 65% до 100% */
   );
   box-shadow: 0px 0px 1px 0px rgb(124, 133, 138);
}

.header-logo p {
   text-align: left;
   font-size: 14px;
   margin-left: 10px;
   line-height: 1;
   letter-spacing: 1px;
   margin-top: 0;
   font-weight: 400;
   margin-bottom: 0;
   display: inline-block;
   & .header-logo-city{
       font-weight: medium;
       letter-spacing: 1.5px;
   }
}



nav a {
    color: var(--text);
}

.header-phone {
    color: var(--blue);
    font-weight: 500;
}

/* header end */


/* main */
main {
    
     flex-grow: 1; /* Заставляет main занимать всё свободное пространство */
  
}
/* ================== banner ==================== */




.profile-avatar {
   
   margin-top: calc(-40px + -40 * ((100vw - 320px) / 1800));
    width: calc(70px + 50 * ((100vw - 320px) / 1200));
    height: calc(70px + 50 * ((100vw - 320px) / 1200));
    border-radius: 50%;
    border: solid 2px var(--white);
    min-width: 90px;
    min-height: 90px;
}

.profile-avatar video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: solid 2px var(--brightly-blue);
    object-fit: cover;
    padding: 2px;
  
}
.profile-name {
    margin-top: -2px;
    font-size: calc(16px + 10 * ((100vw - 320px) / 1200));
    font-weight: 600;
    line-height: 1;
    color: var(--header-text);
}

.profile-detals {
    font-size: calc(14px + 3 * ((100vw - 320px) / 1200));
    color: var(--waikawa-Grey);
    line-height: 1.2;
    font-weight: 500;
}


/* ==================  banner end  ==================== */




/* ==================  main-hero ==================== */



.main-hero .box {
    flex-direction: row;
   flex-wrap: wrap;
   justify-content: space-between;
   
 
}

.main-hero .hero-services {
    
    flex: 1 300px;
}

.main-hero .hero_callback {
   flex: 1 10%;
    min-width: 280px;
   position: relative;
}

.main-hero .box-callback {
    display: block;
    box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 
                0 2px 4px rgba(106, 111, 117, 0.12);
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
   top: 0;
      position: sticky;
}

.home-hero-h2
{
    font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1200));
    color: var(--header-text);
    line-height: 1;
}
.home-hero-p
{
    font-size: calc(16px + (2 + 2 * 0.5) * ((100vw - 320px) / 1200));
    font-weight: 700;
     color: var(--brightly-blue);
}


.highlight-item > .highlight-icon, span {
    font-size: calc(14px + (2 + 2 * 0.2) * ((100vw - 320px) / 1200));
   font-weight: 400;
}

.highlight-item > span {
    color: var(--header-text);
    font-weight: 400;
}

.home-hero-href-uslugi
{
    display: flex;
    color: #f6f8fcfd;
    background-color: var(--brightly-blue);
      padding: 0.75rem 1.5rem;
    max-width: 50%;
    min-width: 200px;
   justify-content: center;
    border-radius: 4px;
     font-weight: 600;
      margin-top: 1rem;
        box-shadow: 0 2px 4px rgba(72, 104, 178, 0.2);
}

.home-hero-href-uslugi:hover
{
    
    background-color:#000;
    
}

.home-hero-href-uslugi::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-highlights p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgb(55, 65, 81);
}

.box-callback > .form-title {
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    
}

.box-callback .form-title span {
    color: var(--brightly-blue);
    font-size: 1.125rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.box-callback .form-title p {
    font-size: 0.85rem;
    color: var(--waikawa-Grey);
    margin: 0;
    
}



form .label_soglasie {
    text-align: center;
    color: var(--header-text);
}





/* ==================  main-hero end  ==================== */
/* ==================  main-vzaimodeystvie  ==================== */
.vzaimodeystvie-item ol {
 counter-reset: my-counter;
  padding-left: 0;
  list-style: none;
  display: flex;
  min-width: 290px;
  flex-wrap: wrap;
  gap: 15px; /* Увеличим отступ между карточками */
}

.vzaimodeystvie-item ol > li {
  position: relative;
  flex: 1 30%;
  padding: 24px 20px 20px 56px; /* Увеличили левый паддинг для цифры */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  min-width: 290px;
  line-height: 1.5;
  
  /* Стиль Госуслуг - чистый белый фон с тонкой серой границей */
  background: #ffffff;
  
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);
  
  transition: all 0.2s ease;
}



.vzaimodeystvie-item li > p {

    position: relative; 
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333; /* Темно-серый текст как на Госуслугах */
  margin: 0;
}
.vzaimodeystvie-item li > p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0px;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 3px;
   
}

.vzaimodeystvie-item ol > li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 20px;
  top: 24px;
  width: 24px;
  height: 24px;
  
  /* Стиль Госуслуг - синий круг с белым текстом */
  background: #1d6bf3;
  color: #ffffff;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  
  /* Без теней и градиентов */
  box-shadow: none;
  transform: none;
  letter-spacing: normal;
}

/* Контейнер - прозрачный фон как на Госуслугах */
.vzaimodeystvie-item {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
}


/* Контейнер в стиле необрутализма */
.vzaimodeystvie-item {
  background: var(--white);
  border-radius: 10px;
  border: 3px solid rgba(255, 255, 255, 0.2);

}

/* Современная типографика */
.vzaimodeystvie-item ol > li {
  
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.main-vzaimodeystvie .box-body h4 {
     font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1200));
    color: var(--header-text);
    line-height: 1;
}

/* ==================  main-vzaimodeystvie end  ==================== */



/* ==================  page-categories  ==================== */

/* ================== banner ==================== */

.page-categories .banner-box-header {
    
    height: fit-content; 
   min-height: 80px;
   
}

.page-categories .banner-box-header > h1 {
   margin-left: clamp(12px, calc(12px + (11 + 10) * ((100vw - 320px) / 960)),150px);
   max-width: 510px;
    margin-top: 0;
    padding: 10px;
    margin-right: clamp(30px, calc(10px + (400 + 400) * ((100vw - 320px) / 1100)),500px);

}

/* ================== banner end ==================== */
/* ================== law-service ==================== */


.services-tabs {
 display: flex;
 border-bottom: var(--border-color);
 gap: 10px;
 
 padding: 10px 10px;
}

.tab {
            padding: 6px 8px;
            cursor: pointer;
            font-size: 14px;
            border: var(--border-color);
            border-radius: 10px;
        }
.tab.active {
            border: 2px solid var(--brightly-blue);
            color: var(--primary);
            font-weight: 500;
        }

/* Ваши существующие стили остаются */
.tab {
    padding: 6px 8px;
    cursor: pointer;
    font-size: 14px;
    border: var(--border-color);
    border-radius: 10px;
}
.tab.active {
    border: 2px solid var(--brightly-blue);
    color: var(--primary);
    font-weight: 500;
}

.service-categories-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    display: none;
}

.service-categories-cards.active {
    display: grid;
}


.categories-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
   box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    
}



.categories-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.categories-card:hover::before {
    opacity: 1;
}

.card-header {
    margin-bottom: 5px;
}

.card-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.card-price {
    flex-shrink: 0;
}

.card-price data {
    color: rgb(5, 166, 187);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 -2px 2px rgba(72,104,178,.04),0 2px 2px rgba(106,111,117,.09),0 1px 2px rgba(72,104,178,.08);
}

.card-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brightly-blue);
    border-radius: 8px;
   background: var(--white);
    font-size: 16px;
   box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);;
    
}

/* Если иконки нет - скрываем */
.card-icon:empty {
    display: none;
}

.card-icon i {
    font-size: 16px;
}

.card-header h2 {
    font-size: 18px;
    color: #1e40af;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body {
    flex: 1;
}

.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .service-categories-cards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .categories-card {
        padding: 20px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .service-categories-cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .categories-card {
        padding: 18px;
        min-height: 180px;
    }
    
   
    
    .card-price data {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 450px) {
    .service-categories-cards {
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
        gap: 12px;
    }

    .card-price data {
        font-size: 14px;
        padding: 2px 5px;
        z-index: 1;
    }

     .card-header h2 {
        font-size: 16px;
          overflow-wrap: break-word;
  word-break: normal;
hyphens: auto;
    }

    .card-header-content {
       
        gap: 10px;
    }
    .card-header h2 {
        font-size: 14px;
    }
    
    .categories-card {
        min-height: 170px;
        padding: 10px;
    }
}

/* Анимация появления */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        
    }

}

.categories-card {
    animation: cardAppear 0.6s ease forwards;
}

@media (hover: hover) {
      .categories-card:hover {
             transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(74, 78, 87, 0.26);
    border-color: var(--brightly-blue);
        }

    }

@media (hover: none) {
       .categories-card:active {
             border-color: var(--brightly-blue);
              transform: translateY(-5px);
    
    box-shadow: 0 10px 15px rgba(74, 78, 87, 0.26);
        }

         
      }

/* Защита от длинных цен */
.card-price {
    white-space: nowrap;
}

.card-price data {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
/* ================== section law-service end ==================== */
/* ==================  page-categories end ==================== */







/* ==================  page-category-service ==================== */
/* ==================  section banner ==================== */
.page-uslugi .banner-box-header {
    height: fit-content; 
    min-height: 100px;
   height: calc(140px + 55 * ((100vw - 320px) / 1110)); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 20px; 

}

.page-uslugi .banner-box-header > h1 {
   font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1100));
     margin-left: clamp(12px, calc(12px + (11 + 10) * ((100vw - 320px) / 960)),150px);
     margin-right: clamp(30px, calc(10px + (400 + 400) * ((100vw - 320px) / 960)),250px);
    padding-top: 10px;
    margin-top: 0;
    background: #00000052;
    width: fit-content;
    padding: 5px 10px;
}
.banner-box-header > .banner-service-subtitle {
   margin-left: clamp(12px, calc(12px + (11 + 10) * ((100vw - 320px) / 960)),150px);
     margin-right: clamp(30px, calc(10px + (400 + 400) * ((100vw - 320px) / 960)),250px);
    font-size: calc(14px + 2 * ((100vw - 320px) / 1100));
    color: var(--banner-text);
    margin-right: 80px;
    padding-bottom: 10px;
}
.page-uslugi .title-banner {
     top: 50%;
}
/* ==================  section banner end ==================== */

/* ==================  type-services ==================== */
.type-services .container {
    align-items: flex-start;
}
.type-services-content  {
    display: flex;
    gap:20px;
    flex-wrap: wrap;
    
    
}
.inner-service-content {
position: relative;
   display: flex;
    flex: auto;  
      
}
.inner-typ-service-siebar {
    display: flex;
    flex-direction: column;
    flex: 1;  
    position: sticky;
     height: fit-content; 
      top: 10px;
      gap: 10px;
}
.type-services-siebar {
    position: relative;
   min-width: 290px; /* Позволяет сжиматься */
   
   border-radius: 8px;
   overflow: hidden;
   background-color: var(--white);
     box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);

}

.type-services-siebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.type-services-info {
    flex: 2 55%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 290px; /* Позволяет сжиматься */
}
.type-service-title {
    position: relative;
   
}



.type-service-title > h2 {
    color: var(--light-blue);
    line-height: 1.2;
   font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1100));
   font-weight: 700;
   margin-right: 10px;
}

.expert-card {
    margin-top: 30px;
    padding: 10px;
    
}
.expert-card-title {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    align-items: center;
    background-color: var(--gray);
    position: absolute;
    padding: 4px 15px 4px 5px;
    border-bottom-right-radius: 8px;
    
    
}
.expert-card-title > p {
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
.expert-card-icon {
    color:var(--brightly-blue);
    font-size: 14px;

}

.expert-card-profile {
    display: flex;
    gap: 10px;
    align-items: center;
    
}



.expert-card-profile-img {
    width: calc(90px + 10 * ((100vw - 320px) / 1200));
    height: calc(90px + 10 * ((100vw - 320px) / 1200));
    min-width: 70px;
    min-height: 70px;
    border: solid 1px var(--brightly-blue);
    border-radius: 100%;
    
}

.expert-card-profile-img video {
   width: 100%;
   height: 100%;
   border-radius: 100%;
   object-fit:cover;
   aspect-ratio: 1 / 1;
   border: solid 2px var(--gray);
}


.expert-card-profile-name {
    font-size: 16px;
    font-weight: 600;
}

.expert-card-profile-special {
    font-weight: 300;
    font-size: 13px;
    color: var(--waikawa-Grey);

}



.pricing-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  padding: 15px;
  border-radius: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12)
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.pricing-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--light-blue), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pricing-content {
  flex: 1;
}

.pricing-title {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-weight: 600;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 8px;
}

.pricing-from {
  font-size: 16px;
  color: #9ca3af;
  font-weight: 500;
}

.pricing-value {
  font-size: calc(18px + (5 + 5 * 0.5) * ((100vw - 320px) / 1100));
  font-weight: 800;
  background: rgb(5, 166, 187);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  
}

.is_sale {
    color: rgb(199, 103, 103);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 700;
  color: rgb(5, 166, 187);
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
}

.pricing-note i {
  color: var(--light-blue);
  font-size: 12px;
}
.type-price-note {
    color: var(--waikawa-Grey);
   font-size: calc(12px + (2 + 2 * 0.2) * ((100vw - 320px) / 1100));
    font-weight: 400;
}

.type-service-description {
    position: relative;
}
.description-contenent  ul, ol {
    
    padding-left: 20px;
     margin-bottom: 12px;
    font-size: 16px;
    
    font-weight: 400;
    line-height: 1.6;
    color: rgb(55, 65, 81);
}
.container-description-title > .description-title {
    font-weight: 600;
    font-size: 18px;
}

.product-details .product-inner  {
    display: flex;
    gap: 10px;
    flex-direction: column;

}
.accordion {
    box-shadow: 0 -2px 2px rgba(72,104,178,.04),0 2px 2px rgba(106,111,117,.09),0 1px 2px rgba(72,104,178,.08);
     border-radius: 10px;
}

        .accordion__content {
            display: grid;
            grid-template-rows: 0fr;
            transition-duration: 0.2s;
    opacity: 0;
    
        }
        
        .accordion__content-body {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            gap: 10px;
        }

      
        .accordion__details[open] + .accordion__content {
            grid-template-rows: 1fr;
              padding: 10px;
   
     opacity: 1;
        }
        .accordion__details .accordion__summary::marker,
.accordion__details .accordion__summary::-webkit-details-marker {
  display: none; /* Скрываем стандартный маркер */
}
/* Скрытие стандартного маркера summary */
        .accordion__details summary {
            list-style: none;
            
            border-radius: 10px;
        }
        .accordion__details .accordion__summary::before {
    content: "\f107";
    position: absolute;
     font-family: "Font Awesome 7 Free";
     font-weight: 900;
     right: 10px;
     transition: transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: var(--gray);
    padding: 4px;
    width: 16px;
    height: 16px;
    color: var(--text);
}

.accordion__details[open] .accordion__summary::before {
    transform: rotate(180deg);
    color: var(--light-blue);
  }
.accordion__details[open]

 {
        box-shadow: none;
    border-bottom: none;
    overflow: hidden;
}
  .accordion__summary{
display: flex;
position: relative;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* Убираем стандартный маркер */
  padding: 14px 10px;
 cursor: pointer;
  
}

.description-contenent > p {
    margin-bottom: 12px;
    font-size: 16px;
    
    font-weight: 400;
    line-height: 1.6;
    color: rgb(55, 65, 81);
}

.accordion__details[open] .accordion__summary {

     border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    box-shadow: none;
    overflow: hidden;
    align-items: center;
    background-color: var(--light-blue);
    color: var(--white);
}
.accordion__content-body section > ul

 {
    list-style-type: disc;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(55, 65, 81);
}
.accordion__content-body section > ul li {
    margin-bottom: 8px;
}

 .accordion__content-body section > p {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    
}

 .accordion__content-body section > h4 {
font-weight: 500;
color: var(--light-blue);
        margin-top: 5px;
    margin-bottom: 5px;
    font-size: 18px;
}


.accordion__content-body section > ul {
  list-style-type: disc; /* Включаем маркеры */
  padding-left: 20px;   /* Добавляем отступ для маркеров */
  font-size: 14px;
}
.container-filters-categories-case {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.filters-info {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    flex: 1;
}
.filters-select {
    border: var(--border-color);
    font-size: 14px;
    padding: 6px;
    cursor: pointer;
    border-radius: 5px;
   width: auto; /* Минимальная ширина */
    flex: 2;
}
.filters-select:focus {
    outline: none;
    box-shadow: none;
}
.filters-select > option {
    border: var(--border-color);
    border-radius: 10px;
}
.container-cards-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    
}
.service-category-card {
    position: relative;
    display: flex;
    border: var(--border-color);
    border-radius: 5px;
    flex: 1 1 35%;
    cursor: pointer;
    width: 160px;
    align-items: center;
    background: var(--white);
    padding: 10px;
}

.service-category-card::before {
    content: " ";
    position: absolute;
    left: 0px;
    width: 3px;
    height: 43%;
    top: 30%;
    background-color: var(--brightly-blue);
    opacity: 1;
    transition: opacity 300ms;
    border-radius: 999px;
}


.service-category-card:hover {
     border-color: var(--brightly-blue);
    
}

.product-price {
    font-size: 12px;
   
}

.card-srvice-title::after {
    content: '';
    position: absolute;
    inset: 0;
}

.card-srvice-title > h3 {
     font-size: calc(14px + (1 + 1* 0.1) * ((100vw - 320px) / 1240));
    font-weight: 500;
    color: var(--header-text);
    line-height: 1;
}

/* ==================  form-order ==================== */
.form-application {
    box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);
    border-radius: 8px;
    padding: 10px;
    

}

.form-application-title

 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--light-blue);
}
.title-order-radio > h3 {
    font-size: 18px;
    color: #2563eb;
    margin-bottom: 10px;
}
.radio-order {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: space-evenly;
  container-type: inline-size;
}

.radio-option {
    display: flex;
       flex: 1 0 calc(25% - 10px); /* 4 элемента в ряд */
  
  
}

.radio-option > .label-no-checked {
   display: flex;
   flex-direction: column;
    border: var(--border-color);
    padding: 5px;
      flex: 1;
    align-items: center;
    gap: 5px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    min-width: 168px;
    font-size: 13px;
    justify-content: center;

}

.label-checked {
    position: relative;
    overflow: hidden;
    display: flex;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%
100%);
   align-items: center;
   box-shadow: 0 4px 12px rgba(72, 104, 178, 0.15), 0 2px 4px rgba(106, 111, 117, 0.12);
    padding: 15px 20px 15px 10px;
      flex: 1;
    max-width: fit-content;
    gap: 10px;
    border-radius: 8px;
    cursor: pointer;
    min-width: 168px;
    font-size: 13px;
}

.label-checked::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}
label > i {
    font-size: calc(12px + (3 + 3* 0.3) * ((100vw - 320px) / 1240));
   color: var(--brightly-blue);
}






.radio-option input[type="radio"] {
  display: none; /* Скрываем оригинальный radio button */
}

.radio-order input[type="radio"] + .label-no-checked, .label-checked {
     position: relative;
     
}

.radio-order input[type="radio"]:checked + .label-checked::before {
  content: "\f058";
  font-family: "Font Awesome 7 Free";
  left: 5px;
 
  font-size: 16px;
  font-weight: 400;
  color: var(--light-blue);
  font-size: 16px;
  
}

.radio-order input[type="radio"]:checked + .label-no-checked::after {
  content: "\f058";
  position: absolute;
  font-family: "Font Awesome 7 Free";
  left: 5px;
  top: 2px;
  font-size: 16px;
  font-weight: 400;
  color: var(--brightly-blue);
  font-size: 16px;
  
}

.input-order {
display: flex;
flex-wrap: wrap;
gap: 10px;


}
.input-container {
  flex: 1 1 20%;
   min-width: 200px;
 
    margin-bottom: 15px;
}
.button-order {
 flex: 2;
 min-width: 200px;
}


/* ==================  form-order end ==================== */


/* ==================  type-services end ==================== */


/* ==================  section category ==================== */
.page-uslugi > .container > :first-child {
    flex: 2 340px;
    min-width: 310px; /* Позволяет сжиматься */
 
}

/* Правый блок (сайдбар) */
.page-uslugi > .container > :last-child {
      flex: 6 600px; /* Растягивается, но не меньше 310px */
  min-width: 310px;
}

.sub-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================  section product end ==================== */
/* ==================  page-uslugi end ==================== */

/* ==================  page-sub-uslugi ==================== */
/* ==================  section banner ==================== */
.page-sub-uslugi .banner-box-header {
  min-height: 90px;
  height:fit-content;
}

.page-sub-uslugi .banner-box-header > h1 {
    font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1100));
    margin-left: clamp(12px, calc(12px + (11 + 10) * ((100vw - 320px) / 960)),150px);
    margin-right: clamp(30px, calc(10px + (400 + 400) * ((100vw - 320px) / 960)),250px);
    padding: 10px;
    margin-top: 0;
   
}



.page-sub-uslugi .title-banner {
     top: 50%;
    
}
/* ==================  section banner end ==================== */
.expert-card  > .service-highlights {
margin-top: 10px;
flex-direction: column;

align-items: flex-start;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom:5px;
}

.expert-card .highlight-item > span {
     font-size: calc(13px + (2 + 2 * 0.2) * ((100vw - 320px) / 1100));
    
}

.expert-card  .highlight-icon {
  color: var(--brightly-blue);
    font-size: calc(12px + (2 + 2 * 0.2) * ((100vw - 320px) / 1100));
  
}
/* ==================  page-sub-uslugi end ==================== */
/* main end */
/* Обновляем CSS переменные для более современной палитры */
:root {
    
    
    --accent-blue: #3a6bc9;
    --white: #ffffff;
    --light-grey: #f5f7fa;
    --text-secondary: #e0e0e0;
}

.footer {
    
    border-radius: 10px;
    margin: auto;
    width: 100%;
    color: var(--white);    
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif; /* Более современный шрифт */
   
   
}

footer .container {
    margin: 0 auto;
    border-radius: 10px;
    max-width: 1140px;
    padding: 5px;
   
}

/* Сетка карточек */
.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 15px;
    margin-bottom: 10px;
      padding: 20px 10px;
      border-radius: 10px;
      font-family: 'Inter', 'Segoe UI', Arial, sans-serif; /* Более современный шрифт */
    background: var(--dark-blue);

}

/* Карточка - основа нового дизайна */
.footer__card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brightly-blue) 100%);
    backdrop-filter: blur(10px); /* Стеклянный эффект */
    border-radius: 16px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

/* Акцентная карточка для контактов */
.footer__card--highlight {
    background: rgba(58, 107, 201, 0.15);
    border: 1px solid rgba(58, 107, 201, 0.3);
}
.footer__card--highlight:hover {
    background: rgba(58, 107, 201, 0.2);
}

/* Заголовки карточек */
.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer__card:hover .footer__title::after {
    width: 60px;
}

/* Контент внутри карточек */
.footer__content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer__content p {
    margin-bottom: 12px;
}

.footer__address {
    font-style: normal;
    margin: 15px 0;
}

.footer__content strong {
    color: var(--white);
    font-weight: 600;
    opacity: 0.95;
}

/* Ссылка для телефона */
.footer__link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer__link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Подзаголовок в карточке контактов */
.footer__subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px !important;
}

/* Социальные ссылки (кнопки) */
.footer__social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

/* Навигационные ссылки (Правовая информация) */
.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer__nav-link {
    
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer__nav-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.footer__nav-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer__nav-link:hover::before {
    transform: scale(1.5);
}

/* Нижняя часть футера */
.footer__base {
   padding: 20px 0;
     background: linear-gradient(135deg, var(--dark-blue) 0%, var(--brightly-blue) 100%);
     border-radius: 10px;
}

.footer__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 20px;
}

.footer__copyright {
    text-align: center;
    padding: 0px 10px;
}

.footer__copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
 
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer__card {
        padding: 20px 20px;
        text-align: center;
    }
    
    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer__social-links {
        align-items: center;
    }
    
    .social-link {
        min-width: 220px;
        justify-content: center;
        align-items: center;
    }

    
    .footer__nav-link:hover {
        transform: translateX(0); /* Отключаем сдвиг на мобильных */
    }
}

/********** страници контактов *********/
.section-contact {
    display: flex;
}
.container-contact-page > .box{
    flex: 2 1 20% !important;
}
  .page-contact .banner-box-header {
    height: fit-content; 
   min-height: 80px;
}
.page-contact .banner-box-header > h1 {
   font-size: calc(20px + (6 + 6 * 0.6) * ((100vw - 320px) / 1100));
     margin-left: clamp(12px, calc(12px + (11 + 10) * ((100vw - 320px) / 960)),150px);
        margin-right: clamp(30px, calc(10px + (400 + 400) * ((100vw - 320px) / 960)),250px);
    padding-top: 10px;
    margin-top: 0;
}
  .contact-block
  {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;

  }
 .contact-block-inner {
    position: relative;

    & > p {
        font-weight: 600;
        margin-bottom: 10px;
    }

    & > ul {
       list-style: none;
       margin: 10px 0px;

    }

    &  li {
         margin: 5px 0;
    }

   
 }


.blue_stripe::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -5px;
  left: 0px;
  height: 10px;
  background-color: currentColor;
  border-radius: 0 0 2px 2px;
}

.blue_stripe::after {
  background-color: var(--brightly-blue);
}
.blue_stripe::after {
  left: 0px;
  height: 3px;
  border-radius: 8px;
  width: calc(100% - 48px);
}

  /* контакты на страницах aricle */