
:root {
  --accent: #2563eb;
  --dark: #0f172a;
  --text: #1e293b;
  --bg: #f8fafc;
  --radius: 14px;
  --container: 1180px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}

/* Container */
.fs-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.fs-header {
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e2e8f0;
}
.fs-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fs-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.fs-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}
.fs-nav a:hover {
  color: var(--accent);
}

/* Hero */
.fs-hero {
    padding: 100px 20px;
    /* Фон с изображением */
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        url('/images/hero-bg.jpg');
    /* путь к твоему изображению */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #0f172a;
    /* цвет текста поверх фона */
    text-align: left;
    border-radius: 0 0 var(--radius) var(--radius);
    display: flex;
    align-items: center;
}


.fs-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.fs-hero p {
    
    color: #0f172a;
}


.fs-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #fff;
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

/* Features */
.fs-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Main content */
.fs-main {
  background: #fff;
  margin-top: 40px;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Footer */
.fs-footer {
  margin-top: 50px;
  padding: 30px 0;
  background: #0f172a;
  color: #fff;
}
.fs-footer-inner {
  text-align: center;
}

/* ===== FortStroi: современное меню ===== */
.fs-nav { background: transparent; position: sticky; top: 0; z-index: 60; }
.fs-nav-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 20px; }

/* Лого / десктоп */
.fs-logo { font-weight:700; color:var(--accent); font-size:1.25rem; }

/* Модуль меню (контейнер получает класс fs-menu благодаря Module class suffix) */
.fs-menu-wrapper .fs-menu, /* контейнер может иметь .fs-menu */
.fs-menu-wrapper > .moduletable {}

/* Стили для списка меню (подстраиваем под вывод mod_menu) */
.fs-menu-wrapper ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:22px;
  align-items:center;
}
.fs-menu-wrapper ul li {
  position:relative;
}
.fs-menu-wrapper ul li a {
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  padding:8px 10px;
  border-radius:10px;
  display:inline-block;
}
.fs-menu-wrapper ul li a:hover,
.fs-menu-wrapper ul li a:focus {
  color:var(--accent);
  background: rgba(43,138,239,0.06);
}

/* Подменю (dropdown) */
.fs-menu-wrapper ul li ul {
  position:absolute;
  top:100%;
  left:0;
  min-width:200px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(15,23,42,0.08);
  display:none;
  padding:8px 0;
  z-index:80;
}
.fs-menu-wrapper ul li:focus-within > ul,
.fs-menu-wrapper ul li:hover > ul {
  display:block;
}
.fs-menu-wrapper ul li ul li a { display:block; padding:8px 16px; color:var(--text); }

/* Кнопка гамбургер — только для мобильных */
.fs-hamburger {
  display:none;
  background:transparent;
  border:0;
  padding:8px;
  cursor:pointer;
  margin-left:auto;
}
.fs-hamburger-box { width:28px; height:18px; display:inline-block; position:relative; }
.fs-hamburger-inner, .fs-hamburger-inner::before, .fs-hamburger-inner::after {
  display:block;
  background:var(--dark);
  height:3px;
  border-radius:3px;
  position:absolute;
  left:0; right:0;
}
.fs-hamburger-inner { top:50%; transform:translateY(-50%); }
.fs-hamburger-inner::before { content:''; top:-8px; }
.fs-hamburger-inner::after  { content:''; top:8px; }

/* Мобильное поведение */
@media (max-width:900px) {
  .fs-hamburger { display:inline-block; }
  .fs-menu-wrapper ul { flex-direction:column; gap:0; display:none; width:100%; }
  .fs-menu-wrapper ul li a { padding:12px 16px; border-bottom:1px solid rgba(15,23,42,0.04); }
  .fs-menu-wrapper.open ul { display:flex; background:#fff; border-radius:10px; padding:8px 0; box-shadow: 0 8px 30px rgba(2,6,23,0.08); }
  /* Подменю на мобильных — раскрывается под элементом */
  .fs-menu-wrapper ul li ul { position:static; box-shadow:none; display:none; padding-left:12px; }
  .fs-menu-wrapper ul li.open > ul { display:block; }
}


 /* Контейнер двух колонок hero */
 .fs-hero-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 40px;
     padding: 40px 0;
 }

 .fs-hero-left {
     flex: 1;
 }

 .fs-hero-right {
     flex: 1;
     display: flex;
     justify-content: flex-end;
 }

 /* Карточка */
 .fs-hero-card {
     background: #ffffff;
     color: #0f172a;
     padding: 20px;

     box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
     width: 100%;
     max-width: 420px;
 }

 /* Заголовок */
 .fs-hero-card h3 {
     margin-bottom: 20px;
     font-size: 22px;
     font-weight: 700;
 }

 /* Grid 2 колонки */
 .fs-hero-info-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 20px;
 }

 /* Контент */
 .fs-hero-info-col ul {
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .fs-hero-info-col li {
     margin-bottom: 14px;
     font-size: 15px;
     line-height: 1.35;
 }

 /* Вложенный список преимуществ */
 .fs-hero-ul-inner {
     padding-left: 18px;
     margin-top: 8px;
 }

 .fs-hero-ul-inner li {
     list-style: disc;
     margin-bottom: 6px;
 }

 /* Ссылки */
 .fs-hero-info-col a {
     color: var(--accent);
     text-decoration: none;
     font-weight: 600;
 }

 /* Адаптив */
 @media (max-width: 900px) {
     .fs-hero-inner {
         flex-direction: column;
         text-align: center;
     }

     .fs-hero-right {
         justify-content: center;
     }

     .fs-hero-info-grid {
         grid-template-columns: 1fr;
     }

     .fs-hero-card {
         max-width: 100%;
     }
 }

 /* ===================== */
 /* Заголовки h1, h2, h3 */
 /* ===================== */

 h1,
 .fs-hero h1 {
     font-size: 2.6rem;
     /* основной размер */
     font-weight: 700;
     /* жирный */
     line-height: 1.2;
     color: #0f172a;
     /* тёмный текст */
     margin-bottom: 20px;
 }

 h2 {
     font-size: 2rem;
     /* размер для секций */
     font-weight: 700;
     line-height: 1.3;
     color: #1e293b;
     /* основной текст */
     margin-bottom: 24px;

     /* центрируем для секций */
     position: relative;
 }

 /* Подчёркивание с градиентом под h2 */
 h2::after {
     content: '';
     display: block;
     width: 60px;
     height: 4px;
     background: linear-gradient(90deg, #2563eb, #3b82f6);
     margin: 12px auto 0 auto;
     border-radius: 2px;
 }

 /* h3 — подзаголовки карточек */
 h3 {
     font-size: 1.5rem;
     font-weight: 600;
     line-height: 1.4;
     color: #0f172a;
     margin-bottom: 16px;
 }

 /* Параграфы */
 p,
 .fs-hero p,
 .fs-main p {
     font-size: 1.3rem;
     line-height: 1.6;
     color: #000000;
     margin-bottom: 16px;
 }

 /* Ссылки внутри текста */
 a {
     color: var(--accent);
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s, text-decoration 0.3s;
 }

 a:hover,
 a:focus {
     color: #1d4ed8;
     text-decoration: underline;
 }

 /* ===================== */
 /* Hero — улучшенные заголовки и кнопки */
 /* ===================== */
 .fs-hero h1 {
     font-size: 3rem;
     font-weight: 700;
     color: var(--dark);
     margin-bottom: 24px;
 }

 .fs-btn {
     display: inline-block;
     margin-top: 20px;
     padding: 14px 28px;
     background: var(--accent);
     color: #fff;
     border-radius: var(--radius);
     font-weight: 700;
     text-decoration: none;
     transition: all 0.3s;
 }

 .fs-btn:hover {
     background: #1d4ed8;
     transform: translateY(-2px);
 }

 /* ===================== */
 /* Карточки, блоки, секции */
 /* ===================== */
 .fs-hero-card h3 {
     font-size: 1.6rem;
     color: var(--dark);
     margin-bottom: 20px;
 }

 .fs-hero-info-col li {
     font-size: 0.95rem;
     line-height: 1.5;
     color: #475569;
 }

 /* Вложенные списки */
 .fs-hero-ul-inner li {
     font-size: 0.9rem;
     color: #64748b;
 }

 /* ===================== */
 /* Адаптив для заголовков */
 /* ===================== */
 @media (max-width: 900px) {

     h1,
     .fs-hero h1 {
         font-size: 2.2rem;
     }

     h2 {
         font-size: 1.7rem;
     }

     h3 {
         font-size: 1.3rem;
     }
 }


 /* Если нужно вынести в CSS-файл */
 .works-gallery .works-item img {
     transition: transform 0.5s ease;
 }

 .works-gallery .works-item:hover img {
     transform: scale(1.05);
 }