/* =================================== */
/* ОСНОВНЫЕ СТИЛИ */
/* =================================== */

/* =================================== */
/* УВЕЛИЧЕННАЯ ШИРИНА ДЛЯ БОЛЬШИХ ЭКРАНОВ */
/* =================================== */

/* Стандартный Bootstrap container max-width: 1320px на XXL (≥1400px) */
/* Увеличиваем до 1440px для лучшего использования пространства на больших мониторах */
@media (min-width: 1400px) {
    .container {
        max-width: 1440px;
    }
}

/* Для очень больших мониторов (2K и 4K) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* Для ultra-wide мониторов */
@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
    }
}

/* Navbar и Footer - увеличенная ширина на больших экранах */
@media (min-width: 1400px) {
    .navbar .container,
    footer .container {
        max-width: 1440px;
    }
}

@media (min-width: 1920px) {
    .navbar .container,
    footer .container {
        max-width: 1600px;
    }
}

@media (min-width: 2560px) {
    .navbar .container,
    footer .container {
        max-width: 1800px;
    }
}

/* Оптимизация типографики для больших экранов */
@media (min-width: 1920px) {
    /* Увеличенные заголовки для лучшей читаемости */
    h1, .display-4 {
        font-size: 4rem !important;
    }
    
    h2 {
        font-size: 2.75rem !important;
    }
    
    .lead {
        font-size: 1.75rem !important;
    }
    
    /* Увеличенный базовый размер текста */
    body, p {
        font-size: 1.125rem;
        line-height: 1.8;
    }
    
    /* Больше пространства между секциями */
    section {
        padding: 100px 0 !important;
    }
}

.bg-primary-custom {
    background-color: var(--color-navy) !important; 
}
.text-primary-custom {
    color: var(--color-navy) !important;
}

/* Кнопка фирменного цвета */
.btn-orange-custom {
    background-color: var(--color-orange);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-orange-custom:hover,
.btn-orange-custom:focus {
    background-color: #e86b00; 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    color: #fff; 
}

.text-warning-custom {
    color: #e6a100 !important; /* Улучшенный контраст */
}

.text-muted { 
    color: #555 !important; 
}

/* СТИЛЬ ДЛЯ ЛОГОТИПА-ИЗОБРАЖЕНИЯ */
.navbar-brand img {
  height: 22px; /* увеличено для лучшей читабельности */
  max-height: 26px; /* защита от слишком больших изображений */
  width: auto;
  display: inline-block;
  transition: height 0.22s ease, transform 0.22s ease, filter 0.22s ease;
  -webkit-transition: height 0.22s ease, -webkit-transform 0.22s ease, filter 0.22s ease;
}

/* =================================== */
/* ПРОЗРАЧНЫЙ NAVBAR (Premium Transparent) */
/* =================================== */

/* Fade-in анимация при загрузке */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility - Skip to Content Link (скрыта визуально, доступна для screen readers) */
.skip-to-content {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--color-orange);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 9999;
}

.skip-to-content:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    overflow: visible;
}

/* Прозрачный navbar изначально - точно такой же градиент как у hero-секции */
.navbar-transparent {
    background: transparent !important;
    transition: all 0.3s ease;
    animation: fadeInDown 0.8s ease-out;
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-transparent::before,
.navbar-transparent::after {
    display: none !important;
}

/* Убираем border от Bootstrap navbar */
.navbar {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 0 !important;
}

.navbar::before,
.navbar::after {
    display: none !important;
}

/* При скролле - navbar становится непрозрачным */
.navbar-scrolled {
    background: #003366 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Стили текста для прозрачного navbar */
.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link:focus {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-transparent .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

/* Логотип в прозрачном navbar */
.navbar-transparent .navbar-brand img {
  /* Сохраняем лёгкую тень на прозрачном navbar — помогает читаемости на фото */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: filter 0.3s ease, transform 0.18s ease;
}

/* Toggler для мобильных в прозрачном режиме */
.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 51, 102, 0.3);
}

.navbar-transparent .navbar-toggler-icon {
    filter: brightness(1.2);
}

/* Плавный переход при скролле */
.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
}

.navbar-scrolled .navbar-brand img {
  /* При скролле немного уменьшаем логотип, чтобы он помещался в плотной шапке */
  filter: none;
  transform: scale(0.96);
  height: 18px;
}

/* Позиционирование для прозрачного navbar */
.navbar-transparent + header,
.navbar-transparent + section {
    margin-top: -56px; /* Высота navbar */
    padding-top: 120px; /* Компенсация для контента */
}

/* Навигационные ссылки (Верхнее меню) */
.navbar-nav .nav-link {
    color: #FFFFFF !important;
    transition: color 0.2s ease-in-out;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-orange) !important; 
}

/* Ссылки в Футере */
footer a {
    color: #FFFFFF;
    transition: color 0.2s ease-in-out;
    text-decoration: none !important;
}
footer a:hover {
    color: var(--color-orange) !important; 
    text-decoration: none; 
}

/* СТИЛЬ ДЛЯ БАННЕРА (Из style="") */
#hero-header {
    background-image: url('hero-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    min-height: 80vh;
}

/* HERO CAROUSEL - убираем белый фон и границы */
#heroCarousel,
#heroCarousel .carousel-inner {
  background: transparent !important;
  border: 0 !important;
}

/* HERO CAROUSEL INDICATORS (centralized from index.html) */
#heroCarousel .carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  justify-content: center;
  gap: 10px;
}
#heroCarousel .carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  transition: transform 0.28s cubic-bezier(0.2,0.9,0.2,1), background-color 0.28s ease, box-shadow 0.28s ease;
  transform: scale(1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
#heroCarousel .carousel-indicators button.active {
  background-color: var(--color-orange) !important;
  width: 12px !important;
  height: 12px !important;
  transform: scale(1.6) !important;
  box-shadow: 0 6px 14px rgba(255,123,0,0.18);
}
#heroCarousel .carousel-indicators button:hover {
  background-color: rgba(255, 255, 255, 0.85) !important;
  transform: scale(1.25);
}

/* ===================================
   HERO CONTENT FADE-IN ANIMATION
===================================
*/

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   HERO SECTION - АДАПТИВНЫЕ ИЗОБРАЖЕНИЯ ДЛЯ РАЗНЫХ ЭКРАНОВ
   
   Для ноутбуков (до 1600px): используются текущие широкие изображения (3:1)
   Для больших мониторов (1600px+): используются desktop версии (16:9)
===================================
*/

/* Базовые стили для всех hero слайдов и секций */
.hero-slide,
section[id="main-content"] {
  background-attachment: scroll !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Мобильные устройства */
@media (max-width: 767.98px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 350px !important;
  }
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 400px !important;
  }
}

/* Ноутбуки - используют стандартные широкие изображения */
@media (min-width: 992px) and (max-width: 1599.98px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 450px !important;
  }
}

/* ====== БОЛЬШИЕ МОНИТОРЫ - ПЕРЕКЛЮЧЕНИЕ НА DESKTOP ВЕРСИИ ====== */

/* Средние десктопы (1600-1919px) - desktop версии изображений */
@media (min-width: 1600px) and (max-width: 1919.98px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 550px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #003366 !important;
  }
  
  /* Index.html - слайды карусели по порядку */
  #heroCarousel .carousel-inner > .carousel-item:nth-child(1) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-1-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(2) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-2-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(3) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-3-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* About.html - по URL или стилю */
  section#main-content[style*="about-us"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('about-us-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Brands.html */
  section#main-content[style*="brands-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('brands-banner-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Products.html */
  section#main-content[style*="hero-bg"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-bg-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Contact.html */
  section#main-content[style*="hero-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-banner-contact-us-desktop.jpeg') center center/cover no-repeat !important;
  }
}

/* Большие мониторы (FullHD 1920-2559px) - desktop версии */
@media (min-width: 1920px) and (max-width: 2559.98px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 650px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #003366 !important;
  }
  
  /* Index.html - слайды карусели */
  #heroCarousel .carousel-inner > .carousel-item:nth-child(1) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-1-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(2) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-2-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(3) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-3-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* About.html */
  section#main-content[style*="about-us"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('about-us-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Brands.html */
  section#main-content[style*="brands-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('brands-banner-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Products.html */
  section#main-content[style*="hero-bg"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-bg-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Contact.html */
  section#main-content[style*="hero-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-banner-contact-us-desktop.jpeg') center center/cover no-repeat !important;
  }
}

/* Очень большие мониторы (2K/4K 2560px+) - desktop версии */
@media (min-width: 2560px) {
  .hero-slide,
  section[id="main-content"] {
    min-height: 800px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #003366 !important;
  }
  
  /* Index.html - слайды карусели */
  #heroCarousel .carousel-inner > .carousel-item:nth-child(1) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-1-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(2) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-2-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  #heroCarousel .carousel-inner > .carousel-item:nth-child(3) .hero-slide {
    background: linear-gradient(rgba(0,51,102,0.75), rgba(0,51,102,0.75)), url('hero-image-3-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* About.html */
  section#main-content[style*="about-us"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('about-us-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Brands.html */
  section#main-content[style*="brands-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('brands-banner-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Products.html */
  section#main-content[style*="hero-bg"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-bg-desktop.jpeg') center center/cover no-repeat !important;
  }
  
  /* Contact.html */
  section#main-content[style*="hero-banner"] {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('hero-banner-contact-us-desktop.jpeg') center center/cover no-repeat !important;
  }
}

/* ===================================
   СТИЛИ СТРАНИЦЫ 'CONTACT'
===================================
*/

/* Карта - базовый responsive стиль */
section[aria-label="Map location"] {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: 3rem;
}

section[aria-label="Map location"] iframe {
  width: 100%;
  border: none;
  display: block;
  height: 350px;
}

/* Карта на мобильных - уменьшенная высота */
@media (max-width: 767.98px) {
  section[aria-label="Map location"] {
    padding-bottom: 2rem;
  }
  
  section[aria-label="Map location"] iframe {
    height: 250px;
  }
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}
form.was-validated .form-control:invalid + .error-message {
    display: block;
}
.contact-info-list li {
    font-size: 1.1rem;
    color: #555;
}
.contact-info-list a { 
    font-size: 0.95rem; 
}
/* Разделитель для email (из HTML) */
.contact-info-list .mb-1[style*="border-bottom"] {
    border-bottom: 1px solid #eee !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
}
form a {
  color: var(--color-navy);
  text-decoration: underline;
}
form a:hover {
  color: var(--color-orange);
}

/* Anti-copy helper: class applied to body by JS to discourage selection */
.no-select,
html.no-select,
body.no-select {
  -webkit-user-select: none !important; /* Safari */
  -moz-user-select: none !important;    /* Firefox */
  -ms-user-select: none !important;     /* IE10+/Edge */
  user-select: none !important;         /* Standard */
}

/* Accessibility note: Disabling text selection and right-click reduces usability for some users.
   This is a deterrent for casual copying but can be bypassed by determined users.
   Consider watermarking images or serving lower-res images if content protection is critical. */


/* ===================================
 НОВЫЕ СТИЛИ ДЛЯ СООБЩЕНИЙ ФОРМЫ
===================================
*/

#formSuccessMessage {
    /* ИСПРАВЛЕНО: 
      Удалена строка 'display: none;', 
      так как этим теперь управляет класс .d-none
    */
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    padding: 1.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: opacity 0.3s ease;
}
#formSuccessMessage .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0f5132; 
}
#formErrorMessage {
    /* ИСПРАВЛЕНО: 
      Удалена строка 'display: none;', 
      так как этим теперь управляет класс .d-none
    */
    background-color: #f8d7da;
    color: #58151c;
    border: 1px solid #f5c2c7;
    padding: 1.5rem;
    border-radius: 0.375rem;
    text-align: center;
    transition: opacity 0.3s ease;
}
#formErrorMessage .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #58151c; 
}
#formErrorMessage a {
    color: #58151c;
    font-weight: bold;
}

/* ===================================
  ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ
===================================
*/

#submitButton {
    min-height: 48px; /* WCAG Touch Target */
}

#submitButton .spinner-border-sm {
    margin-right: 0.5rem;
    vertical-align: text-bottom;
}

.col-lg-7 > h3 + hr {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
input[name="honeypot"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
#contact-page .ratio iframe {
    border: 0;
}

/* ===================================
  ДОСТУПНОСТЬ И ФОКУС (Ваш код)
=================================== */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}
.btn-orange-custom:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.3);
}

/* ===================================
  MOBILE RESPONSIVE OPTIMIZATION
  (По международным UX/UI стандартам)
=================================== */

/* Базовые mobile-first стили */
html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch-friendly элементы (WCAG 2.1 - минимум 44x44px) */
.btn, button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ссылки общие (кроме футера) */
a:not(footer a) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

    /* Футер - компактные ссылки */
footer a {
  min-height: auto !important;
  display: inline !important;
  padding: 0 !important;
}

/* Вертикальные разделители между колонками футера (desktop only) */
@media (min-width: 992px) {
  footer .row.g-2 > div:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 2rem !important;
  }
  footer .row.g-2 > div:not(:last-child) {
    padding-right: 2rem !important;
  }
  
  /* Выравнивание высоты блоков - минимальная высота контента */
  footer .row.g-2 > div > div:last-child,
  footer .row.g-2 > div > p:last-child {
    min-height: 110px;
  }
}/* Улучшение читаемости на мобильных */
@media (max-width: 767.98px) {
  /* Навигация */
  .navbar-brand img {
    height: 40px; /* мобильная версия остается компактной */
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    background-color: rgba(0, 51, 102, 0.98); /* Тёмный фон для видимости текста */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* Hero секции */
  h1 {
    font-size: 1.75rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }

  /* Параграфы и текст */
  p, .fs-5 {
    font-size: 1rem !important;
  }

  /* Контактная форма */
  .form-control, 
  .form-select {
    font-size: 16px !important; /* Предотвращает zoom на iOS */
    padding: 0.75rem;
  }

  textarea.form-control {
    min-height: 120px;
  }

  /* Кнопки */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
  }

  /* Контактная информация */
  .contact-info-list li {
    font-size: 1rem;
  }

  /* Футер - улучшенная читаемость */
  footer h5, footer h6 {
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
  }

  footer .small {
    font-size: 0.95rem !important;
  }

  footer .fs-4 {
    font-size: 1.75rem !important;
  }

  /* Отступы для мобильных */
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Контактная информация в карточках */
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Email секция на всю ширину */
  .col-12 .row.gx-4 .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

/* Tablets (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-brand img {
    height: 36px;
  }

  h1 {
    font-size: 2rem !important;
  }

  section[aria-label="Map location"] iframe {
    height: 350px;
  }
}

/* Landscape phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .navbar-collapse {
    max-height: 250px;
    overflow-y: auto;
  }

  section[aria-label="Map location"] iframe {
    height: 250px;
  }
}

/* Small phones (320px - 374.98px) */
@media (max-width: 374.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-brand img {
    height: 28px;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  .btn-lg {
    padding: 0.625rem 1rem;
    font-size: 1rem;
  }

  footer .d-flex.gap-3 {
    gap: 1.5rem !important;
  }
}

/* Убираем горизонтальный скролл */
.row {
  margin-left: 0;
  margin-right: 0;
}

/* Обеспечиваем что изображения не переполняют контейнер */
img {
  max-width: 100%;
  height: auto;
}

/* Улучшение tap targets на мобильных */
@media (hover: none) and (pointer: coarse) {
  a, button, .btn {
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  .navbar-toggler {
    padding: 0.5rem 0.75rem;
  }
}

/* ===================================================================
   ОБЩИЕ ПЕРЕМЕННЫЕ И СТИЛИ (из about.html и index.html)
   Вынесены для избежания дублирования кода
   =================================================================== */

/* Расширенная типографическая система */
:root {
  /* Typography System (WCAG 2.1 Compliant) */
  --font-size-xs: 14px;
  --font-size-sm: 16px;
  --font-size-base: 18px;
  --font-size-lg: 20px;
  --font-size-card: 22px;
  --font-size-xl: 26px;
  --font-size-2xl: 34px;
  
  /* Extended Color System (OKGUN Brand) */
  --color-navy: #003366;
  --color-orange: #FF6B35;         /* Primary brand orange (warm coral) */
  --color-orange-accent: #ff7b00;  /* Accent orange for special highlights */
  --color-orange-light: #ff9933;   /* Light orange for gradients */
  --color-text-dark: #3E4650;
  --color-text: #444444;
  --color-text-light: #5A6470;
  --color-border: #E5E7EB;
  --color-bg-light: #F9FAFB;
  --color-bg-icon: #EAF0F6;
}

/* ===================================
   BRAND SLOGAN STYLES
   =================================== */
/* Slogan appears only in footer as brand signature */
.brand-slogan-sm {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 900;
  font-style: normal;
  color: #D9D9D9;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* Fade-in Animation (IntersectionObserver) */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent Word Hyphenation */
body, p, h1, h2, h3, h4, h5, h6, li, span, div {
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* WhatsApp Floating Button (Mobile) */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.7);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* WhatsApp Desktop Button Hover */
.whatsapp-desktop-btn:hover,
.whatsapp-desktop-btn:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37,211,102,0.6) !important;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================
   BRAND CARDS HOVER EFFECTS
   Используется в секции Brands на главной странице
   =================================== */
.brand-card-inner {
  background: #FAFAFA;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  min-height: 135px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-card-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}

.brand-card-inner img {
  opacity: 0.95;
  transition: all 0.3s ease;
}

.brand-card-inner:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* ===================================
   BUTTON HOVER EFFECTS (GENERAL)
   Используются на всех страницах
   =================================== */

/* Navy Outline Button Hover */
.btn-outline-navy-hover:hover,
.btn-outline-navy-hover:focus-visible {
  background: var(--color-navy) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,51,102,0.2) !important;
}

/* About Button Hover (Orange) */
.btn-about-hover:hover,
.btn-about-hover:focus-visible {
  background-color: #e56a00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4) !important;
}

/* Image Wrapper Hover */
.image-wrapper-hover:hover,
.image-wrapper-hover:focus-within {
  transform: scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
}

/* CTA Button Hover */
.btn-cta-hover:hover,
.btn-cta-hover:focus-visible {
  background: #E55F00 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5) !important;
}

/* =================================================================
   PAGE-SPECIFIC STYLES (extracted from HTML files)
   ================================================================= */

/* ============================
   INDEX.HTML - HOME PAGE STYLES
   ============================ */

/* Hero Carousel */
.hero-slide {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 400px;
  }
  .hero-slide .container > div {
    padding-top: 110px !important;
  }
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease-in-out;
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}
.carousel-fade .carousel-item-next:not(.carousel-item-start),
.carousel-fade .carousel-item-prev:not(.carousel-item-end),
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
}

@media (max-width: 991.98px) {
  .image-wrapper img { max-width: 100% !important; }
  #about h2 { font-size: 2rem !important; text-align: center; }
  #about .text-white { text-align: center; margin: 0 auto; }
  #about.position-relative { padding: 4rem 0 !important; }
}

/* Product Category Cards */
.product-card-main {
  position: relative;
  display: flex;
  align-items: center;
  height: 95px;
  width: 100%;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background-image: linear-gradient(90deg, #f8f9fa 0%, #ffffff 90%);
  background-size: contain;
  background-position: right 0px center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0);
  color: #666666;
  border: 1px solid #d1d1d1;
  border-bottom-color: rgba(255, 255, 255, 0);
  box-shadow: -19px 10px 29px -13px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 300ms ease 0ms, background-image 300ms ease 0ms;
}
.product-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.product-card-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
  cursor: pointer;
}
.product-card-main:hover::before {
  background: linear-gradient(-72.38deg, rgba(240, 240, 240, 0) 26%, #e9ecef 65%, #dee2e6 100%);
  opacity: 1;
}
.product-card-main:hover h3 {
  color: #001f3f;
  font-weight: 600;
}
.product-card-main .content-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 65%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.product-card-main .icon-main {
  display: none;
}
.product-card-main h3 {
  font-family: "Roboto Condensed", "Roboto", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
  font-weight: 500;
  color: #3E4650;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  position: relative;
  display: block;
  text-align: left;
  transition: transform 0.3s ease;
}
.product-card-main h3::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054";
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 5px;
  transform: translateY(-50%) translateX(-15px);
  transition: all 0.3s ease;
  color: #6c757d !important;
}
.product-card-main h3:hover {
  transform: translateX(-10px);
}
.product-card-main h3:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}
.product-link-main {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.product-link-main:focus-visible .product-card-main {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}
@media (max-width: 980px) {
  .product-card-main {
    border-bottom-color: rgba(255, 255, 255, 0);
  }
}
@media (max-width: 767px) {
  .product-card-main {
    border-bottom-color: rgba(255, 255, 255, 0);
  }
}


/* === SUPPLY PROCESS ANIMATIONS === */
@keyframes arrowAppear {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.process-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 51, 102, 0.12) !important;
  cursor: pointer;
}

.process-step-card:hover .process-icon-wrapper {
  background: var(--color-orange) !important;
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3) !important;
}

.timeline-line {
  animation: lineGrow 1s ease-out forwards;
  animation-play-state: paused;
}
@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.timeline-line.animate {
  animation-play-state: running;
}

@media (max-width: 991.98px) {
  .timeline-line {
    display: none !important;
  }
  .step-3-mobile-accent .process-icon-step3 {
    width: 79px !important;
    height: 79px !important;
    border: 2px solid var(--color-orange);
  }
  .step-3-mobile-accent .process-icon-step3 i {
    font-size: 42px !important;
  }
}

.advantage-item {
  transition: transform 0.3s ease;
}
.advantage-item:hover .advantage-check {
  transform: scale(1.15);
}

.advantage-check {
  animation: checkAppear 0.4s ease-out backwards;
}
@keyframes checkAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.advantage-item:nth-child(1) .advantage-check { animation-delay: 0.1s; }
.advantage-item:nth-child(2) .advantage-check { animation-delay: 0.15s; }
.advantage-item:nth-child(3) .advantage-check { animation-delay: 0.2s; }
.advantage-item:nth-child(4) .advantage-check { animation-delay: 0.25s; }
.advantage-item:nth-child(5) .advantage-check { animation-delay: 0.3s; }
.advantage-item:nth-child(6) .advantage-check { animation-delay: 0.35s; }

.supply-process-cta:hover {
  background: #E55F00 !important;
  box-shadow: 0 5px 14px rgba(229, 95, 0, 0.4) !important;
  transform: scale(1.02);
}

@media (max-width: 767.98px) {
  .supply-process-cta {
    display: block !important;
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================
   OKGUN DIFFERENCE CARDS
   ============================ */
.okgun-card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 32px 28px;
  min-height: 320px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.okgun-card h4 {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.okgun-card p {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  text-align: center;
  hyphens: auto;
  max-width: 360px;
  margin: 0 auto;
}

.okgun-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.okgun-card:hover .okgun-icon {
  color: var(--color-orange) !important;
  transform: scale(1.05);
}

.okgun-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .row.g-4 {
    gap: 20px !important;
  }
  
  .okgun-icon {
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .okgun-card p {
    overflow-wrap: break-word;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN (INDEX.HTML) ===== */
@media (min-width: 1920px) {
  .hero-slide {
    min-height: 600px;
  }
  .hero-slide h1 {
    font-size: 4rem !important;
  }
  .hero-slide .lead,
  .hero-slide p {
    font-size: 1.5rem !important;
  }
  
  .product-card-main {
    height: 95px;
  }
  .product-card-main .content-main {
    max-width: 60%;
    justify-content: flex-start;
  }
  .product-card-main h3 {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: left;
  }
  
  .process-step-card {
    padding: 2.5rem 2rem;
  }
  .process-icon {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
  }
}

@media (max-width: 1919px) and (min-width: 1200px) {
  .hero-slide {
    min-height: 500px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .hero-slide {
    min-height: 450px;
  }
  .hero-slide h1 {
    font-size: 3rem !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .hero-slide {
    min-height: 420px;
  }
  .hero-slide h1 {
    font-size: 2.5rem !important;
  }
  .hero-slide .lead {
    font-size: 1.25rem !important;
  }
  
  .product-card-main {
    margin-bottom: 1rem;
  }
  
  .process-step-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .hero-slide {
    min-height: 400px;
  }
  .hero-slide .container > div {
    padding-top: 100px !important;
  }
  .hero-slide h1 {
    font-size: 2rem !important;
  }
  .hero-slide .lead {
    font-size: 1.125rem !important;
  }
  
  .product-card-main {
    height: 85px;
  }
  .product-card-main h3 {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .hero-slide {
    min-height: 350px;
  }
  .hero-slide h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }
  .hero-slide .lead {
    font-size: 1rem !important;
  }
  
  .product-card-main {
    height: 80px;
    border-bottom-color: rgba(255, 255, 255, 0);
  }
  .product-card-main h3 {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    text-align: left;
  }
  .product-card-main .content-main {
    padding: 0 16px;
    max-width: 60%;
    justify-content: flex-start;
  }
  
  .process-step-card {
    padding: 1.75rem 1.25rem;
  }
  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .brand-logo-item img {
    max-height: 55px !important;
  }
}

@media (max-width: 374px) {
  .hero-slide {
    min-height: 320px;
  }
  .hero-slide h1 {
    font-size: 1.5rem !important;
  }
  .product-card-main {
    height: 88px;
  }
  .product-card-main h3 {
    font-size: 10px;
    line-height: 1.35;
    text-align: left;
  }
  .product-card-main .content-main {
    padding: 0 12px;
    max-width: 65%;
    justify-content: flex-start;
  }
}

/* ============================
   BRANDS.HTML - BRANDS PAGE STYLES
   ============================ */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #003366;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
}

.navbar.sticky-top {
  top: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.modal-backdrop.show {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.15s; }
.brand-card:nth-child(3) { animation-delay: 0.2s; }
.brand-card:nth-child(4) { animation-delay: 0.25s; }
.brand-card:nth-child(5) { animation-delay: 0.3s; }
.brand-card:nth-child(6) { animation-delay: 0.35s; }
.brand-card:nth-child(7) { animation-delay: 0.4s; }
.brand-card:nth-child(8) { animation-delay: 0.45s; }
.brand-card:nth-child(9) { animation-delay: 0.5s; }

.brand-logo-container {
  height: 160px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1.5rem;
}

.brand-logo-container img {
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.brand-card-inner:hover .brand-logo-container img {
  opacity: 1;
}

.brand-card-inner {
  transition: all 0.25s ease;
}

.brand-card-inner:hover {
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08) !important;
}

.brand-card-inner:focus {
  outline: 2px solid #003366;
  outline-offset: 2px;
}

.brands-grid {
  row-gap: 2.5rem !important;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: #003366;
  margin-right: 0.375rem;
}

.trust-block > div > div:hover i {
  transform: scale(1.1);
}

.trust-block {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-radius: 12px;
}

/* Mobile: align trust indicators to left */
@media (max-width: 767.98px) {
  .trust-indicators-container {
    justify-content: flex-start !important;
    gap: 1rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .trust-indicator-item {
    width: 100%;
    justify-content: flex-start !important;
  }
}

.breadcrumb {
  font-size: 0.75rem !important;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.brand-portfolio-title {
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-weight: 600;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.bottom-cta {
  margin-top: 20px;
  padding-bottom: 20px;
}

.bottom-cta a:hover {
  color: #00509e !important;
  border-bottom-color: #00509e !important;
}

.bottom-cta a:hover i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* ============================
   CONTACT.HTML - CONTACT PAGE STYLES
   ============================ */

/* Contact page responsive styles already covered in main responsive section */

/* ============================
   ABOUT.HTML - ABOUT PAGE STYLES
   ============================ */

.commitment-item {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.commitment-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-section {
  padding: 80px 0;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-badge-icon {
  font-size: 6rem;
  color: var(--color-orange);
  line-height: 1;
}

.trust-badge-card {
  border-left: 4px solid var(--color-orange);
  background: linear-gradient(135deg, rgba(0,51,102,0.02), rgba(0,51,102,0.005));
  border-radius: 12px;
  padding: 2rem;
}

.value-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-navy), #004d99);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.value-card:hover .value-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
}

.value-icon i {
  font-size: 36px;
  color: #fff;
}

.value-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.value-text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.advantage-card {
  background: #fff;
  border-left: 4px solid var(--color-orange);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.advantage-card:hover {
  border-left-color: var(--color-navy);
  background: rgba(0,51,102,0.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.advantage-icon {
  font-size: 24px;
  color: var(--color-orange);
  margin-right: 12px;
}

.advantage-title {
  font-size: var(--font-size-card);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.advantage-text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.trust-line {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 1.5rem 0;
}

.trust-line p {
  margin: 0;
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================
   PRIVACY-POLICY.HTML STYLES
   ============================ */

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--color-orange) !important;
}

/* ============================
   PRODUCTS.HTML SPECIFIC STYLES
   ============================ */

/* Section Headings */
.section-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.05rem;
  color: #6c757d;
}

/* Info Cards (Engineering Excellence Section) */
.info-card {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1.5rem;
  height: 100%;
}

.info-card-primary {
  border-left: 4px solid #003366 !important;
}

.info-card-orange {
  border-left: 4px solid var(--color-orange) !important;
}

.info-card-danger {
  border-left: 4px solid #dc3545 !important;
  background: rgba(220, 53, 69, 0.02);
}

.info-card-warning {
  border-left: 4px solid #ffc107 !important;
  background: rgba(255, 193, 7, 0.02);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 1rem;
}

.info-card-title-danger {
  color: #dc3545;
}

.info-card-title-warning {
  color: #f59e0b;
}

/* Info Lists */
.info-list {
  line-height: 1.9;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.info-list-item {
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.75rem;
}

.info-list-icon {
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: #28a745;
}

/* Quality Cards (Quality You Can Trust Section) */
.quality-card {
  background: white;
  border-radius: 0.375rem;
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.quality-icon {
  font-size: 3rem;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.quality-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 1rem;
}

/* Alert Info Blue */
.alert-info-blue {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.05), rgba(0, 51, 102, 0.02));
  border-left: 4px solid #003366;
  border-radius: 8px;
  color: #003366;
  font-weight: 500;
}

/* Product Search Input - Mobile Responsive */
.product-search-input {
  font-size: 1rem;
}

@media (max-width: 575.98px) {
  .product-search-input {
    font-size: 0.688rem;
    padding-left: 2.5rem !important;
  }
  .product-search-input::placeholder {
    font-size: 0.688rem;
  }
}

/* Hero Browse Products Button */
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Products Page Responsive Design */
@media (min-width: 1920px) {
  #main-content {
    min-height: 550px !important;
    padding: 4rem 2rem !important;
  }
  #main-content h2 {
    font-size: 4rem !important;
  }
  #main-content .lead {
    font-size: 1.5rem !important;
  }
  section {
    padding: 100px 0 !important;
  }
  h2 {
    font-size: 2.75rem !important;
  }
  h3 {
    font-size: 2rem !important;
  }
  p, .text-muted {
    font-size: 1.125rem;
    line-height: 1.8;
  }
}

@media (max-width: 1919px) and (min-width: 1200px) {
  #main-content {
    min-height: 420px;
  }
  section {
    padding: 80px 0;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  #main-content {
    min-height: 400px;
    padding: 2.5rem 1.5rem !important;
  }
  #main-content h2 {
    font-size: 3rem !important;
  }
  section {
    padding: 70px 0;
  }
  h2 {
    font-size: 2.25rem !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  #main-content h2 {
    font-size: 2.5rem !important;
  }
  #main-content .lead {
    font-size: 1.25rem !important;
  }
  h2 {
    font-size: 2rem !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 767px) and (min-width: 576px) {
  .hero-content {
    padding-top: 100px !important;
  }
  #main-content {
    min-height: 350px;
    padding: 2rem 1rem !important;
  }
  #main-content h2 {
    font-size: 2rem !important;
  }
  #main-content .lead {
    font-size: 1.125rem !important;
  }
  section {
    padding: 50px 0;
  }
  h2 {
    font-size: 1.75rem !important;
  }
  h3 {
    font-size: 1.375rem !important;
  }
  p {
    font-size: 0.9375rem;
  }
}

@media (max-width: 575px) {
  .hero-content {
    padding-top: 110px !important;
  }
  #main-content {
    min-height: 320px;
    padding: 1.75rem 1rem !important;
  }
  #main-content h2 {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }
  #main-content .lead {
    font-size: 1rem !important;
  }
  #main-content p:last-child {
    font-size: 0.875rem !important;
  }
  section {
    padding: 40px 0;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.25rem !important;
  }
  h4 {
    font-size: 1.125rem !important;
  }
  p, .text-muted, li {
    font-size: 0.875rem;
  }
}

@media (max-width: 374px) {
  #main-content {
    min-height: 300px;
    padding: 1.5rem 0.875rem !important;
  }
  #main-content h2 {
    font-size: 1.5rem !important;
  }
  section {
    padding: 35px 0;
  }
}

/* Prevent Word Hyphenation */
body, p, h1, h2, h3, h4, h5, h6, li, span, div {
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.navbar .nav-link.active {
  color: var(--color-orange) !important;
  font-weight: 600;
}

/* ===================================
   FINAL LAYOUT FIXES (Golden Master)
   =================================== */

/* Hero Height Unification - Desktop */
@media (min-width: 992px) {
  .hero-slide,
  section[style*="min-height"] {
    min-height: 450px !important;
  }
}

/* CTA Button Hierarchy */
.btn-cta-secondary {
  background: transparent;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cta-secondary:hover {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Footer Links - Accessibility Fix */
.footer-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 1 !important;
  text-decoration: underline;
}