/* ============================================================
   ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ============================================================ */
:root {
    --primary-color: #075e54;
    --primary-hover: #05473f;
    /*--accent-orange: #ff8243;
    --accent-orange-hover: #e0682a;*/
	--accent-orange: #075e54;
    --accent-orange-hover: #1A1D2B;
    --bg-gradient: radial-gradient(circle at 80% 20%, #eef5f3 0%, #e3edf2 100%);
    --text-dark: #1e293b;
    --text-muted: #0b1a30;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   ШАПКА САЙТА (HEADER)
   ============================================================ */
.header {
    background: #ffffff;
    width: 100%;
    padding: 14px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
}

.logo-bold {
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    font-size: 0.87rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.search-link::before {
    content: '🔍';
    margin-right: 4px;
    font-size: 11px;
}

.btn-header-action {
    background-color: var(--accent-orange);
    color: #fff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-header-action:hover {
    background-color: var(--accent-orange-hover);
}

.btn-header-action-2 {
    color: var(--accent-orange-hover);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-header-action-2:hover {
    color: var(--accent-orange);
}

/* ============================================================
   ГЛАВНЫЙ ЭКРАН (HERO SECTION - НА В СЮ ВЫСОТУ ДЛЯ ПК)
   ============================================================ */
.hero-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    /* На десктопе вычитаем высоту хедера (64px), чтобы избежать общего скролла */
    height: calc(100vh - 66px); 
}

.hero-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Сетка "Текст | Девайсы" */
    gap: 40px;
    align-items: center;
}

/* Левый контент */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
}

.breadcrumbs {
    display: flex;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a::after {
    content: '/';
    margin-left: 6px;
}

.badge-specialty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #d2e5e2;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    width: fit-content;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: #0b1a30;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-location-info {
    font-size: 13px;
    color: #0b1a30;
    margin-bottom: 28px;
}

.hero-location-info strong {
    color: var(--primary-color);
}

/* Сетка фичей */
.features-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-icon {
    font-size: 20px;
}

.feature-val {
    font-size: 14px;
    font-weight: 800;
    color: #0b1a30;
}

.feature-body {
    display: flex;
    flex-direction: column;
}

.feature-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

/* Кнопки внизу */
.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-location-info {
    font-size: 13px;
    color: #0b1a30;
    margin-bottom: 28px;
}

.btn-hero-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-hero-primary:hover {
    background-color: var(--accent-orange-hover);
}

.btn-hero-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
    background-color: var(--accent-orange-hover);
	border: 2px solid var(--accent-orange-hover);
    color: white;
}

/* Правая визуальная часть (Девайсы) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1 / 0.8;
}

/* Имитация картинки девайсов через стили (замените на свой собственный инлайн-рисунок или макет устройства) */
.devices-fallback-bg {
    width: 100%;
    height: 100%;
    background: url('/imgs/devices-mockup-4.webp') no-repeat center center;
    background-size: contain;
    /* Резервная заглушка, если картинки нет */
    /*background-color: rgba(255,255,255,0.2);*/ 
    border-radius: 20px;
}

/* ============================================================
   АДАПТИВНАЯ МОБИЛЬНАЯ ВЕРСИЯ (MEDIA QUERIES)
   ============================================================ */

/* Планшеты и ноутбуки поменьше */
@media (max-width: 1024px) {
    .hero-section {
        height: auto; /* Убираем фиксированную высоту */
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        order: -1; /* Выталкиваем картинку наверх */
    }
    .header-container {
        padding: 0 20px;
    }
    .nav {
        display: none; /* Прячем меню десктопа (под бургер) */
    }
}

/* Смартфоны */
@media (max-width: 576px) {
    .header-container {
        padding: 0 16px;
    }
    .btn-header-action {
        padding: 8px 14px;
        font-size: 13px;
    }
    .hero-container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .features-grid {
        flex-direction: column;
        gap: 10px;
    }
    .feature-card {
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 375px) {
	.btn-header-action {
        padding: 5px 8px;
        font-size: 11px;
    }
}