/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');


:root {
  /* === RAFIQ GROUP COLOR SYSTEM === */

  /* Основные цвета */
  --main-green: #2E8B57;         /* Основной фирменный зелёный */
  --dark-green: #0B1F17;         /* Тёмный фон */
  --light-green: #4CAF50;        /* Мягкий акцент */
  --gold: #D4AF37;               /* Премиум-золото */
  --white: #FFFFFF;
  --gray: #CCCCCC;

  /* Эффекты */
  --shadow-gold: rgba(212, 175, 55, 0.6);
  --shadow-green: rgba(46, 139, 87, 0.5);

  /* Фон */
  --background-dark: #0B1F17;
  --background-light: #142b22;
  --background-overlay: rgba(0, 0, 0, 0.4);

  /* Градиенты */
  --gradient-green-gold: linear-gradient(135deg, #2E8B57 0%, #D4AF37 100%);
  --gradient-dark: linear-gradient(180deg, #0B1F17 0%, #051009 100%);
}


/* RESET SETTINGS */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--background-dark);
  color: var(--white);
}

/* ADAPTIVE SETTINGS */
*, *::before, *::after {
  box-sizing: border-box;
}

/* CONTAINER WIDTHS */
.header-container,
.footer-container,
.trust-grid,
.product-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* SECTION DIVIDER — PREMIUM STYLE */
.section-divider {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  margin: 4rem auto;
  width: 100%;
}










/* ==========================================================================
   HEADER & NAV — Single-Line Shrink + Language Dropdown (RAFIQ GROUP)
   Поведение:
   - Фиксированный полупрозрачный header
   - Меню всегда в одну строку, с поэтапным сжатием на брейкпойнтах
   - Иконка-глобус с выпадающим списком языков справа от меню
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   1) HEADER: каркас и фон
   ────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 31, 23, .8);
  backdrop-filter: blur(6px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;         /* не переносим логотип/меню */
  gap: 20px;
  margin: 0 auto;
  padding: 25px 28px;
  min-width: 0;              /* разрешаем сжиматься во флексе */
}

.header-logo img {
  width: auto;
  height: 60px;
  transition: height .25s ease;
}

/* ──────────────────────────────────────────────────────────────────────────
   2) NAV: одна строка без переносов
   ────────────────────────────────────────────────────────────────────────── */
.nav-row {
  display: flex;
  align-items: center;        /* центрируем всё по вертикали */
  justify-content: flex-end;
  gap: 14px;                  /* расстояние между меню и иконкой языка */
  min-width: 0;
}

.nav.nav-links {
  display: flex;
  align-items: center;        /* ровняем текст и иконку */
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: nowrap;          /* всё в одну линию */
  white-space: nowrap;        /* пункты не переносятся */
  min-width: 0;
}

.nav.nav-links a {
  display: inline-flex;       /* чтобы текст был выровнен по центру */
  align-items: center;        /* выравниваем вертикально */
  justify-content: center;
  line-height: 1;             /* убираем “прыжок” вниз */
  text-decoration: none;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: .3px;
  padding: 8px 10px;
  color: var(--gold);
  transition: color .2s ease, font-size .2s ease, padding .2s ease;
}

.nav.nav-links a:hover {
  color: var(--main-green);
}

/* ──────────────────────────────────────────────────────────────────────────
   3) LANGUAGE DROPDOWN: иконка-глобус + меню
   ────────────────────────────────────────────────────────────────────────── */
.lang-menu{
  position: relative;   /* ВАЖНО: привязываем dropdown к кнопке */
  display: flex;
  align-items: center;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, .25);
  background: rgba(212, 175, 55, .08);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.lang-trigger img {
  width: 60%;
  height: auto;
  object-fit: contain;
  display: block;
}


.lang-trigger:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, .45);
}


.lang-trigger[aria-expanded="true"] {
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .2);
}

/* Выпадающее меню языков */
.lang-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 30;
  display: none;             /* .open -> display: block */
  min-width: 120px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #0d0d0f;
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 12px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .35),
    inset 0 0 0 1px rgba(212, 175, 55, .06);
}

.lang-dropdown.open { display: block; }

.lang-dropdown li { margin: 2px 0; }

.lang-dropdown button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.lang-dropdown button:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, .08);
}

/* ──────────────────────────────────────────────────────────────────────────
   4) BREAKPOINTS: шаги сжатия без переносов (последовательно)
   ────────────────────────────────────────────────────────────────────────── */

/* ≤ 980px */
@media (max-width: 980px) {
  .header-container { padding: 24px 22px;; gap: 16px; }
  .header-logo img   { height: 40px; }
  .nav.nav-links     { gap: 12px; }
  .nav.nav-links a   { font-size: 20px; letter-spacing: .25px; padding: 6px 8px; }
  .lang-trigger      { width: 30px; height: 30px; }
}

/* ≤ 820px */
@media (max-width: 820px) {
  .header-container { padding: 20px 18px; gap: 14px; }
  .header-logo img   { height: 35px; }
  .nav.nav-links     { gap: 10px; }
  .nav.nav-links a   { font-size: 18px; letter-spacing: .2px; padding: 5px 7px; }
  .lang-trigger      { width: 25px; height: 25px; }
}

/* ≤ 680px */
@media (max-width: 680px) {
  .header-container { padding: 16px 14px; gap: 12px; }
  .header-logo img   { height: 30px; }
  .nav.nav-links     { gap: 8px; }
  .nav.nav-links a   { font-size: 16px; letter-spacing: .15px; padding: 4px 6px; }
  .lang-trigger      { width: 20px; height: 20px; }
}

/* ≤ 560px */
@media (max-width: 560px) {
  .header-container { padding: 14px 14px; gap: 10px; }
  .header-logo img   { height: 25px; }
  .nav.nav-links     { gap: 6px; }
  .nav.nav-links a   { font-size: 14px; letter-spacing: .1px; padding: 3px 5px; }
  
  
}

/* ≤ 440px — ультра-компакт + лёгкий масштаб,
   чтобы гарантированно не было горизонтального скролла */
@media (max-width: 440px) {
  .header-container { padding: 12px 12px; gap: 8px; }
  .header-logo img   { height: 22px; }
  .nav.nav-links     { gap: 4px; transform: scale(0.95); transform-origin: right center; }
  .nav.nav-links a   { font-size: 12px; letter-spacing: 0; padding: 2px 4px; }
}

/* ≤ 380px — финальный «страховочный» масштаб меню */
@media (max-width: 380px) {
  .header-logo img { height: 15px; }
  .nav.nav-links   { transform: scale(0.9); }
}

/* ──────────────────────────────────────────────────────────────────────────
   5) Мобильная подстройка самой иконки языка
   ────────────────────────────────────────────────────────────────────────── */









/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* === HERO TEXT STYLING (RAFIQ GROUP STYLE) === */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* затемнение для читаемости текста */
  backdrop-filter: blur(3px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 1.2s ease-out forwards;
}

/* === TITLE === */
.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #FFD76A; /* более светлое золото */
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8),
               0 0 25px rgba(255, 215, 106, 0.7);
  margin-bottom: 1.5rem;
}

/* === SUBTEXT === */
.hero-content p {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.8;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
}

/* === BUTTON === */
.hero-content .start-btn {
  display: inline-block;
  color: var(--white);
  background: var(--gradient-green-gold);
  border: none;
  border-radius: 40px;
  padding: 1rem 2.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 25px rgba(46,139,87,0.5);
}

.hero-content .start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(212,175,55,0.8), 0 0 55px rgba(46,139,87,0.7);
  filter: brightness(1.1);
}

/* === ANIMATION === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HERO RESPONSIVE — CLEAN SHRINK === */

/* Современные вьюпорт-юниты для мобилок (устраняют 100vh jump) */
@supports (height: 100svh) {
  .hero { height: 100svh; }
}

/* 1200px и ниже — лёгкое ужатие */
@media (max-width: 1200px) {
  .hero-content { max-width: 760px; }
  .hero-content h1 { font-size: 3.2rem; letter-spacing: 1.8px; margin-bottom: 1.25rem; }
  .hero-content p  { font-size: 1.25rem; margin-bottom: 2.4rem; }
  .hero-content .start-btn { font-size: 1.15rem; padding: 0.9rem 2.2rem; }
}

/* 980px и ниже — заметнее уменьшаем типографику и поля */
@media (max-width: 980px) {
  .hero { height: 92vh; }
  .hero-overlay { padding: 1.6rem; }
  .hero-content { max-width: 640px; }
  .hero-content h1 { font-size: 2.6rem; letter-spacing: 1.6px; text-shadow: 0 3px 22px rgba(0,0,0,.8), 0 0 18px rgba(255,215,106,.55); }
  .hero-content p  { font-size: 1.1rem; line-height: 1.75; margin-bottom: 2rem; }
  .hero-content .start-btn { font-size: 1.05rem; padding: 0.85rem 2rem; }
}

/* 760px и ниже — компактный режим планшета/малых телефонов */
@media (max-width: 760px) {
  .hero { height: 88vh; }
  .hero-overlay { padding: 1.25rem; backdrop-filter: blur(2.5px); }
  .hero-content { max-width: 520px; }
  .hero-content h1 { font-size: 2.1rem; letter-spacing: 1.2px; margin-bottom: 1rem; }
  .hero-content p  { font-size: 1rem; line-height: 1.65; margin-bottom: 1.6rem; }
  .hero-content .start-btn { font-size: 1rem; padding: 0.8rem 1.8rem; border-radius: 36px; box-shadow: 0 0 18px rgba(46,139,87,.45); }
}

/* 560px и ниже — телефоны: ещё плотнее, без потери читабельности */
@media (max-width: 560px) {
  .hero { height: 86vh; }
  .hero-overlay { padding: 1rem; backdrop-filter: blur(2px); }
  .hero-content { max-width: 92vw; }
  .hero-content h1 { font-size: 1.7rem; letter-spacing: 1px; text-shadow: 0 2px 16px rgba(0,0,0,.75), 0 0 12px rgba(255,215,106,.5); }
  .hero-content p  { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.3rem; }
  .hero-content .start-btn { font-size: 0.95rem; padding: 0.7rem 1.5rem; border-radius: 32px; box-shadow: 0 0 14px rgba(46,139,87,.4); }
}

/* 420px и ниже — «ультра-компакт»: микроправки для узких экранов */
@media (max-width: 420px) {
  .hero { height: 84vh; }
  .hero-content h1 { font-size: 1.5rem; letter-spacing: 0.8px; margin-bottom: 0.85rem; }
  .hero-content p  { font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .hero-content .start-btn { font-size: 0.9rem; padding: 0.65rem 1.3rem; }
}














/* ===============================
   ABOUT — Clean & Ordered Styles
   Structure → Box → Typography → Visual → Effects/Transitions
================================= */

/* Section & Container */
.section {
  position: relative;
  padding: 80px 0;
  background: var(--background-dark);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-title {
  margin-bottom: 18px;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* фото больше, текст компактнее */
  gap: 50px;
  align-items: center;
}

/* Lead text */
.about-lead {
  margin-bottom: 24px;
  line-height: 1.75;
  color: var(--white);
  opacity: .92;
  text-shadow: 0 0 10px rgba(0,0,0,.35);
}

/* ===== ABOUT — центрированный макет ===== */
.about-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-header {
  max-width: 800px;
  margin-bottom: 2rem;
}

.about-header .section-title {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-header .about-lead {
  font-size: 1rem;
  opacity: .9;
  line-height: 1.6;
}

.about-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 2rem;
}

.about-branch {
  background: rgba(13, 29, 23, 0.6);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.06);
  text-align: left;
  padding: 1.5rem 2rem;
}

.about-branch h3 {
  color: var(--gold);
  margin-bottom: .75rem;
  
}

.about-branch p {
  margin-bottom: 2rem;
  opacity: .9;
  line-height: 1.5;
}

.about-branch ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-branch li {
  margin-bottom: 1rem;
}

.about-branch a {
  color: var(--gold);
  text-decoration: none;
}

/* правый блок — преимущества */
.about-features {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.about-features li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
  background: rgba(13,29,23,0.5);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 14px;
  padding: .9rem 1.2rem;
  text-align: left;
}

.about-features .icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.btn-gold {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(135deg, #2E8B57 0%, #D4AF37 100%);
  box-shadow:
    0 0 12px rgba(212, 175, 55, 0.25),
    inset 0 0 6px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #3fa96b 0%, #f2c94c 100%);
  box-shadow:
    0 0 18px rgba(212,175,55,0.45),
    inset 0 0 8px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 0 6px rgba(212,175,55,0.2),
    inset 0 0 4px rgba(0,0,0,0.3);
}

.btn-gold:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.4);
}

/* ======= АДАПТИВ RAFIQ GROUP ======= */

@media (min-width: 1600px) {
  .about-header .section-title {
    font-size: 2.4rem;
  }
  .about-header .about-lead {
    font-size: 1.1rem;
    max-width: 900px;
  }
  .about-flex {
    max-width: 1300px;
    gap: 2.5rem;
  }
  .btn-gold {
    font-size: 1.1rem;
    padding: 1rem 2.6rem;
  }
}

@media (max-width: 1440px) {
  .about-header .section-title {
    font-size: 2rem;
  }
  .about-header .about-lead {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .about-flex {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 90%;
  }
  .about-branch, .about-features {
    text-align: left;
  }
  .about-branch {
    padding: 1.4rem 1.6rem;
  }
  .about-features li {
    padding: 1rem 1.4rem;
  }
  .btn-gold {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

@media (max-width: 860px) {
  .about-header {
    max-width: 90%;
  }
  .about-header .section-title {
    font-size: 1.8rem;
  }
  .about-header .about-lead {
    font-size: 0.95rem;
  }
  .about-branch {
    font-size: 0.95rem;
    padding: 1.2rem 1.5rem;
  }
  .about-features li {
    font-size: 0.95rem;
  }
  .about-features .icon svg {
    width: 18px;
    height: 18px;
  }
  .btn-gold {
    padding: 0.8rem 1.8rem;
  }
}

@media (max-width: 600px) {
  .about-header .section-title {
    font-size: 1.6rem;
  }
  .about-header .about-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .about-branch {
    padding: 1rem 1.2rem;
    border-radius: 14px;
  }
  .about-branch h3 {
    font-size: 1.05rem;
  }
  .about-branch p, .about-branch li {
    font-size: 0.9rem;
  }
  .about-features li {
    padding: 0.8rem 1rem;
    gap: 0.6rem;
  }
  .btn-gold {
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
  }
}

@media (max-width: 420px) {
  .about-header .section-title {
    font-size: 1.4rem;
  }
  .about-header .about-lead {
    font-size: 0.88rem;
  }
  .about-flex {
    gap: 1rem;
  }
  .about-branch {
    padding: 0.9rem 1.1rem;
  }
  .about-features li {
    font-size: 0.88rem;
  }
  .btn-gold {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
}














/* ===============================
   PRODUCTS — Clean & Ordered
   Structure → Box → Typography → Visual → Effects
================================= */

/* Section */
.products {
  padding: 80px 0;
  background: var(--background-light);
}

/* Headings */
.section-title {
  margin-bottom: 10px;
  text-align: center;
  font-size: 2.4rem;
  color: var(--gold);
}

.section-subtitle {
  margin-bottom: 40px;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

.category-title {
  margin: 40px 0 20px;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Mini grid of products */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

/* Mini card */
.mini-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.6)),
    var(--bg) center/cover no-repeat;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform, box-shadow;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
}

/* Keyboard focus */
.mini-card:focus {
  outline: none;
}

.mini-card:focus-visible {
  box-shadow: 0 0 0 2px #0b0f0d, 0 0 0 4px var(--gold);
  transform: translateY(-2px);
}

/* ===============================
   Modal
================================= */

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.product-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 480px;
  padding: 32px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  text-align: center;
  color: var(--white);
  background: #111;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.8rem;
  color: var(--gold);
  cursor: pointer;
}

/* Close focus ring */
.modal-close:focus {
  outline: none;
}

.modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===============================
   Responsive & Motion
================================= */
@media (max-width: 640px) {
  .mini-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .section-title { font-size: 2rem; }
  .category-title { font-size: 1.2rem; margin: 28px 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .mini-card { transition: none; }
}











/* ===============================
   EXPORT — Clean & Ordered
   Structure → Box → Typography → Visual → Effects
================================= */

/* Grid */
.export-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Media block */
.export-media {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

/* Image / Video */
.export-media img,
.export-media .export-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 0 20px rgba(212,175,55,0.08);
}

/* Media badge */
.media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 999px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  background: rgba(11,31,23,.65);
  backdrop-filter: blur(6px);
}

/* Lead text */
.export-lead {
  margin: 6px 0 20px;
  line-height: 1.75;
  color: var(--white);
  opacity: .92;
  text-shadow: 0 0 10px rgba(0,0,0,.35);
}

/* ===============================
   EXPORT PROCESS — Two Columns with Center Connector
================================= */

.process {
  display: grid;
  grid-template-columns: 1fr 42px 1fr; /* left — connector — right */
  gap: 20px 28px; /* row / column */
  align-items: center;
}

/* Step card */
.process .step {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(212,175,55,0.32);
  border-radius: 22px;
  color: #fff;
  background: rgba(12,26,20,0.66);
  box-shadow:
    inset 0 0 0 1px rgba(212,175,55,0.06),
    0 8px 18px rgba(0,0,0,0.24);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform, box-shadow;
}

.process .step:hover {
  transform: translateY(-1px);
  border-color: rgba(212,175,55,0.5);
  box-shadow:
    inset 0 0 0 1px rgba(212,175,55,0.10),
    0 12px 26px rgba(0,0,0,0.28);
}

/* Keyboard focus */
.process .step:focus { outline: none; }
.process .step:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Step icon */
.process .step .ic {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212,175,55,0.42);
  border-radius: 12px;
  background:
    radial-gradient(120% 120% at 20% 20%,
      rgba(212,175,55,0.20),
      rgba(46,139,87,0.14) 60%,
      transparent 100%);
  color: var(--gold);
}

.process .step .title {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Center connector (line + down arrow) */
.process .connector {
  position: relative;
  justify-self: center;
  width: 42px;
  height: 20px; /* row-gap drives spacing */
}

.process .connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    rgba(212,175,55,0) 0%,
    rgba(212,175,55,0.35) 20%,
    rgba(212,175,55,0.45) 50%,
    rgba(212,175,55,0.35) 80%,
    rgba(212,175,55,0) 100%);
}

.process .connector::after {
  content: "\2192";
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 6px;
  padding-bottom: 3px;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 800;
  color: rgba(212,175,55,0.95);
  background: #11241C;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.25);
}

/* Hide connector on last row */
.process .connector.end::before,
.process .connector.end::after {
  display: none;
}

/* ===============================
   Responsive
================================= */

/* Tablet */
@media (max-width: 980px) {
  .export-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process {
    gap: 16px 22px;
  }

  .process .step {
    min-height: 66px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .process .step .ic {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .process .step .title {
    font-size: 1rem;
  }
}

/* Phone: single column, vertical arrows between steps */
@media (max-width: 700px) {
  .process {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process .connector {
    display: none;
  }

  .process .step {
    position: relative;
  }

  .process .step:not(:last-of-type)::after {
    content: "↓";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    padding: 0 6px;
    font-size: .95rem;
    font-weight: 800;
    color: rgba(212,175,55,0.95);
    background: #11241C;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(212,175,55,0.25);
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .process .step { transition: none; }
}










/* ===============================
   MARQUEE — Бегущие флаги (seamless)
   Требуется: внутри .destinations-wrapper разместить ДВА одинаковых .destinations.marquee подряд
================================= */

/* Обёртка с маской по краям */
.destinations-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 30px; /* отступ сверху */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Лента: один «пакет» флагов.
   Для бесшовной прокрутки разместите два одинаковых пакета подряд. */
.destinations.marquee {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: flags-scroll 30s linear infinite;
  will-change: transform;
}

/* Пауза при наведении мышью или при фокусе внутри (клавиатура) */
.destinations-wrapper:hover .destinations.marquee,
.destinations-wrapper:focus-within .destinations.marquee {
  animation-play-state: paused;
}

/* Ключевые кадры: уезжаем ровно на 50%, если два одинаковых пакета подряд */
@keyframes flags-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Карточка направления (флага) */
.destinations .dst {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Ховер эффект — чуть «поднять», без ужимания */
.destinations .dst:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(212,175,55,0.28);
}

/* Фокус-кольцо для клавиатуры */
.destinations .dst:focus { outline: none; }
.destinations .dst:focus-visible {
  box-shadow: 0 0 0 2px #0b0f0d, 0 0 0 4px var(--gold);
  transform: translateY(-1px);
}

/* Иконка флага */
.destinations img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}

/* ===============================
   Responsive & Motion
================================= */

@media (max-width: 640px) {
  .destinations .dst { padding: 8px 12px; }
  .destinations img { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .destinations.marquee { animation: none; }
}











/* ===============================
   CERTIFICATES / QUALITY — Clean & Ordered
   Structure → Box → Typography → Visual → Effects
================================= */

/* Section */
.section.quality {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--bg, #0b0b0f);
}

.quality-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(11,11,15,0.6), rgba(11,11,15,0.95)),
    url('/assets/images/lab-or-quality.jpg') center/cover no-repeat;
  filter: saturate(0.9) contrast(1.05);
  opacity: 0.9;
}

.section.quality .container {
  position: relative;
  z-index: 1;
}

/* Head */
.section-head {
  margin-bottom: 32px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
}

.section-subtitle {
  max-width: 820px;
  margin: 12px auto 0;
  line-height: 1.7;
  color: var(--text-muted, #d9d9e6);
  text-shadow: 0 0 8px rgba(0,0,0,.35);
}

/* Grid of cards */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.q-card {
  position: relative;
  padding: 20px 18px 16px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.q-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 10px 30px rgba(212,175,55,0.12);
}

.q-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 12px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(212,175,55,.28), rgba(212,175,55,.06));
}

.q-card h3 {
  margin: 2px 0 8px;
  font-size: 18px;
  letter-spacing: .3px;
  color: var(--white, #fff);
}

.q-card p {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text, #e9e9f1);
  opacity: .9;
}

/* Link */
.q-link {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: .2px;
  color: var(--gold, #d4af37);
  border-bottom: 1px dashed rgba(212,175,55,0.5);
  transition: color .2s ease, border-color .2s ease;
}

.q-link:hover {
  color: #ffe08a;
  border-color: rgba(255,224,138,0.8);
}

.q-link:focus { outline: none; }
.q-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-bottom-color: rgba(255,224,138,0.8);
}

/* Ribbon logos */
.cert-ribbon {
  overflow: hidden;
  margin: 28px 0 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  background: rgba(255,255,255,0.03);
}

.ribbon-track {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ribbon-track li {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.ribbon-track img {
  height: 30px;
  opacity: .9;
  filter: drop-shadow(0 0 6px rgba(0,0,0,.2));
  transition: opacity .2s ease, transform .2s ease;
}

.ribbon-track img:hover {
  opacity: 1;
  transform: scale(1.04);
}

/* Actions */
.quality-actions {
  display: flex;
  justify-content: center;
  margin-top: 75px;
}

.btn.btn-outline {
  --bd: rgba(212,175,55,0.55);
  padding: 12px 18px;
  border: 1px solid var(--bd);
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--gold, #d4af37);
  background: transparent;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn.btn-outline:hover {
  border-color: rgba(255,224,138,0.85);
  box-shadow: 0 8px 24px rgba(212,175,55,0.16);
  transform: translateY(-2px);
}

.btn.btn-outline:focus { outline: none; }
.btn.btn-outline:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===============================
   Responsive & Motion
================================= */

@media (max-width: 1100px) {
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .quality-grid { grid-template-columns: 1fr; }
  .quality-actions { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .q-card,
  .q-link,
  .ribbon-track img,
  .btn.btn-outline { transition: none; }
}











/* ===============================
   CONTACTS — Clean & Ordered
   Structure → Box → Typography → Visual → Effects
================================= */

/* Reset left align inside cards */
.contacts .info-card,
.contacts .info-list,
.contacts .info-list li > div,
.contacts .info-label,
.contacts .info-link,
.contacts .info-text {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

/* Layout: 2 → 1 columns */
.contacts .contacts-grid.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Cards */
.contacts .contact-card {
  display: flex;
  flex-direction: column;
  min-height: 460px; /* equal height on desktop */
  padding: 1.5rem;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 18px;
  background: #0d0d0f;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.06);
}

.contacts .card-title {
  margin-bottom: .75rem;
  font-weight: 600;
  color: var(--gold);
}

/* Section head */
.contacts .section-title {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.contacts .section-subtitle {
  margin-bottom: 2rem;
  color: var(--white);
  opacity: .75;
}

/* ---------- Form ---------- */

.contacts .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .25rem;
}

.contacts .contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.contacts .contact-form label {
  font-size: .95rem;
  color: var(--white);
  opacity: .9;
}

.contacts .contact-form input,
.contacts .contact-form textarea {
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: var(--white);
  background: #0a0a0c;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contacts .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contacts .contact-form input::placeholder,
.contacts .contact-form textarea::placeholder {
  color: rgba(255,255,255,.45);
}

/* Focus */
.contacts .contact-form input:focus,
.contacts .contact-form textarea:focus {
  border-color: rgba(212,175,55,.65);
  box-shadow: 0 0 0 4px rgba(212,175,55,.08);
}

/* Submit button */
.contacts .btn-primary {
  width: 100%;
  margin-top: .25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .06s ease, box-shadow .2s ease;
}

.contacts .btn-primary:hover {
  background: rgba(212,175,55,.12);
  box-shadow: 0 0 18px rgba(212,175,55,.15);
}

.contacts .btn-primary:active {
  transform: translateY(1px);
}

.contacts .btn-primary:focus { outline: none; }
.contacts .btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.contacts .form-note {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ---------- Info ---------- */

.contacts .info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacts .info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: start;
}

.contacts .info-emoji {
  font-size: 1.1rem;
}

.contacts .info-label {
  margin-bottom: .15rem;
  font-size: .9rem;
  color: var(--white);
  opacity: .75;
}

/* Generic links */
.contacts .info-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212,175,55,.45);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.contacts .info-link:hover {
  border-color: var(--gold);
}

.contacts .info-link:focus { outline: none; }
.contacts .info-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Phones: block targets */
.contacts .info-phones .info-link {
  display: block;
  padding: .35rem 0; /* comfortable tap target */
}

/* Emails: block targets */
.contacts .info-emails .info-link {
  display: block;
  padding: .2rem 0;
}

/* Plain text */
.contacts .info-text {
  color: var(--white);
  opacity: .85;
}

/* Social pills */
.contacts .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .25rem;
}

.contacts .social-links a {
  padding: .35rem .7rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  text-decoration: none;
  color: var(--white);
  opacity: .9;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.contacts .social-links a:hover {
  color: var(--gold);
  border-color: rgba(212,175,55,.45);
}

.contacts .social-links a:focus { outline: none; }
.contacts .social-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Bottom extra line inside card */
.contacts .info-extra {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,.08);
}

/* ---------- Responsive ---------- */

/* Tablet and below */
@media (max-width: 1024px) {
  .contacts .contact-card { min-height: auto; }
}

/* Mobile: single column, bigger tap areas */
@media (max-width: 900px) {
  .contacts .contacts-grid.two-cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contacts .contact-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .contacts .contact-form input,
  .contacts .contact-form textarea {
    padding: 1rem 1.1rem;
    border-radius: 14px;
  }

  .contacts .info-list { gap: 1.1rem; }

  .contacts .info-phones .info-link,
  .contacts .info-emails .info-link {
    padding: .45rem 0;
  }
}

/* Super mobile (≤480px) */
@media (max-width: 480px) {
  /* Container paddings */
  #contacts .container { padding-inline: 14px; }

  /* Cards */
  .contacts .contact-card {
    padding: .85rem;
    border-radius: 14px;
  }

  /* Titles */
  .contacts .section-title {
    font-size: 1.4rem; /* ~22px */
    text-align: center;
  }

  .contacts .section-subtitle {
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .contacts .card-title {
    font-size: 1rem;
    margin-bottom: .5rem;
  }

  /* Inputs */
  .contacts .contact-form input,
  .contacts .contact-form textarea {
    padding: .8rem .9rem;
    font-size: .9rem;
    border-radius: 12px;
  }

  /* Button */
  .contacts .btn-primary {
    padding: .9rem 1rem;
    font-size: .95rem;
    border-radius: 12px;
  }

  /* Note */
  .contacts .form-note {
    font-size: .8rem;
    text-align: center;
  }

  /* Info */
  .contacts .info-label { font-size: .85rem; }
  .contacts .info-link { font-size: .9rem; }

  .contacts .info-list li {
    grid-template-columns: 22px 1fr;
    gap: .6rem;
  }

  .contacts .info-emoji { font-size: 1rem; }

  /* Social */
  .contacts .social-links a {
    padding: .3rem .6rem;
    font-size: .85rem;
    border-radius: 999px;
  }

  /* Optional overall downscale (kept as in source) */
  .contacts {
    transform: scale(.96);
    transform-origin: top center;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .contacts .contact-form input,
  .contacts .contact-form textarea,
  .contacts .btn-primary,
  .contacts .info-link,
  .contacts .social-links a { transition: none; }
}





/* ===== FOOTER ===== */
.site-footer {
  background: #0d0d0f;
  border-top: 1px solid rgba(212,175,55,0.25);
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.06);
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
  color: var(--white);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* ЛОГО */
.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 0.4rem;
}
.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

/* НАВИГАЦИЯ */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-left: 30px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .25s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

/* КОПИРАЙТ */
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.15);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-bottom .dev {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.footer-bottom .dev span {
  color: var(--gold);
  font-weight: 500;
}

/* АДАПТИВ */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo img {
    height: 50px;
  }
}

