@charset "utf-8";

:root {
  --primary: #1F50A1;
  --primary-light: #2765cc;
  --text: #333;
  --light: #f8f9fa;
  --gray: #666;
}

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

/* ====================== ТИПОГРАФИКА ====================== */
body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    font-weight: 400;           /* базовый вес */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 700;           /* жирный для заголовков */
    line-height: 1.25;
    color: white;
}

h1 {
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 700;
}

h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
}

h3 {
    font-size: 26px;
    font-weight: 600;
}

/* Дополнительные веса для акцентов */
.logo-text h1 {
    font-weight: 700;
}

.section-title {
    font-weight: 700;
}

.dark-service-card h3,
.dark-adv-item h3 {
    font-weight: 600;
}

/* Для лучшей читаемости текста */
p, .dark-adv-item p, .dark-service-card p {
    font-weight: 400;
    line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
  color: #ffaa00;
}

a:hover {
  color: var(--primary-light);
  color: white;
}

/* ==================== HEADER ==================== */
header {
  background: #121212;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 0;
  /* Убрали sticky и fixed */
}


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

.logo img {
  height: 60px;
}

.logo-text h1 {
  font-size: 22px;
  margin: 0;
  color: white;
}

.logo-text p {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
  color: #aaaaaa;
}

.contacts {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
  color: #fff;
  
}

.contact-item h4 {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 4px;
  text-align: left;
  color: #aaaaaa;
}

.contact-item a {
  font-weight: 600;
  font-size: 19px;
  color: white;
}

.contact-item a:hover {
  color: #ffaa00;
}

/* ====================== ШАПКА - ОДНА СТРОКА НА ДЕСКТОПЕ ====================== */
.header-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item h4 {
    font-size: 13px;
    color: #aaaaaa;
    margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
    font-size: 17px;
    color: white;
    font-weight: 500;
}

/* Мессенджеры в шапке */
.messengers-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.messengers-header img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.25s ease;
}

.messengers-header a:hover img {
    transform: scale(1.15);
}

/* ====================== БЛОК КОНТАКТОВ ====================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 35px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
}

.contact-info-item i {
    font-style: normal;
    font-size: 22px;
    color: #ffaa00;
    width: 28px;
}

/* Мессенджеры в контактах — компактные */
.messengers-block h3 {
    text-align: center;
    color: #ffaa00;
    font-size: 22px;
    margin-bottom: 20px;
}


.messengers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
    gap: 14px;
    max-width: 480px;
    margin: 0 auto;
}

.messenger-card {
    background: #252525;
    border-radius: 14px;
    padding: 8px 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.messenger-card:hover {
    background: #333;
    transform: translateY(-4px);
}

.messenger-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 8px;
}

.messenger-card span {
    display: block;
    font-size: 12px;
    color: #ddd;
    font-weight: 500;
}

/* ====================== АДАПТИВ ====================== */

@media (max-width: 1100px) {
    .header-wrap {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .contacts {
        gap: 15px;
        justify-content: center;
    }
    
    .messengers-header img {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .dark-contacts .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-item h4 {
        text-align: center
    }

    .messengers-grid {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 12px;
    }
    
    .messenger-card img {
        width: 48px;
        height: 48px;
    }
    
    .messenger-card span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .messengers-header img {
        width: 62px;
        height: 62px;
    }
    
    .logo {
            margin-left: 20px;
    }

    .logo-text {
            text-align: left;
    }

    .contact-item h4 {
        text-align: center
    }

    .messengers-grid {
        gap: 10px;
    }
}

/* ==================== PROMO ==================== */
.promo {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('images/promo-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 160px 20px 120px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.promo-content {
  max-width: 900px;
  margin: 0 auto;
}

.promo h1 {
  font-size: clamp(32px, 6vw, 54px);
  margin-bottom: 25px;
  color: white;
}

.promo .btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  margin-top: 30px;
  transition: all 0.3s;
   background: #252525;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
	    background: linear-gradient(90deg, #ff4d00, #ffaa00);
	
}

.promo .btn:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
  transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	    background: linear-gradient(90deg, #ffaa00, #ff4d00);
}



/* ==================== Остальные секции (без изменений) ==================== */
section {
  padding: 80px 20px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

/* Services, Advantages, Gallery, Contacts — оставляем как было */
.services-grid, .advantages-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card, .adv-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img, .gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.btn-order {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 26px;
  border-radius: 6px;
  margin-top: 15px;
  font-weight: 600;
}

/* ==================== НОВЫЙ БЛОК УСЛУГ (тёмный стиль) ==================== */
.dark-services {
    background: #1a1a1a;
    color: #fff;
    padding: 100px 20px;
}

.dark-services .container {
    max-width: 1280px;
    margin: 0 auto;
}

.dark-services .section-title {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 70px;
    text-align: center;
}

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

.dark-service-card {
    background: #252525;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.dark-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dark-service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.dark-service-card-body {
    padding: 30px 25px 35px;
    text-align: center;
}

.dark-service-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #fff;
}

.dark-service-card p {
    color: #bbbbbb;
    font-size: 15.5px;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 70px;
}

.dark-btn {
    display: inline-block;
    width: 100%;
    background: linear-gradient(90deg, #ff4d00, #ffaa00);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.dark-btn:hover {
    background: linear-gradient(90deg, #ffaa00, #ff4d00);
    transform: scale(1.03);
}

/* ==================== ТЁМНЫЙ БЛОК "БОЛЬШОЙ СТАЖ" ==================== */
.dark-about {
    background: #121212;
    color: #fff;
    padding: 100px 20px 80px;
}

.dark-about .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.dark-about .big-title {
    font-size: 52px;
    line-height: 1.2;
	color: #fff;
    margin-bottom: 16px;
}

.dark-about .subtitle {
    font-size: 18px;
    color: #aaaaaa;
    max-width: 700px;
    margin: 0 auto 80px;
}

/* ==================== БЛОК ПРЕИМУЩЕСТВ – 3 + 2 ==================== */
.dark-advantages {
    background: #1a1a1a;
    color: #fff;
    padding: 100px 20px;
}

.dark-advantages .section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 80px;
}

.dark-advantages-grid {
    max-width: 1100px;
    margin: 0 auto;
}

/* Первый ряд — 3 блока */
.row-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Второй ряд — 2 блока */
.row-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 760px;           /* ограничиваем ширину второго ряда */
    margin: 0 auto;
}

/* Общие стили карточек */
.dark-adv-item {
    text-align: center;
}

.dark-adv-number {
    width: 64px;
    height: 64px;
    background: #252525;
    color: #ffaa00;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid #333;
}

.dark-adv-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
	color: white;
}

.dark-adv-item p {
    color: #bbbbbb;
    font-size: 15.5px;
    line-height: 1.55;
}

/* Адаптив */
@media (max-width: 768px) {
    .row-1, .row-2 {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 0;
    }
    
    .row-2 {
        max-width: 100%;
    }
}

/* ==================== БЛОК "МОИ РАБОТЫ" – КОЛЛАЖ КАК В ПРИМЕРЕ ==================== */
.dark-gallery {
    background: #121212;
    padding: 100px 20px;
    color: #fff;
}

.dark-gallery .section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
	color: white;
}

.dark-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);           /* 2 колонки по умолчанию */
    gap: 10px;                                          /* без отступов */
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

/* Большое фото слева (как в примере) */
.dark-gallery-grid .item-big {
    grid-row: span 2;                                /* занимает 2 строки */
    grid-column: 1;                                  /* первый столбец */
}

/* Остальные фото занимают по одной ячейке */
.dark-gallery-grid .item {
    position: relative;
    overflow: hidden;
	
}

.dark-gallery-grid img {
    width: 100%;
    height: 100%;
	
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dark-gallery-grid img:hover {
    transform: scale(1.06);
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 992px) {
    .dark-gallery-grid {
        grid-template-columns: 1fr;                  /* на планшете — 1 колонка */
    }
    
    .dark-gallery-grid .item-big {
        grid-row: span 1;                            /* больше не растягиваем */
    }
}

@media (max-width: 768px) {
    .dark-gallery .section-title {
        font-size: 34px;
    }
}

/* Адаптив: на мобильных всё в одну колонку */
@media (max-width: 768px) {
    .dark-gallery-grid {
        grid-template-columns: 1fr;   /* Вертикально по одному */
    }
}


/* ==================== АДАПТИВНЫЙ БЛОК КОНТАКТОВ ==================== */
.section .dark-contacts {
    background: #1a1a1a;
}
.dark-contacts {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 20px;
}

.dark-contacts .container {
    max-width: 1280px;
    margin: 0 auto;	
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: start;
}

.dark-contacts h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

/* Левая колонка */
.contacts-info {
    font-size: 18px;
    line-height: 1.7;
}

.contacts-info p {
    margin-bottom: 18px;
}

.contacts-info a:hover {
    color: #ffaa00;
}

.icon {
    color: #ffaa00;
    margin-right: 12px;
    width: 22px;
    display: inline-block;
}

/* Социальные иконки */
.socials {
    margin-top: 30px;
    display: flex;
    gap: 16px;
}

.socials a {
    width: 50px;
    height: 50px;
    background: #1f1f1f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: 0.3s;
}

.socials a:hover {
    background: #ffaa00;
    color: #000;
}

/* Контейнер карты */
.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    aspect-ratio: 16 / 9;        /* на компьютере — широкий прямоугольник */
    min-height: 420px;
}

/* Белая плашка */
.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
    background: white;
    color: #000;
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.map-overlay strong {
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
}

.map-overlay span {
    font-size: 15px;
    color: #444;
}

/* На мобильных делаем карту КВАДРАТНОЙ */
@media (max-width: 992px) {
    .dark-contacts .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .map-container {
        aspect-ratio: 1 / 1;     /* квадрат на телефоне */
        min-height: 380px;
    }
}

@media (max-width: 600px) {
    .map-container {
        min-height: 340px;
    }
}


/* Footer */
footer {
  background: #121212;
  color: #ccc;
  text-align: center;
  padding: 35px 20px;
  font-size: 14px;
}

/* ==================== МОДАЛЬНАЯ ФОРМА ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: #1a1a1a;
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 30px;
    color: #777;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #ffaa00;
}

.modal h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 32px;
}

/* Поля формы */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #ddd;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffaa00;
    outline: none;
}

/* ==================== КОМПАКТНЫЕ ЧЕКБОКСЫ ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
    margin-top: 10px;
}

.service-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #252525;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #444;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15.5px;
    color: #ddd;
}

.service-label:hover {
    background: #2f2f2f;
    border-color: #ffaa00;
}

.service-label input[type="checkbox"] {
    width: 18px;
    // height: 18px;
    accent-color: #ffaa00;
    cursor: pointer;
}

/* Адаптив под телефон */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;           /* на телефоне — в одну колонку */
        gap: 5px;
    }
    
    .service-label {
        padding: 14px 16px;
        font-size: 16px;
    }
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ff4d00, #ffaa00);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Сообщения */
.form-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.success {
    background: #14532d;
    color: #4ade80;
}

.error {
    background: #7f1d1d;
    color: #f87171;
}

/* Адаптив под смартфоны */
@media (max-width: 600px) {
    .modal-content {
        padding: 25px 20px;
    }
    
    .modal h2 {
        font-size: 26px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}




/* Компактная форма заявки на экранах ≤ 600px (чтобы помещалась по высоте) */
@media (max-width: 600px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 20px 18px;
        max-height: 94vh;
        overflow-y: auto;
        border-radius: 14px;
    }
    
    .modal h2 {
        font-size: 23px;
        margin-bottom: 12px;
    }
    
    .modal-close {
        top: 14px;
        right: 18px;
        font-size: 27px;
    }
    
    .form-group {
        margin-bottom: 11px;
    }
    
    .form-group label {
        margin-bottom: 6px;
        font-size: 14.5px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15.5px;
    }
    
    .services-grid {
        gap: 8px 12px;
        margin-top: 6px;
    }
    
    .service-label {
        padding: 10px 13px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 17px;
        margin-top: 8px;
    }
}