:root {
  --red: #D42B1E;
  --red2: #b82015;
  --red3: #ff4438;
  --red4: #f0e4e4;
  --red5: #c04736;
  --red6: #7d1b1b;
  --dark: #0d0d0f;
  --dark2: #151518;
  --dark3: #1c1c21;
  --surface: #222228;
  --surface2: #2a2a31;
  --white: #ffffff;
  --off: #f8f7f5;
  --cream: #f2f0ec;
  --muted: #7a7975;
  --muted2: #a8a59f;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --primary: #d91f26;
  --primary-dark: #b5171d;
  --text: #1f2937;
  --bg: #ffffff;
  --soft: #f8fafc;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 9999px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}


.container {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--dark);
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary)!important;
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark)!important;
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(17, 24, 39, .06);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217, 31, 38, .08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.swiper-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.empty-block {
  padding: 30px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
}

@media (max-width: 992px) {

  .grid-2,
  .grid-3,
  .swiper-wrap {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 30px;
  }
}


/* =========================================
   4.5 Scroll Progress Bar
   ========================================= */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 102, 204, 0.1);
    z-index: 99999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red6) 0%, var(--red), var(--red6) 100%);
    background-size: 200% 100%;
    animation: progressGradient 2s linear infinite;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.5),
                0 0 5px rgba(204, 0, 0, 0.3);
}

@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0; background: var(--red2);
  display: flex; align-items: center; justify-content: center;
  z-index: 99998; transition: opacity .5s, visibility .5s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-logo {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.pre-logo svg { animation: pre-spin 2s ease-in-out infinite; }
@keyframes pre-spin {
  0%,100%{ transform: scale(1) rotate(0deg); }
  50%{ transform: scale(1.1) rotate(180deg); }
}
.pre-dots { display: flex; gap: 8px; }
.pre-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); opacity: .4;
  animation: dot-blink 1.4s ease-in-out infinite;
}
.pre-dot:nth-child(2){ animation-delay: .2s; }
.pre-dot:nth-child(3){ animation-delay: .4s; }
@keyframes dot-blink { 0%,80%,100%{ opacity:.2; transform:scale(.8); } 40%{ opacity:1; transform:scale(1); } }



/* ── Scroll progress ── */
#scroll-line {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--accent));
  z-index: 99999; transition: width .12s;
}




/* ── Back to top ── */
#back-top {
  position: fixed; bottom: 28px; right: 28px!important;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; z-index: 999;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: var(--transition); box-shadow: var(--shadow-md);
}
#back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-top:hover { background: var(--red2); transform: translateY(-3px); }


