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

 :root {
     --color-teal: #009D8D;
     --color-blue: #0065B1;
     --gradient: linear-gradient(135deg, #009D8D 0%, #0065B1 100%);
     --gradient-reverse: linear-gradient(135deg, #0065B1 0%, #009D8D 100%);
     --primary: #0a0a0a;
     --text: #262626;
     --text-light: #737373;
     --bg: #ffffff;
     --bg-light: #fafafa;
     --border: #e5e5e5;
 }

 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
     color: var(--text);
     line-height: 1.5;
     overflow-x: hidden;
 }

 /* Header */
 header {
     position: fixed;
     top: 0;
     width: 100%;
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     z-index: 1000;
     border-bottom: 1px solid var(--border);
 }

 nav {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 40px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 16px;
 }

 .logo img {
     height: 100px;
     width: auto;
 }

 .logo-text {
     font-size: 24px;
     font-weight: 800;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     letter-spacing: -0.5px;
 }

 .nav-links {
     display: flex;
     gap: 40px;
     list-style: none;
 }

 .nav-links a {
     text-decoration: none;
     color: var(--text);
     font-weight: 500;
     font-size: 18px;
     transition: color 0.3s;
     position: relative;
 }

 .nav-links a:hover {
     color: var(--color-blue);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -4px;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--gradient);
     transition: width 0.3s;
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .header-contacts {
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     gap: 4px;
 }

 .header-contacts a {
     color: var(--color-blue);
     text-decoration: none;
     font-weight: 600;
     font-size: 16px;
 }

 .socials {
     display: flex;
     gap: 12px;
     font-size: 12px;
     color: var(--text-light);
 }

 .social-link {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background: rgba(0, 157, 141, 0.1);
     border-radius: 50%;
     transition: all 0.3s ease;
 }

 .social-link svg path {
     fill: #0065B1;
     transition: fill 0.3s ease;
 }

 .social-link:hover {
     background: var(--gradient);
     transform: translateY(-2px);
 }

 .social-link:hover svg path {
     fill: white;
 }

 /* Burger button (скрыт на десктопе) */
 .burger-btn {
     display: none;
     flex-direction: column;
     justify-content: space-between;
     width: 30px;
     height: 24px;
     background: transparent;
     border: none;
     cursor: pointer;
     padding: 0;
     z-index: 1002;
 }

 .burger-btn span {
     width: 100%;
     height: 2px;
     background: var(--color-blue);
     border-radius: 2px;
     transition: all 0.3s ease;
 }

 /* Hero Section */
 .hero {
     position: relative;
     background: url(../images/5.png) center center/cover no-repeat;
     padding-top: 101px;
     max-width: 100%;
     min-height: calc(100vh - 101px);
     display: flex;
     align-items: center;
     overflow: hidden;
 }

 /* Полупрозрачный градиент для читаемости текста */
 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, rgb(0 101 177) 0%, rgba(0, 157, 141, 0.7) 55%, rgb(0 101 177 / 22%) 80%);
     z-index: 1;
 }

 /* Контейнер поверх оверлея */
 .hero-container {
     position: relative;
     z-index: 2;
     width: 100%;
     max-width: 1400px;
     margin: 0 auto;
     padding: 80px 40px 0 40px;
 }

 .hero-content {
     max-width: 700px;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 /* Бейдж — полупрозрачный белый */
 .hero-badge {
     display: inline-block;
     width: fit-content;
     padding: 8px 20px;
     background: rgba(255, 255, 255, 0.15);
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 100px;
     font-size: 12px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 32px;
     color: white;
     backdrop-filter: blur(10px);
 }

 /* Заголовок — белый, без градиента */
 .hero h1 {
     font-size: 64px;
     font-weight: 800;
     line-height: 1.1;
     letter-spacing: -2px;
     margin-bottom: 24px;
     color: white;
     background: none;
     -webkit-text-fill-color: white;
 }

 .hero-subtitle {
     font-size: 25px;
     font-weight: 400;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 32px;
     line-height: 1.5;
     max-width: 500px;
 }

 .hero-description {
     font-size: 16px;
     color: rgba(255, 255, 255, 0.85);
     margin-bottom: 40px;
     line-height: 1.6;
     max-width: 600px;
 }

 .hero-buttons {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
 }

 .hero-note {
     margin-top: 24px;
     font-size: 14px;
     color: rgba(255, 255, 255, 0.7);
 }

 /* Кнопки — адаптированные для тёмного фона */
 .btn {
     padding: 18px 40px;
     font-size: 16px;
     font-weight: 600;
     text-decoration: none;
     border-radius: 8px;
     transition: all 0.3s;
     cursor: pointer;
     border: none;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 .btn-primary {
     background: white;
     color: var(--color-blue);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     background: #f5f5f5;
 }

 .btn-outline {
     background: transparent;
     color: white;
     border: 2px solid rgba(255, 255, 255, 0.6);
 }

 .btn-outline:hover {
     background: white;
     border-color: white;
     color: var(--color-blue);
 }

 /* ========== Адаптивность ========== */
 @media (max-width: 1199px) {
     .logo img {
         width: 185px;
     }

     .nav-links {
         gap: 25px;
     }

     .nav-links a {
         font-size: 16px;
     }
 }

 @media (max-width: 1024px) {
     .hero {
         min-height: auto;
     }

     .logo img {
         width: auto;
     }

     .hero-container {
         padding: 60px 40px;
     }

     .hero h1 {
         font-size: 48px;
     }

     .hero-subtitle {
         font-size: 20px;
     }
 }

 @media (max-width: 768px) {
     .hero {
         min-height: auto;
         padding: 0;
     }

     .hero-overlay {
         background: linear-gradient(135deg, rgb(0 101 177) 0%, rgba(0, 157, 141, 0.8) 100%, rgb(0 101 177 / 22%) 80%);
     }

     .hero-container {
         padding: 0;
     }

     .hero h1 {
         font-size: 36px;
         letter-spacing: -1px;
     }

     .hero-subtitle {
         font-size: 18px;
         margin-bottom: 24px;
     }

     .hero-description {
         font-size: 15px;
         margin-bottom: 32px;
     }

     .btn {
         padding: 14px 28px;
         font-size: 15px;
         width: 100%;
         justify-content: center;
     }

     .hero-buttons {
         flex-direction: column;
     }
 }

 @media (max-width: 480px) {
     .hero h1 {
         font-size: 30px;
     }

     .hero-subtitle {
         font-size: 16px;
     }
 }

 /* Sections General */
 section {
     padding: 80px 40px;
     max-width: 1400px;
     margin: 0 auto;
 }

 .section-header {
     max-width: 1400px;
     margin: 0 auto 60px auto;
 }

 .container {
     max-width: 1400px;
     margin: 0 auto 0 auto;
     padding: 0 40px;
 }

 .section-label {
     font-size: 12px;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 2px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 16px;
     display: block;
 }

 .section-title {
     font-size: 56px;
     font-weight: 800;
     letter-spacing: -1.5px;
     color: var(--color-blue);
     line-height: 1.2;
 }

 /* Services */
 .services {
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.03) 0%, rgba(0, 101, 177, 0.03) 100%);
     max-width: 100%;
 }


 .services-grid {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 30px 40px;
 }

 .service-card {
     background: white;
     padding: 60px;
     border-radius: 24px;
     border: 1px solid rgba(0, 157, 141, 0.1);
     transition: all 0.3s;
     position: relative;
     overflow: hidden;
 }

 .service-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: var(--gradient);
     transform: scaleX(0);
     transition: transform 0.3s;
 }

 .service-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 60px rgba(0, 101, 177, 0.1);
     border-color: rgba(0, 157, 141, 0.3);
 }

 .service-card:hover::before {
     transform: scaleX(1);
 }

 .service-card h3 {
     font-size: 32px;
     font-weight: 700;
     margin-bottom: 32px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     letter-spacing: -0.5px;
 }

 .service-card ul {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .service-card li {
     display: flex;
     align-items: flex-start;
     gap: 16px;
     font-size: 16px;
     line-height: 1.5;
     color: var(--text);
 }

 .service-card li::before {
     content: '→';
     color: var(--color-teal);
     font-weight: 700;
     flex-shrink: 0;
 }

 /* About */
 .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 30px 40px;
 }

 .about-text li {
     font-size: 16px;
     line-height: 1.2;
     margin-bottom: 5px;
 }

 .about-image {
     position: sticky;
     top: 100px;
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.1) 0%, rgba(0, 101, 177, 0.1) 100%);
     border-radius: 24px;
     height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     color: var(--text-light);
     border: 2px solid rgba(0, 157, 141, 0.2);
     overflow: hidden;
 }

 .about-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* About — улучшенные стили текста */


 .about-text p {
     font-size: 16px;
     line-height: 1.5;
     margin-bottom: 20px;
     font-weight: 400;
 }

 /* Первый абзац (жирный вопрос) можно чуть выделить */
 .about-text p:first-of-type {
     font-size: 22px;
     font-weight: 700;
     line-height: 1.5;
     margin-bottom: 24px;
 }

 /* Списки (ul, ol) */
 .about-text ul,
 .about-text ol {
     margin: 16px 0 24px 0;
     padding-left: 24px;
 }

 .about-text li {
     font-size: 16px;
     line-height: 1.5;
     margin-bottom: 12px;
     /* больше воздуха между пунктами */
 }

 /* Вложенные списки (как у вас: ol > li > ul) */
 .about-text li ul,
 .about-text li ol {
     margin-top: 8px;
     margin-bottom: 8px;
 }

 /* Заголовки внутри .about-text (например, "Что это значит на практике?") */
 .about-text strong:first-child {
     font-weight: 700;
     /* акцентный цвет под бренд */
 }

 /* Отдельно для заголовков преимуществ (цифры) */
 .about-text ol>li>strong {
     font-size: 18px;
     color: var(--color-blue);
     display: inline-block;
     margin-top: 8px;
     margin-bottom: 4px;
 }

 /* Последний призыв — можно сделать более выразительным */
 .about-text p:last-of-type {
     font-size: 18px;
     font-weight: 500;
     line-height: 1.5;
     color: var(--color-blue);
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.08), rgba(0, 101, 177, 0.05));
     padding: 20px 24px;
     border-radius: 24px;
     margin-top: 32px;
     text-align: center;
     margin-bottom: 0;
     text-wrap: balance;
 }

 /* Адаптив для планшетов и телефонов */
 @media (max-width: 768px) {

     .about-text p,
     .about-text li {
         font-size: 16px;
         line-height: 1.5;
     }

     .about-text p:first-of-type {
         font-size: 20px;
     }

     .about-text p:last-of-type {
         font-size: 18px;
         padding: 16px;
     }

     .about-text ul,
     .about-text ol {
         padding-left: 20px;
     }
 }

 /* company */
 #company {
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.03) 0%, rgba(0, 101, 177, 0.03) 100%);
     max-width: 100%;
     padding-bottom: 0;
 }

 .company-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 30px 40px;
 }

 .company-text p {
     font-size: 16px;
     line-height: 1.2;
     color: var(--text);
     margin-bottom: 24px;
 }

 .company-text li {
     font-size: 16px;
     line-height: 1.5;
     margin-bottom: 20px;
 }

 .company-image {
     position: sticky;
     top: 100px;
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.1) 0%, rgba(0, 101, 177, 0.1) 100%);
     border-radius: 24px;
     height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     color: var(--text-light);
     border: 2px solid rgba(0, 157, 141, 0.2);
     overflow: hidden;
 }

 .company-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 /* company — улучшенные стили текста */


 .company-text p {
     font-size: 16px;
     line-height: 1.5;
     /* вместо 1.2 — комфортная высота строки */
     margin-bottom: 20px;
     font-weight: 400;
 }

 /* Первый абзац (жирный вопрос) можно чуть выделить */
 .company-text p:first-of-type {
     font-size: 16px;
     font-weight: 400;
     line-height: 1.5;
     margin-bottom: 24px;
 }

 /* Списки (ul, ol) */
 .company-text ul,
 .company-text ol {
     margin: 16px 0 24px 0;
 }

 .company-text li {
     background: url(../images/arrow.svg) no-repeat left top;
     background-size: 20px 20px;
     padding-left: 30px;
     list-style: none;
 }

 /* Вложенные списки (как у вас: ol > li > ul) */
 .company-text li ul,
 .company-text li ol {
     margin-top: 8px;
     margin-bottom: 8px;
 }

 /* Заголовки внутри .company-text (например, "Что это значит на практике?") */
 .company-text strong:first-child {
     font-weight: 700;
     /* акцентный цвет под бренд */
 }

 /* Отдельно для заголовков преимуществ (цифры) */
 .company-text ol>li>strong {
     font-size: 19px;
     color: var(--color-blue);
     display: inline-block;
     margin-top: 8px;
     margin-bottom: 4px;
 }

 /* Последний призыв — можно сделать более выразительным */
 .company-text p {
     font-size: 20px;
     font-weight: 400;
     line-height: 1.5;
     margin-bottom: 0;
 }

 /* Адаптив для планшетов и телефонов */
 @media (max-width: 1024px) {

     .company-image,
     .company-image img {
         height: auto;
     }

 }

 /* Адаптив для планшетов и телефонов */
 @media (max-width: 768px) {

     .company-text p,
     .company-text li {
         font-size: 16px;
         line-height: 1.5;
     }

     .company-text p:first-of-type {
         font-size: 20px;
     }

     .company-text p:last-of-type {
         font-size: 16px;
     }

     .company-image,
     .company-image img {
         height: auto;
     }

 }

 /* Specialist */
 .specialist {
     padding: 60px 60px;
     background: var(--gradient);
     color: white;
     max-width: 100%;
     max-width: 1320px;
     border-radius: 24px;
     margin: 0 auto;
 }

 .specialist .section-title {
     color: white;
 }

 .specialist-grid {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 0.8fr 1.2fr;
     gap: 30px 80px;
 }

 .specialist-image {
     background: rgba(255, 255, 255, 0.1);
     border-radius: 24px;
     height: 500px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 14px;
     color: rgba(255, 255, 255, 0.7);
     border: 2px solid rgba(255, 255, 255, 0.2);
     overflow: hidden;
 }

 .specialist-image img {
     object-position: top;
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .specialist-info h3 {
     font-size: 40px;
     line-height: 1.2;
     font-weight: 700;
     margin-bottom: 12px;
     letter-spacing: -1px;
 }

 .specialist-info .position {
     font-size: 16px;
     color: rgba(255, 255, 255, 0.8);
     margin-bottom: 40px;
 }

 .specialist-info p {
     font-size: 16px;
     line-height: 1.5;
     margin-bottom: 24px;
     color: rgba(255, 255, 255, 0.9);
 }

 .specialist-info p:last-child {
     margin-bottom: 0;
 }

 /* Diplomas - Carousel */
 .diplomas {
     overflow: hidden;
     max-width: 100%;
 }

 /* Обёртка слайдера */
 .diplomas-carousel {
     max-width: 100%;
     margin: 0 auto;
     padding: 0;
     position: relative;
 }

 /* Стили для карточек (оставьте ваши, но добавьте это) */
 .diplomas-track .slick-slide {
     margin: 0 15px;
 }

 .diplomas-track .slick-list {
     margin: 0 -15px;
 }

 .diploma-card {
     text-align: center;
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.05) 0%, rgba(0, 101, 177, 0.05) 100%);
     border-radius: 16px;
     border: 2px solid rgba(0, 157, 141, 0.2);
     transition: all 0.3s;
     overflow: hidden;
 }

 .diploma-card img {
     width: 100%;
     height: auto;
     max-height: 300px;
     object-fit: cover;
     border-radius: 16px;
 }

 .diploma-card:hover {
     border-color: var(--color-teal, #009d8d);
     transform: translateY(-4px);
 }

 /* Кнопки (стрелки) — внизу, по центру */
 .custom-carousel-controls {
     display: flex;
     justify-content: center;
     gap: 16px;
     margin-top: 40px;
 }

 .custom-slick-prev,
 .custom-slick-next {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     border: 2px solid #009d8d;
     background: white;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     color: #0065b1;
     transition: all 0.3s;
     outline: none;
     font-weight: bold;
 }

 .custom-slick-prev:hover,
 .custom-slick-next:hover {
     background: linear-gradient(135deg, #009d8d, #0065b1);
     color: white;
 }

 /* Точки (dots) — располагаются под кнопками */
 .slick-dots {
     position: static !important;
     display: flex !important;
     justify-content: center;
     gap: 8px;
     margin-top: 20px;
     /* отступ от кнопок */
     bottom: auto !important;
 }

 .slick-dots li {
     margin: 0 !important;
     width: auto !important;
     height: auto !important;
 }

 .slick-dots li button {
     width: 10px;
     height: 10px;
     padding: 0;
     background: rgba(0, 157, 141, 0.3);
     border-radius: 50%;
     transition: all 0.3s;
 }

 .slick-dots li button:before {
     display: none;
     /* скрываем стандартную иконку */
 }

 .slick-dots li.slick-active button {
     background: #009d8d;
     width: 30px;
     border-radius: 5px;
 }

 /* Скрываем стандартные стрелки Slick (если вдруг появились) */
 .slick-prev,
 .slick-next {
     display: none !important;
 }

 /* CTA */

 .cta {
     background: var(--gradient);
     max-width: 100%;
     max-width: 1320px;
     text-align: center;
     padding: 60px 40px;
     border-radius: 24px;
 }

 .cta h2 {
     font-size: 56px;
     line-height: 1.2;
     font-weight: 800;
     color: white;
     margin-bottom: 24px;
     letter-spacing: -1.5px;
 }

 .cta p {
     font-size: 20px;
     line-height: 1.2;
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 30px;
 }

 .cta .btn {
     background: white;
     color: var(--color-blue);
     font-size: 16px;
     padding: 20px 48px;
 }

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

 /* Partners - Animated Slider */
 .partners {
     /* overflow: hidden; */
     max-width: 1400px;
     padding-bottom: 0;
 }


 .partners-slider {
     display: grid;
     grid-template-columns: repeat(5, 1fr);
     gap: 30px;
     margin-top: 40px;
 }

 .partner-logo {
     background: white;
     border-radius: 16px;
     border: 1px solid rgba(0, 157, 141, 0.2);
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
     height: 120px;
     transition: all 0.3s;
 }

 .partner-logo:hover {
     border-color: var(--color-teal);
     transform: translateY(-4px);
     box-shadow: 0 10px 30px rgba(0, 101, 177, 0.15);
 }

 .partner-logo img {
     max-width: 80%;
     max-height: 80%;
     object-fit: contain;
 }

 .partners-text {
     max-width: 1000px;
     margin: 0 auto;
     font-size: 18px;
     font-weight: 500;
     line-height: 1.5;
     color: var(--color-blue);
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.08), rgba(0, 101, 177, 0.05));
     padding: 20px 24px;
     border-radius: 24px;
     margin-top: 32px;
     text-align: center;
     margin-bottom: 0;
     text-wrap: balance;
 }

 /* Адаптивность */
 @media (max-width: 1024px) {
     .partners-slider {
         grid-template-columns: repeat(3, 1fr);
         gap: 20px;
     }

     .partners-text {
         font-size: 18px;
     }
 }

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

     .partners-text {
         font-size: 16px;
     }
 }

 @media (max-width: 480px) {
     .partners-slider {
         grid-template-columns: 1fr;
         gap: 15px;
     }
 }

 /* Cases */
 .cases-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 40px;
 }

 .case-card {
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.03) 0%, rgba(0, 101, 177, 0.03) 100%);
     border-radius: 24px;
     padding: 60px;
     border: 1px solid rgba(0, 157, 141, 0.1);
     cursor: pointer;
     transition: all 0.3s;
     position: relative;
     overflow: hidden;
 }

 .case-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: var(--gradient);
     transform: scaleX(0);
     transition: transform 0.3s;
 }

 .case-card:hover {
     transform: translateY(-8px);
     border-color: rgba(0, 157, 141, 0.3);
 }

 .case-card:hover::before {
     transform: scaleX(1);
 }

 .case-card h3 {
     font-size: 28px;
     line-height: 1.5;
     font-weight: 700;
     margin-bottom: 5px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .case-card .case-preview {
     font-size: 16px;
     color: var(--text-light);
     line-height: 1.5;
     margin-bottom: 24px;
 }

 .case-card .case-meta {
     display: flex;
     gap: 24px;
     font-size: 13px;
     color: var(--text-light);
 }

 .case-card .case-meta span {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .case-card .read-more {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     margin-top: 24px;
     color: var(--color-blue);
     font-weight: 600;
     font-size: 16px;
 }

 /* Cases Carousel */
 .cases-carousel {
     max-width: 1400px;
     margin: 0 auto;
     position: relative;
     padding: 0;
 }

 .cases-track {
     margin: 0 -15px;
 }

 .cases-track .case-card {
     margin: 0 15px;
     cursor: pointer;
 }

 /* Скрываем стандартные стрелки Slick */
 .cases-track .slick-prev,
 .cases-track .slick-next {
     display: none !important;
 }

 /* Кастомные кнопки управления */
 .cases-carousel-controls {
     display: flex;
     justify-content: center;
     gap: 16px;
     margin-top: 40px;
 }

 .cases-slick-prev,
 .cases-slick-next {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     border: 2px solid #009d8d;
     background: white;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
     color: #0065b1;
     transition: all 0.3s;
     outline: none;
     font-weight: bold;
 }

 .cases-slick-prev:hover,
 .cases-slick-next:hover {
     background: linear-gradient(135deg, #009d8d, #0065b1);
     color: white;
 }

 @media (max-width: 768px) {

     .cases-slick-prev,
     .cases-slick-next {
         width: 45px;
         height: 45px;
         font-size: 18px;
     }
 }

 @media (max-width: 576px) {
     .cases-track .case-card {
         margin: 0 10px;
     }
 }

 /* Modal */
 .modal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     z-index: 2000;
     align-items: center;
     justify-content: center;
     padding: 40px;
     backdrop-filter: blur(5px);
 }

 .modal.active {
     display: flex;
 }

 .modal-content {
     background: white;
     border-radius: 24px;
     max-width: 600px;
     width: 100%;
     max-height: 90vh;
     overflow-y: auto;
     position: relative;
     animation: modalSlide 0.3s ease-out;
     border: 2px solid rgba(0, 157, 141, 0.2);
 }

 #caseModal .modal-content {
     max-width: 1200px;
 }

 .modal-body {
     -ms-overflow-style: none;
     scrollbar-width: none;
 }

 .modal-body::-webkit-scrollbar {
     display: none;
 }

 @keyframes modalSlide {
     from {
         opacity: 0;
         transform: translateY(-30px);
     }

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

 .modal-close {
     position: absolute;
     top: 24px;
     right: 24px;
     width: 48px;
     height: 48px;
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.1) 0%, rgba(0, 101, 177, 0.1) 100%);
     border: none;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 24px;
     color: var(--color-blue);
     transition: all 0.3s;
     z-index: 10;
 }

 .modal-close:hover {
     background: var(--gradient);
     color: white;
 }

 .modal-body {
     padding: 50px;
 }

 .modal-body h2 {
     font-size: 32px;
     font-weight: 800;
     margin-bottom: 16px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     letter-spacing: -1px;
 }

 .modal-body>p {
     color: var(--text-light);
     margin-bottom: 32px;
 }

 .form-group {
     margin-bottom: 24px;
 }

 .form-group--accept {
     margin-top: 16px;
     margin-bottom: 0;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .form-group input:focus {
     border-color: transparent;
     box-shadow: transparent;
 }

 .form-group--accept p {
     font-size: 12px;
     color: var(--text-light);
 }

 .form-group--accept a {
     text-decoration: underline;
     color: var(--text-light);
 }

 .form-group--accept a:hover {
     color: var(--color-blue);
 }

 .form-group label {
     display: block;
     font-size: 15px;
     font-weight: 600;
     color: var(--text);
     margin-bottom: 8px;
 }

 .form-group input,
 .form-group textarea,
 .form-group select {
     width: 100%;
     padding: 14px 18px;
     border: 2px solid rgba(0, 157, 141, 0.2);
     border-radius: 8px;
     font-size: 15px;
     font-family: inherit;
     transition: all 0.3s;
     background: white;
 }

 .form-group input:focus,
 .form-group textarea:focus,
 .form-group select:focus {
     outline: none;
     border-color: var(--color-teal);
     box-shadow: 0 0 0 3px rgba(0, 157, 141, 0.1);
 }

 .form-group textarea {
     resize: vertical;
     min-height: 120px;
 }

 .form-submit {
     width: 100%;
     padding: 18px;
     background: var(--gradient);
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 16px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s;
 }

 .form-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 30px rgba(0, 101, 177, 0.3);
 }

 .modal-body h2.case-title {
     font-size: 40px;
 }

 .modal-body .case-subtitle {
     font-size: 16px;
     color: var(--text-light);
     margin-bottom: 40px;
     padding-bottom: 32px;
     border-bottom: 1px solid rgba(0, 157, 141, 0.2);
 }

 .modal-section {
     margin-bottom: 20px;
 }

 .modal-section:last-child {
     margin-bottom: 0;
 }

 .modal-section h4 {
     font-size: 20px;
     font-weight: 700;
     margin-bottom: 16px;
     color: var(--color-blue);
 }

 .modal-section p,
 .modal-section ul {
     font-size: 16px;
     line-height: 1.5;
     color: var(--text);
 }

 .modal-section ul {
     list-style: none;
     padding-left: 0;
 }

 .modal-section ul li {
     padding: 5px 0;
     padding-left: 28px;
     position: relative;
 }

 .modal-section ul li::before {
     content: '✓';
     position: absolute;
     left: 0;
     color: var(--color-teal);
     font-weight: 700;
 }

 .modal-image {
     width: 100%;
     height: 400px;
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.05) 0%, rgba(0, 101, 177, 0.05) 100%);
     border-radius: 16px;
     margin-bottom: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--text-light);
     border: 2px solid rgba(0, 157, 141, 0.2);
     overflow: hidden;
 }

 .modal-image img {
     width: 190PX;
     height: auto;
     object-fit: contain;
 }

 /* Contacts */
 .contacts {
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.03) 0%, rgba(0, 101, 177, 0.03) 100%);
     max-width: 100%;
 }

 .contacts-grid {
     max-width: 1320px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px 80px;
 }

 .contact-info h3 {
     font-size: 32px;
     font-weight: 700;
     margin-bottom: 40px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .contact-item {
     margin-bottom: 32px;
 }

 .contact-label {
     font-size: 12px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: var(--text-light);
     margin-bottom: 8px;
 }

 .contact-value {
     font-size: 18px;
     color: var(--color-blue);
     font-weight: 500;
 }

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

 .map-placeholder {
     background: white;
     border-radius: 24px;
     border: 2px solid rgba(0, 157, 141, 0.2);
     min-height: 400px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     color: var(--text-light);
 }

 .map-placeholder iframe {
     width: 100%;
     height: 100%;
     border-radius: 24px;
 }

 /* Footer - Compact Version */
 footer {
     background: var(--gradient);
     color: white;
     padding: 30px 40px 20px;
     text-align: center;
 }

 .footer-content {
     max-width: 1320px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 20px;
 }

 .footer-links {
     display: flex;
     gap: 15px;
     flex-wrap: wrap;
 }

 .footer-links a {
     color: rgba(255, 255, 255, 0.85);
     text-decoration: none;
     font-size: 13px;
     transition: color 0.3s;
     font-weight: 500;
 }

 .footer-links a:hover {
     color: white;
 }

 .footer-copy {
     color: rgba(255, 255, 255, 0.75);
     font-size: 13px;
     white-space: nowrap;
 }

 /* Responsive */
 @media (max-width: 1399px) {
     .container {
         padding: 0;
     }

     .specialist,
     .cta {
         margin: 0 40px;
     }
 }

 @media (max-width: 1024px) {
     nav {
         padding: 10px 20px;
         flex-direction: row;
         justify-content: space-between;
     }

     /* Скрываем обычное меню */
     .nav-links {
         position: fixed;
         top: 121px;
         left: 0;
         width: 100%;
         height: 350px;
         background: white;
         flex-direction: column;
         justify-content: center;
         align-items: center;
         gap: 30px;
         z-index: 1001;
         transform: translateX(100%);
         transition: transform 0.3s ease-in-out;
         display: flex;
     }

     .nav-links.active {
         transform: translate(0, 0);
     }

     .nav-links li {
         opacity: 0;
         transform: translateY(20px);
         transition: opacity 0.3s ease, transform 0.3s ease;
     }

     .nav-links.active li {
         opacity: 1;
         transform: translateY(0);
     }

     .nav-links li:nth-child(1) {
         transition-delay: 0.1s;
     }

     .nav-links li:nth-child(2) {
         transition-delay: 0.2s;
     }

     .nav-links li:nth-child(3) {
         transition-delay: 0.3s;
     }

     .nav-links li:nth-child(4) {
         transition-delay: 0.4s;
     }

     .nav-links li:nth-child(5) {
         transition-delay: 0.5s;
     }

     .burger-btn {
         display: flex;
     }

     .header-contacts {
         align-items: flex-end;
         margin-right: 24px;
         margin-left: auto;
     }

     .burger-btn.active span:nth-child(1) {
         transform: translateY(11px) rotate(45deg);
     }

     .burger-btn.active span:nth-child(2) {
         opacity: 0;
     }

     .burger-btn.active span:nth-child(3) {
         transform: translateY(-11px) rotate(-45deg);
     }

     .hero {
         padding-top: 121px;
         margin-top: 0;
         gap: 30px 30px;
         align-items: flex-start;
     }

     .hero h1 {
         font-size: 44px;
     }

     .section-title,
     .cta h2,
     .specialist-info h3 {
         font-size: 40px;
     }

     .services-grid,
     .about-grid,
     .company-grid,
     .contacts-grid {
         grid-template-columns: 1fr;
         gap: 40px;
     }

     .specialist-grid {
         gap: 40px;
     }

     .cases-grid {
         grid-template-columns: 1fr;
     }

     .diploma-card {
         flex: 0 0 calc(50% - 16px);
     }

     .hero-stats {
         order: -1;
     }

     .modal {
         padding: 20px;
     }

     .modal-body {
         padding: 60px 24px;
     }

     .modal-body h2,
     .modal-body h2.case-title {
         font-size: 28px;
     }

     .footer-content {
         flex-direction: column;
         text-align: center;
         gap: 15px;
     }

     .footer-links {
         justify-content: center;
     }

     .about-image,
     .about-image img {
         height: auto;
     }

 }

 @media (max-width: 992px) {
     .hero-subtitle {
         font-size: 21px;
     }

     .hero-description,
     .hero-subtitle {
         margin-bottom: 30px;
     }

     .specialist-info h3 {
         font-size: 32px;
     }


 }

 @media (max-width: 768px) {
     .hero {
         grid-template-columns: 1fr;
         gap: 30px 40px;
     }

     .hero-image {
         order: -1;
     }

     .hero h1 {
         font-size: 36px;
     }

     .section-header {
         margin-bottom: 40px;
     }

     .specialist {
         margin: 0 20px;
         padding: 40px 40px;
     }

     .section-title,
     .cta h2,
     .specialist-info h3 {
         font-size: 32px;
     }

     .service-card h3,
     .case-card h3 {
         font-size: 24px;
     }

     .hero {
         padding: 201px 20px 80px 20px;
     }

     section,
     .cta {
         padding: 80px 20px;
     }

     .cta {
         margin: 0 20px;
     }


     .service-card,
     .case-card {
         padding: 40px 24px;
     }

     .specialist-grid {
         grid-template-columns: 1fr;
     }

     .specialist-info .position {
         margin-bottom: 30px;
     }


     .about-text p,
     .specialist-info p,
     .cta p {
         font-size: 16px;
         line-height: 1.5;
     }

     .about-image,
     .about-image img {
         height: auto;
     }

     .partners-slider {
         gap: 30px;
     }

     .modal-content {
         max-height: 95vh;
     }

     .diploma-card {
         flex: 0 0 100%;
     }

     footer {
         padding: 25px 20px 20px;
     }

     .footer-links a,
     .footer-copy {
         font-size: 12px;
     }
 }

 @media (max-width: 575px) {
     .specialist {
         padding: 30px 30px;
     }

     .hero-image {
         height: 500px;
     }

     .header-contacts {
         display: none;
     }
 }



 /* Animations */
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

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

 .hero h1,
 .hero-subtitle,
 .service-card,
 .stat-item,
 .case-card {
     animation: fadeIn 0.8s ease-out forwards;
 }


 .problems {
     background: linear-gradient(135deg, rgba(0, 157, 141, 0.03) 0%, rgba(0, 101, 177, 0.03) 100%);
     padding: 80px 40px 0 40px;
     max-width: 100%;
 }

 .problems-grid {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 40px 40px;
 }

 .problem-card {
     background: white;
     padding: 60px;
     border-radius: 24px;
     border: 1px solid rgba(0, 157, 141, 0.1);
     transition: all 0.3s;
     position: relative;
     overflow: hidden;
 }

 .problem-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: var(--gradient);
     transform: scaleX(0);
     transition: transform 0.3s;
 }

 .problem-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 60px rgba(0, 101, 177, 0.1);
     border-color: rgba(0, 157, 141, 0.3);
 }

 .problem-card:hover::before {
     transform: scaleX(1);
 }

 .problem-card h3 {
     font-size: 32px;
     font-weight: 700;
     margin-bottom: 32px;
     background: var(--gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     letter-spacing: -0.5px;
 }

 .problem-card ul {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .problem-card li {
     display: flex;
     align-items: flex-start;
     gap: 16px;
     line-height: 1.5;
     font-size: 16px;
     color: var(--text);
 }

 .problem-card li::before {
     content: '→';
     color: var(--color-teal);
     font-weight: 700;
     flex-shrink: 0;
 }

 @media (max-width: 1024px) {
     .problems {
         padding: 80px 20px 0 20px;
     }

     .problems-grid {
         grid-template-columns: 1fr;
         gap: 40px;
     }

     .problem-card {
         padding: 40px 24px;
     }

 }

 @media (max-width: 768px) {
     .problem-card h3 {
         font-size: 24px;
     }
 }


 /* ========================================
   COOKIE
   ======================================== */

 .cookieagry {
     position: fixed;
     bottom: 0;
     z-index: 9999;
     width: 100%;
 }

 .cookieagry-alert {
     display: -ms-flexbox;
     display: flex;
     -ms-flex-align: center;
     align-items: center;
     min-height: 6rem;
     pointer-events: auto;
     padding: 1rem 2rem 1rem 2rem;
     margin: 0 0 1rem;
     position: relative;
     border-radius: 10px;
     animation: alertpopupShow 0.5s forwards;
     background: #343434;
     color: #fff;
     max-width: 1090px;
     margin: 0 auto 2rem auto;
 }

 .cookieagry__text {
     margin: 0 3rem 0 0;
 }

 .cookieagry__text a {
     text-decoration: underline;
 }

 .ui-btn--38,
 .ui-code__btn {
     padding: 0.5rem 2rem;
     height: 38px;
     font-size: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 5px;
     cursor: pointer;
     transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
 }

 .ui-btn--white {
     background: #fff;
     color: #343434;
 }

 .ui-btn--white:hover {
     background: var(--color-blue);
     color: var(--color-white);
 }

 .ui-btn--white:active {
     background: var(--color-blue);
     color: var(--color-white);
     transform: scale(0.97);
 }

 @media(max-width:767px) {
     .cookieagry-alert {
         flex-direction: column;
         align-items: center;
         gap: 18px;
         width: 100%;
         max-width: 100%;
         align-items: stretch;
     }

     .ui-btn--38,
     .ui-code__btn {
         width: 100%;
         max-width: 100%;
     }

     .cookieagry__text {
         text-align: center;
         margin: 0;
     }

 }