* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    /* Сначала ищем Inter, если нет — Segoe UI (Windows), затем Roboto (Android) и т.д. */
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; }
.ic-box { background: #000; color: #fff; padding: 5px 10px; font-weight: bold; font-size: 20px; }
.brand-text { font-size: 14px; font-weight: 700; letter-spacing: 1px; line-height: 1; }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; }
nav a:hover { color: #000; font-weight: 700; }

/* Hero Slider with ZOOM Effect */
.hero { height: 100vh; position: relative; overflow: hidden; color: #fff; }
.hero-slides { position: absolute; inset: 0; z-index: 1; }

.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; 
    /* Плавность смены прозрачности и очень долгий зум */
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    transform: scale(1); 
}

.hero-slide.active { 
    opacity: 1; 
    transform: scale(1.15); /* Увеличиваем слайд, пока он активен */
    z-index: 2;
}

.overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 3; }
.hero-content { position: relative; z-index: 4; text-align: center; padding-top: 25vh; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }

.btn-main {
    padding: 14px 35px;
    text-decoration: none;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
    font-weight: 600;
}
.btn-main:hover { background: #fff; color: #000; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.3); color: #fff; border: none;
    width: 60px; height: 60px; font-size: 30px; cursor: pointer; z-index: 10; border-radius: 50%;
}
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; }
.dot.active { background: #fff; transform: scale(1.3); }

/* About & Services */
.about, .services { padding: 100px 0; background: #fdfdfd; }
.section-title { font-size: 2.8rem; margin-bottom: 25px; text-align: center; }
.subtitle { text-align: center; margin-bottom: 50px; color: #666; font-size: 1.1rem; }

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.highlight-box {
    background: #f4f4f4; padding: 25px; border-left: 5px solid #000;
    margin-top: 30px; border-radius: 5px;
}

/* Dropdown Services */
.services-dropdown-container { max-width: 900px; margin: 0 auto; }
.dropdown-wrapper { margin-bottom: 40px; }

.services-select {
    width: 100%; padding: 20px; font-size: 1.1rem; border: 2px solid #000;
    border-radius: 8px; cursor: pointer; appearance: none;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 20px center / 18px;
}

.selected-service-card {
    background: #fff; border-radius: 15px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease;
}
.card-inner { display: grid; grid-template-columns: 1fr 1.2fr; }
.card-img-side img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; }
.card-text-side { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.card-text-side h3 { font-size: 1.8rem; margin-bottom: 20px; }

.btn-main.dark { border-color: #000; color: #000; width: fit-content; }
.btn-main.dark:hover { background: #000; color: #fff; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==================== STYLED CONTACT US ==================== */
footer {
    padding: 100px 0;
    background: #fdfdfd; /* Светлый фон как на скрине */
    text-align: center;
}

.contact-header {
    margin-bottom: 60px;
}

.wanna-say {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 400;
}

.contact-header h2 span {
    font-weight: 300;
    color: #555;
}

/* Сетка с иконками */
/* Обновленный блок в style.css */
.contact-info-grid {
    display: grid;
    /* Изменяем на 2 колонки с автоматической шириной */
    grid-template-columns: repeat(2, auto); 
    /* Центрируем колонки по горизонтали */
    justify-content: center; 
    /* Расстояние между адресом и почтой */
    gap: 100px; 
    margin-bottom: 80px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Обеспечиваем центрирование текста внутри каждого блока */
    text-align: center; 
    /* Ограничиваем ширину, чтобы текст не растягивался слишком сильно */
    max-width: 350px; 
}

.info-icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: #333;
}

.info-item h4 {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #777;
    font-size: 0.95rem;
}

/* Стилизация формы */
.footer-form-styled {
    max-width: 900px;
    margin: 0 auto;
}

.input-row {
    margin-bottom: 30px;
}

.input-row.double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
footer {
    padding: 100px 0;
    background: #f4f4f4; /* Изменено с #fdfdfd на более выраженный серый */
    text-align: center;
}
/* Добавляем поддержку textarea в общие стили */
.footer-form-styled input, 
.footer-form-styled select,
.footer-form-styled textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit; /* Чтобы шрифт не менялся на стандартный системный */
}

/* Стили конкретно для поля сообщения */
.footer-form-styled textarea {
    display: block;
    resize: vertical;      /* Позволяет тянуть поле только вниз */
    min-height: 120px;     /* Начальная высота как на скриншоте */
    line-height: 1.6;
    margin-top: 20px;      /* Отступ от верхних полей */
}

.footer-form-styled textarea:focus {
    border-bottom-color: #000;
}

.footer-form-styled input[type="tel"] {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.footer-form-styled input[type="tel"]:focus {
    border-bottom-color: #000;
}
/* Кастомная стрелочка для select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
}

.btn-submit {
    margin-top: 40px;
    background: transparent;
    border: 1px solid #333;
    padding: 12px 40px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #000;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .input-row.double {
        grid-template-columns: 1fr;
    }
}/* ==================== LOGISTICS (GFF) ==================== */
.logistics {
    padding: 100px 0;
    background-color: #fcfcfc; /* Очень легкий серый фон для отделения от других блоков */
    border-top: 1px solid #eee;
}

.logistics-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.logistics-text p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.logistics-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.method {
    background: #fff;
    padding: 30px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}

.method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #000;
}

.method span {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.method h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .logistics-methods {
        grid-template-columns: 1fr 1fr; /* 2 по 2 на планшетах */
    }
}

@media (max-width: 480px) {
    .logistics-methods {
        grid-template-columns: 1fr; /* В один ряд на телефонах */
    }
}

.hero-content {
    padding-top: 15vh;
}

.hero-content h1 {
    margin-bottom: 30px;   /* расстояние между заголовком и подзаголовком */
}

.hero-content p {
    margin-bottom: 55px;   /* главное расстояние до кнопки */
    max-width: 700px;      /* чтобы текст не растягивался слишком широко */
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn-main {
    margin-top: 10px;
}
/* ==================== WHY CHOOSE US ==================== */
.why-choose {
    padding: 80px 0;
    background-color: #E6E9EB; /* Темный фон для контраста */
    color: #fff;
}

.why-choose .section-title {
    color: #0E0F0F;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки в ряд */
    gap: 30px;
}

.benefit-card {
    background: #EDEDED;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #AAB0B3;
}

.benefit-card:hover {
    background: #E6E9EB;
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
color:  #0E0F0F;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #656B6E;
    line-height: 1.5;
}

/* Адаптивность для мобильных */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr; /* 2 по 2 на планшетах */
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* В одну колонку на телефонах */
    }
}
/* Сетка для всех сервисов */
.all-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    animation: fadeIn 0.5s ease;
}
/* Состояние сетки, когда выбран конкретный сервис */
.all-services-grid.faded {
    display: grid !important; /* Форсируем отображение сетки */
    opacity: 0.3;             /* Делаем её полупрозрачной */
    filter: blur(4px);        /* Слегка размываем */
    transform: scale(0.95);   /* Уменьшаем всю сетку целиком */
    pointer-events: none;     /* Чтобы нельзя было кликнуть на другие карточки */
    transition: all 0.5s ease;
}

/* Контейнер для выбранной карточки, чтобы она накладывалась сверху */
.services-dropdown-container {
    position: relative;
}

.selected-service-card {
    position: absolute; /* Позиционируем поверх сетки */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 850px; /* Немного уже, чтобы было видно задний фон */
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    display: none;
}

/* Анимация появления для карточки */
@keyframes cardPop {
    from { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.selected-service-card[style*="display: block"] {
    animation: cardPop 0.4s ease-out forwards;
}

.mini-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    padding-bottom: 15px;
}

.mini-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #000;
}

.mini-service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 10px;
}

.mini-service-card h4 {
    font-size: 0.95rem;
    padding: 0 10px;
    color: #333;
}

/* Кнопка назад */
.btn-back {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
    text-align: left;
}
.btn-back:hover { color: #000; }