:root {
    --color-primary: #007bff;
    --color-secondary: #28a745;
    --color-dark: #222;
    --color-light: #f9f9f9;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
  }
  
  a { text-decoration: none; }
  
  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
  }
  /* Heroslier */
  .hero-slider .slide {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .background-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  .slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
  }
  
  .slide-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 700px;
    color: #fff;
  }
  
  .slide-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
  }
  
  .slide-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
  }
  
  .slide-button {
    background-color: #c8e028;
    color: #000;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s;
  }
  
  .slide-button:hover {
    background-color: #e3f35b;
  }
  
  /* /Heroslider */


  /* Hero */
  .hero-section {
    position: relative;
    height: 100vh;
    background: url('/assets/project14.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 5%;
    color: white;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 64, 128, 0.45); /* синий дымчатый оттенок */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
  }
  
  .hero-button {
    background: #007bff;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
  }
  
  .hero-button:hover {
    background: #0056b3;
  }
  
  /* Services */
  .services-area {
    background: var(--color-light);
    padding: var(--space-lg) 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
  }
  
  .about-list li::before {
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
  }
  
  .service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
  }
  
  .service-item {
    background: #fff;
    border-radius: 8px;
    padding: var(--space-md);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  
  .service-item .icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
  }
  
  /* About */

  .cta-btn {
    background-color: #1e88e5;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
  }
  .cta-btn:hover {
    background-color: #1565c0;
  }
  .about-section {
    background-color: #ffffff;
    padding: 100px 20px;
    
  }
  .subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
  }
  
  .about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    color: #1e1e1e;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .about-list {
    list-style: none;
    padding-left: 0;
  }
  
  .about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
  }
  
  .about-list li::before {
   
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  
  /* Footer */
  footer {
    background: var(--color-dark);
    color: #e2dcdc;
    text-align: center;
    padding: var(--space-md) 0;
    margin-top: var(--space-lg);
  }
  /* Header */
  /* --- Верхнее меню --- */

.logo-description {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  font-weight: bold;
  font-size: 20px;
  color: #00AEEF; /* цвет логотипа */
  text-decoration: none;
}
.logo-description img {
  height: 60px;
  width: 60px;
  margin-right: 1.5rem;
   display: block; 
}

.company-description {
  color: white;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  margin-right: 1.5rem;
}

.main-nav .nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00AEEF; /* синий при наведении и активная */
}
.main-nav .nav-links li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.25s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.main-nav .nav-links li a:hover,
.main-nav .nav-links li a.active {
  color: #2428ff;
}

.main-nav .nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}

.main-nav .nav-links li a:hover::after,
.main-nav .nav-links li a.active::after {
  width: 100%;
}

.phone {
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75); /* полупрозрачный тёмный фон */
  padding: 10px 30px;
  border-radius: 40px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header-btn {
  
  color: #1a60f5d3;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.header-btn:hover {
  background: #ffffff;
}

.header-glass {
  background: rgba(24, 24, 24, 0.13);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2rem;
  padding: 0.8rem 5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  max-width: 1200px;
  margin: 0 auto;
}


  /* Отступ, чтобы контент не прятался под фиксированным хэдером */
  body {
    margin: 0;
    padding: 0;
    background: var(--color-light);
  }
  /* Footer */
  .footer-spaciaz {
    background: linear-gradient(to bottom, #111507, #1b1e0f);
    color: white;
    padding: 80px 20px 40px;
    text-align: left;
  }
  
  .footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
  }
  
  .footer-col h5 {
    font-size: 12px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.8px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col ul li a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
  }
  
  .footer-col ul li a:hover {
    color: #1234f5c5;
  }
  
  .contact .phone,
  .contact .email {
      font-size: 20px;
    font-weight: bold;
    color: white;
    border-bottom: 2px solid #3441fcda;
    display: inline-block;
    margin-bottom: 12px;
  }
  
  .contact .email {
    font-weight: 600;
    font-size: 18px;
  }
  
  .socials {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .socials a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
  }
  
  .socials a:hover {
    color: #1a67f7;
  }
  
  .footer-logo {
    display: flex;
    justify-content: center;  /* по горизонтали */
    align-items: center;  
    margin: -150px auto ;
    padding: 0;
    text-align: center;
    max-width: 200px; /* или подбери вручную */
  }
  .footer-logo img {
    width: 300%;
    height: 300%;
    margin-bottom: 10px;
   
    display: inline-block;
  }

  .footer-logo img {
    filter: brightness(1.1) saturate(1.2) drop-shadow(0 0 10px rgba(0, 123, 255, 0.671));
  }
  .footer-top,
.footer-logo,
.footer-bottom {
  position: relative;
  z-index: 2;
}


.footer-projenix {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.322)),
    url('/assets/footer-bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 20px 50px;
}

  
  .site-footer {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  
  
  .footer-bottom {
    text-align: center;
    color: #ccc;
    font-size: 13px;
    padding-top: 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.418);
  }
  
  /* Форма подписки */
  .subscribe-form {
    display: flex;
    gap: 8px;
  }
  .subscribe-form input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
  }
  .subscribe-form button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
  }
  /* Нижняя строка */
  .footer-bottom {
    text-align: center;
    padding: 12px 0 30px;
    border-top: 1px solid #444;
    margin-top: 40px;
    color: #777;
  }
  /* -------------------------
   Раздел «О нас»
------------------------- */
.about-section {
    padding: 201px 0;
    background: #fff;
  }
  .about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }
  .about-title {
    position: relative;
    font-size: 2rem;
    margin-bottom: 40px;
    padding-left: 24px;
    color: var(--color-dark);
  }
  .about-title__accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--color-primary);
  }
  .about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }
  .about-text {
    flex: 1 1 400px;
    color: #333;
    line-height: 1.6;
  }
  .about-text p {
    margin-bottom: 16px;
  }
  .about-list {
    list-style: disc inside;
    margin-bottom: 24px;
  }
  .about-list li {
    margin-bottom: 8px;
  }
  .about-btn {
    margin-top: 16px;
  }
  .about-image {
    flex: 1 1 400px;
  }
  .about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }
  /* -------------------------
   Блок Features
------------------------- */
.features-area {
  background: var(--color-light);
  padding: 50px 0;
}
.features-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.feature-card {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.feature-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.feature-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}
.feature-subtitle {
  font-size: 0.9rem;
  color: #555;
}
.hero-slider .slide {
  position: relative;
  height: 100vh;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
  margin: 0;        
  padding: 0;
  display: flex !important;
  align-items: center;
}
.slide-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: left;
  padding: 0 5%;
}
.hero-slider .slide::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;

  z-index: 5;
}
/* 1) Шапка поверх слайдера, прозрачная, а при скролле — белая */

/* угловой логотип поверх hero */
.corner-logo{
  position: fixed;
  top: -80px;
  left: 60px;
  z-index: 60;                     /* выше видео/hero */
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(10, 18, 28, 0); /* лёгкая подложка */
  transition: opacity .35s ease, transform .35s ease;
}
.corner-logo img{
  height: 300px;                    /* можно 52px, если хочется побольше */
  display: block;
}
.corner-logo--hide{
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* (по желанию) скрывать на очень узких экранах */
@media (max-width: 640px){
  .corner-logo{ display: none; }
}

/* если нужно менять вид шапки после скролла */
.site-header{
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled{
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}


.site-header {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.site-header.scrolled {
  background: #ffffff00;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Стили для HeroSlider */
.hero-slider .slide {
  position: relative;
}

/* Чёрный полупрозрачный слой поверх фонового изображения */
.hero-slider .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.651);
  z-index: 1;
}

/* Контент (заголовок, текст, кнопка) */
.hero-slider .slide-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding: 20px;
  margin-left: 50px;
}

/* Заголовок */
.hero-slider .slide-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Контейнер для всех строк subtitle */
.hero-slider .slide-subtitle-container {
  margin-bottom: 1.5rem;
}

/* Одна строка subtitle */
.hero-slider .slide-subtitle {
  font-size: 2rem;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  word-break: break-word;
}


.hero-slider .slide-button {
  display: inline-block;
  background-color: #007bff65;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
}

/* Hover-эффект для кнопки */
.hero-slider .slide-button:hover {
  background-color: #0056b3;
}

/* Медиазапросы для мобильных: уменьшаем отступы и шрифты */
@media screen and (max-width: 768px) {
  .hero-slider .slide-content {
    max-width: 90%;
    margin-left: 20px;
    padding: 10px;
  }
  .hero-slider .slide-title {
    font-size: 2rem;
  }
  .hero-slider .slide-subtitle {
    font-size: 0.9rem;
  }
}


/* 3) Контент поверх слайда */
.slide-content {
  position: relative;
  z‐index: 2;
  color: #fff;
  padding: 0 5%;
  max-width: 600px;
}
.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.slide-content .btn {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* 4) Стили для точек карусели (dots) */
.hero-slider .slick-dots {
  bottom: 30px;
}
.hero-slider .slick-dots li button:before {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.hero-slider .slick-dots li.slick-active button:before {
  color: #fff;
}

/* 5) Отступы между разделами */
/* project portfolio */
.projects-section {
  padding: 80px 0;
  padding-top: 150px;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.view-all-btn {
  background: #f5f5f5;
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
  color: #000;
}

.circle-btn {
  background: #397adc;
  border-radius: 50%;
  padding: 5px 8px;
  font-size: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.project-image {
  position: relative;
}

.project-image img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 10px;
  font-size: 10px;
  border-radius: 20px;
  background-color: #f5f5f5;
  font-weight: bold;
  color: #000;
}

.badge.completed {
  background-color: #3980dc;
}

.badge {
  background-color: #1f9affcc;
}

.project-info {
  padding: 20px;
}

.project-location {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.project-title {
  font-weight: 1500;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10; /* поставь 2, две строки */
  overflow: hidden;
}


/* Фиксированная шапка */


/* Центруем контейнер и распределяем участники */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

/* Логотип */
.site-header .logo img {
  height: 40px;
  user-select: none;
  
  
}

/* Основная навигация */
.main-nav .nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .nav-links li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.25s;
}

.main-nav .nav-links li a.active::after {
  background: white;
}





/* Блок с переключателем языков (можете доработать внутри) */
.header-controls {
  margin-left: 1rem;
}

/* Отступы для контента страницы, чтобы шапка не закрывала */


/* Мобильное меню (грубо) */
@media (max-width: 768px) {
  .main-nav .nav-links {
    display: none; /* сюда можно внедрить бургер */
  }
}
.about-area {
  padding: 4rem 0;
  background: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1 1 400px;
  line-height: 1.6;
}

.about-text ul {
  list-style: disc inside;
  margin: 1rem 0;
}

.about-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}
.site-header .logo img {
  height: 70px; 
  width: auto;
}

@media 
  only screen and (-webkit-min-device-pixel-ratio: 2), 
  only screen and (min-resolution: 192dpi) {
  .site-header .logo img {
    content: url('/assets/logo.png');
  }
}

/* --- переменные в :root --- */
:root {
  
  --color-primary:   #007bff;   /* ваш фирменный синий */
  --color-dark:      #1f2937;   /* почти ч/б для текста */
  --color-light:     #f4f8fc;   /* очень светлый голубой фон */
  --radius:          8px;
  --gap:             2rem;
}

/* --- контейнеры --- */
.container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* --- секция About --- */
.about-area {
  background-color: var(--color-light);
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  margin: 0.5rem auto 0;
}

/* --- Грид для двух колонок --- */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
  align-items: center;
}

/* --- Текстовая часть --- */
.about-text p {
  color: var(--color-dark);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-text h3 {
  color: var(--color-dark);
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

/* --- Список с кастомными буллетами --- */
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
  line-height: 1;
}

/* --- Картинка --- */
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: block;
}

/* --- Мобильная адаптация --- */
@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-image {
    order: -1; /* картинку первым на смартфонах */
    margin-bottom: 2rem;
  }
}
/* контейнер–слайд */
.partner-slide {
  width: 120px;      /* или любое другое подходящее значение */
  height: 150px;     /* одинаковая высота для всех логотипов */
  padding: 5px;     /* отступ вокруг логотипа */
  box-sizing: border-box;
  background: #fff;  /* цвет фона, если хотим белые «плитки» */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 0 8px;     /* расстояние между слайдами */
}

/* собственно картинка */
.partner-slide img {
  max-width: 100%;
  max-height: 100%;
  align-items: center;
  object-fit: contain;
}
/* === Стили для страницы «Контакты» === */

.contacts-page {
  padding: 150px 20px;
  background-color: #f8f9fa;
  font-family: Arial, sans-serif;
  color: #333;
}

.contacts-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.contacts-left {
  flex: 1 1 400px;
  padding-right: 20px;
  box-sizing: border-box;
}

.contacts-right {
  flex: 1 1 500px;
  height: 500px;
  box-sizing: border-box;
  padding-left: 20px;
}

.contacts-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
  border-left: 4px solid #004e92;
  padding-left: 12px;
}

.contacts-company {
  font-size: 20px;
  font-weight: bold;
  margin: 8px 0;
}

.contacts-address {
  font-size: 14px;
  margin-bottom: 24px;
  color: #555;
}

.contacts-form {
  display: flex;
  flex-direction: column;
}

.field-label {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  font-size: 14px;
  color: #444;
}

.field-input,
.field-textarea {
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #286090;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.field-input:focus,
.field-textarea:focus {
  border-color: #004e92;
}

.field-textarea {
  resize: vertical;
}

.submit-button {
  width: 140px;
  padding: 10px 0;
  background-color: #004e92;
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: #00356b;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

@media screen and (max-width: 900px) {
  .contacts-container {
    flex-direction: column;
  }
  .contacts-left,
  .contacts-right {
    flex: 1 1 100%;
    padding: 0;
  }
  .contacts-right {
    margin-top: 30px;
    height: 400px;
  }
}

/* ================================ */
/* src/components/LicenseModal.css */

/* Затемнённый фон по всему экрану */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Содержимое модалки (увеличенное изображение + кнопка закрыть) */
.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background-color: #fff;
  padding: 10px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Кнопка «закрыть» в правом верхнем углу */
.modal-close-button {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 2rem;
  color: #333;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* Сама картинка внутри модалки */
.modal-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}

/* Подпись (заголовок/название лицензии) под картинкой */
.modal-title {
  margin-top: 8px;
  font-size: 1rem;
  text-align: center;
  color: #333;
}
/* src/components/LicensesPage.css */

/* Общий контейнер страницы */
.licenses-container {
  padding: 80px;
  max-width: 1200px;
  margin: 200px auto;
}

/* Заголовок страницы */
.licenses-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Сетка миниатюр лицензий */
.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  /* при желании можно заменить на flex */
  gap: 16px;
}

/* Карточка одной лицензии (миниатюра + подпись) */
.license-card {
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}

.license-card:hover {
  transform: scale(1.03);
}

/* Миниатюра (уменьшенное изображение) */
.license-thumbnail {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

/* Подпись под миниатюрой */
.license-caption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.2;
}
/* ----- страница проекта ----- */
.project-detail {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10%;
  padding: 60px 20px;
}

.project-city { color: #6b7280; margin-bottom: 8px; }
.project-title { font-size: 18px; font-weight: 800; margin: 0 0 16px; }

/* инфоблок */
.project-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
  margin-bottom: 32px;
  font-size: 14px;
}
.project-stats > div span { display:block; font-size:12px; color:#6b7280; margin-bottom:4px; }
.project-stats > div strong { color:#111827; }
@media (max-width: 1024px) { .project-stats { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .project-stats { grid-template-columns: repeat(2,1fr); } }

/* главное изображение */
.project-hero {
  width: 100%;
  max-width: 960px;
  max-height: 520px;
  object-fit: cover;
  display: block;
  margin: 0 auto 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* описание + сайдбар */
.project-body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .project-body { grid-template-columns: 1fr; gap: 24px; }
}

.project-desc h2 { font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.project-desc p  { font-size: 16px; line-height: 1.7; color: #374151; }

.project-side h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.project-side ul { list-style: disc; padding-left: 18px; color: #374151; }
.project-side li { margin: 6px 0; }

/* ----- карточки проектов (список) ----- */
.project-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: .25s ease;
  text-decoration: none;
  color: inherit;
}
.project-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.12); transform: translateY(-2px); }

.project-card .thumb { position: relative; padding-top: 56.25%; overflow: hidden; } /* 16:9 */
.project-card .thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.project-card .info { padding: 16px; }
.project-card .info .muted { color: #6b7280; font-size: 12px; margin: 0 0 4px; }
.project-card .info h3 { font-size: 16px; font-weight: 700; margin: 0; }

.projects-wrap { max-width: 100%; margin-top: 10%; padding: 5px 100px; }
.projects-grid { display: grid; grid-template-columns: repeat(1,1fr); gap: 24px; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px){ .projects-grid { grid-template-columns: repeat(3,1fr); } }

.project-card {
  display: block; background: #1b76ff7c; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: .25s ease; color: inherit; text-decoration: none;
}
.project-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.12); transform: translateY(-2px); }

/* контейнер фиксированной пропорции 16:9 */
.card-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.card-info { padding: 16px; }
.card-info .meta { font-size: 12px; color: #6b7280; margin-bottom: 4px; }
.card-info h3 { font-size: 16px; font-weight: 700; margin: 0; }
