
/* =========================================
   1. DESIGN SYSTEM VARIABLES (ЕДИНЫЙ ИСТОЧНИК)
   ========================================= */



/* =========================================
   ПОДКЛЮЧЕНИЕ ЛОКАЛЬНЫХ ШРИФТОВ
   ========================================= */

/* =========================================
   ПОДКЛЮЧЕНИЕ ЛОКАЛЬНЫХ ШРИФТОВ (АБСОЛЮТНЫЕ ПУТИ)
   ========================================= */

/* --- Montserrat Regular --- */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/newline/css/fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Montserrat Medium --- */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/newline/css/fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Montserrat SemiBold --- */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/newline/css/fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Montserrat Bold --- */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/newline/css/fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Montserrat Black --- */
@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/themes/newline/css/fonts/montserrat/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}



:root {
  /* -- ЦВЕТА -- */
  --color-primary: #2c3e50;         
  --color-primary-darker: #272c32;  
  --color-accent: #f44a22;          
  --color-accent-secondary: #f2a809;

  --color-text-main: #313841;          
  --color-text-secondary: #687284;     
  --color-text-light: #f0f0f0;          
  --color-text-light-secondary: rgba(255, 255, 255, 0.7); 
  
  --color-background: #eef1f5; 
  --color-background-light: #eaf2f3; 
  --color-background-card-light: #ffffff;  

  --gradient-dark: linear-gradient(135deg, var(--color-primary), var(--color-primary-darker));
  --gradient-accent: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
  --gradient-footer: linear-gradient(135deg, #272b30 0%, #1a1d21 100%);

  --glass-background: rgba(255, 255, 255, 0.1);
  --glass-border-color: rgba(255, 255, 255, 0.2);
  --glass-blur-value: 12px;

  --color-border: #e9ecef;             

  /* -- ТИПОГРАФИКА -- */
  --font-family-primary: 'Montserrat', sans-serif;
  --font-family-secondary: 'Montserrat', sans-serif;

  /* -- РАЗМЕРЫ ШРИФТОВ -- */
  --font-size-h1: 2.8rem;   
  --font-size-h2: 2.2rem;   
  --font-size-h3: 1.4rem;   
  --font-size-h4: 1.1rem;  
  --font-size-base: 1.0rem;  
  --font-size-body: 0.9rem;   
  --font-size-body-large: 1.15rem; 
  --font-size-small: 0.8rem;
 --font-size-body-icon-small: 1.5rem;   
    --font-size-body-icon: 2rem; 
	 --font-size-body-icon-large: 3rem; 

  /* -- ТОЛЩИНА ШРИФТОВ -- */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* -- ОТСТУПЫ -- */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-xxl: 64px;

  /* -- ЗАКРУГЛЕНИЯ -- */
  --border-radius-sm: 8px;    
  --border-radius-md: 16px;   
  --border-radius-lg: 24px;   
  --border-radius-circle: 50%; 
}

/* =========================================
   2. ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-primary);
    background-color: var(--color-background-light);
  color: var(--color-text-main);
  line-height: 1.6;
  font-size: var(--font-size-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-bold);
  line-height: 1.6;
}

h1 { font-size: var(--font-size-h1); margin-bottom: var(--space-md); }
h2 { font-size: var(--font-size-h2); margin-bottom: var(--space-sm); }
h3 { font-size: var(--font-size-h3); margin-bottom: var(--space-sm); }
h4 { font-size: var(--font-size-h4); margin-bottom: var(--space-xs); }

p {
  font-family: var(--font-family-secondary);
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: none;
}

/* =========================================
   3. ОБЩИЕ КЛАССЫ И КОМПОНЕНТЫ
   ========================================= */

/* --- Контейнер --- */
.container {
  width: 100%;
  max-width: 1700px; /* Стандартная ширина. Может быть переопределена. */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* --- Кнопки --- */
.btn {
    display: inline-flex; /* Changed to inline-flex for icon alignment */
    gap: var(--space-xs);
    align-items: center;
    justify-content: center;
    padding: 12px var(--space-sm);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-sm); /* ИЗМЕНЕНО: теперь базовое скругление 8px */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
	    font-size: var(--font-size-base);
}
.btn:hover  {
	  transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 74, 34, 0.1);
    color: white;
    text-decoration: none;
}
swiper-slide {
    padding: 10px 0;
}
 span.snk{
font-size: 7pt;
    top: -10px;
    position: relative;
 }
/* =========================================
   4. АНИМАЦИИ
   ========================================= */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 74, 34, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(244, 74, 34, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 74, 34, 0);
  }
}

@keyframes pulse_1 {
  0% {
    transform: translateY(-50%) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50%) scale(3.5);
    opacity: 0;
  }
}
@keyframes pulse_2 {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgb(34 244 70 / 70%);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(244, 74, 34, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 74, 34, 0);
  }
}
@media (max-width: 768px) {
  :root {
    /* -- УМЕНЬШЕННЫЕ РАЗМЕРЫ ШРИФТОВ ДЛЯ МОБИЛЬНЫХ -- */
    --font-size-h1: 2.0rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.2rem;
    --font-size-h4: 1.0rem;
    --font-size-body-large: 1.05rem;
    --font-size-base: 0.9rem;

    /* -- УМЕНЬШЕННЫЕ ОТСТУПЫ ДЛЯ МОБИЛЬНЫХ -- */
    --space-md: 16px;
    --space-lg: 16px;
    --space-xl: 16px;
    --space-xxl: 16px;
  }
h1, h2, h3, h4{
	    line-height: 1.2;
}
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .btn {
    padding: 10px var(--space-sm);
    font-size: var(--font-size-base);
  }
}
  .lightbox { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%;     background: rgba(0, 31, 61, 0.6);
    backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; padding: 30px; cursor: pointer; animation: fadeIn 0.3s ease; }
        .lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; }
        .lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: #fff; }
