/* Цветовая палитра (российский рынок): доверительный синий и контрастный оранжевый */
:root {
  --primary: #0d6efd; /* Bootstrap primary */
  --accent: #ff7a00; /* CTA оранжевый */
  --dark: #212529;
}

/* Полный сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  color: var(--dark);
}

/* Убираем отступы у Bootstrap контейнеров */
.container, .container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* NAVBAR STYLES */
.navbar {
  transition: all 0.3s ease;
  z-index: 1000;
  background-color: transparent !important;
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  border-radius: 20px 20px 0 0;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  top: 10px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* HERO SECTION */
#hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0f1f15 0%, #1a2f20 35%, #2d4a35 100%), url('../img/hero-bg.jpg') center/cover no-repeat;
  background-blend-mode: overlay;
  position: relative;
  z-index: 1;
  margin: 20px;
  margin-top: 0;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* ACCENT COLORS */
.text-accent {
  color: var(--accent) !important;
}

.btn-accent {
  background-color: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-accent:hover {
  background-color: #e56e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3);
  color: #fff;
}

/* Hero badge (chip) */
.hero-chip {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 122, 0, 0.15);
	border: 1px solid rgba(255, 122, 0, 0.45);
	color: #fff;
	font-weight: 700;
	backdrop-filter: blur(4px);
}

@media (max-width: 575.98px) {
	.hero-chip { font-size: 0.95rem; }
}

/* BENEFITS CARDS */
.benefit-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 15px;
	background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
	border: 1px solid rgba(13, 110, 253, 0.1);
	height: 100%;
}

.benefit-card .card-body {
	padding: 1.25rem 0.75rem;
}

.benefit-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(13, 110, 253, 0.12);
}

.benefit-card h4 {
	color: var(--primary);
	font-size: 1.2rem;
}

.benefit-card p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #495057;
}

/* STEP NUMBERS */
.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* FOOTER */
footer a {
  color: #adb5bd;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* THANKS PAGE NAVBAR */
.thanks-navbar {
  top: 20px !important;
  left: 20px !important;
  right: 20px !important;
  width: calc(100% - 40px) !important;
  border-radius: 20px !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE FIXES */
@media (max-width: 991.98px) {
  /* NAVBAR MOBILE */
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    border-radius: 15px 15px 0 0;
    padding: 0.5rem 0;
  }
  
  .navbar.scrolled {
    border-radius: 15px;
    top: 5px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
  }
  
  .navbar-nav .nav-item {
    text-align: center;
    margin: 0.25rem 0;
  }
  
  .navbar-nav .btn-accent {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    width: 200px;
  }
  
  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.25);
  }
  
  .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.95);
    margin: 1rem -15px -0.5rem -15px;
    padding: 1rem 15px;
    border-radius: 0 0 15px 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  /* HERO MOBILE */
  #hero {
    min-height: 60vh;
    margin: 10px;
    margin-top: 0;
    border-radius: 0 0 15px 15px;
    padding-top: 80px;
  }
  
  #hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
  }
  
  #hero .lead {
    font-size: 1rem;
  }
  
  /* BENEFITS TABLET */
  @media (min-width: 768px) and (max-width: 1199.98px) {
    .benefit-card {
      padding: 1.25rem 0.5rem;
    }
    
    .benefit-card h4 {
      font-size: 1rem;
    }
    
    .benefit-card p {
      font-size: 0.85rem;
    }
  }
  
  /* BENEFITS MOBILE */
  @media (max-width: 767.98px) {
    .benefit-card {
      padding: 1.5rem 1rem;
      margin-bottom: 1.5rem;
    }
    
    .benefit-card h4 {
      font-size: 1.1rem;
    }
    
    .benefit-card p {
      font-size: 0.9rem;
    }
  }
  
  /* ABOUT MOBILE */
  #about .row {
    flex-direction: column-reverse;
  }
  
  #about img {
    margin-bottom: 2rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* TIMELINE MOBILE */
  #timeline .col-md-4 {
    margin-bottom: 2.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
  }
  
  /* FORM MOBILE */
  #leadform .col-lg-6 {
    padding: 0 15px;
  }
  
  #leadform .card {
    margin: 0 10px;
    border-radius: 15px;
  }
  
  #leadform .card-body {
    padding: 2rem 1.5rem;
  }
  
  /* SOCIAL MOBILE */
  #social .d-flex {
    flex-direction: column !important;
    align-items: center;
  }
  
  #social .btn {
    width: 80%;
    max-width: 250px;
    margin: 0.25rem 0;
  }
}

@media (max-width: 575.98px) {
  /* EXTRA SMALL SCREENS */
  .navbar {
    top: 5px;
    left: 5px;
    right: 5px;
    width: calc(100% - 10px);
  }
  
  .navbar.scrolled {
    left: 5px;
    right: 5px;
    width: calc(100% - 10px);
  }
  
  #hero {
    margin: 5px;
    margin-top: 0;
    min-height: 50vh;
    padding-top: 70px;
  }
  
  #hero h1 {
    font-size: 1.5rem !important;
  }
  
  #hero .lead {
    font-size: 0.9rem;
  }
  
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  #leadform .card {
    margin: 0 5px;
  }
  
  #leadform .card-body {
    padding: 1.5rem 1rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.1rem;
  }
  
  /* BENEFITS EXTRA SMALL */
  @media (max-width: 575.98px) {
    .benefit-card {
      padding: 1rem 0.75rem;
    }
    
    .benefit-card h4 {
      font-size: 1rem;
    }
    
    .benefit-card p {
      font-size: 0.85rem;
    }
  }
  
  /* SOCIAL EXTRA SMALL */
  #social h2 {
    font-size: 1.5rem;
  }
  
  #social .btn.me-2 {
    margin-right: auto !important;
  }
  
  /* THANKS PAGE MOBILE OVERRIDE */
  .thanks-navbar {
    top: 5px !important;
    left: 5px !important;
    right: 5px !important;
    width: calc(100% - 10px) !important;
    border-radius: 15px !important;
  }
} 

/* SOCIAL CTA */
.social-cta {
	background: linear-gradient(135deg, #0f1f15 0%, #1a2f20 50%, #2d4a35 100%);
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	margin: 20px;
}

.social-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
	pointer-events: none;
}

.cta-card {
	max-width: 900px;
	background: rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 20px;
}

.btn-cta {
	padding: 0.9rem 1.5rem;
	font-weight: 700;
	border-radius: 50px;
}

.btn-cta-outline {
	padding: 0.9rem 1.5rem;
	font-weight: 700;
	border-radius: 50px;
	border-width: 2px;
}

@media (max-width: 575.98px) {
	.social-cta {
		border-radius: 16px;
		margin: 10px;
	}
	.cta-card {
		border-radius: 16px;
	}
	.btn-cta, .btn-cta-outline {
		padding: 0.85rem 1.25rem;
		width: 100%;
	}
} 

/* SOCIAL CTA list */
.cta-list {
	max-width: 720px;
}

.cta-list li {
	color: rgba(255,255,255,0.85);
	margin-bottom: 0.35rem;
	font-size: 0.95rem;
}

@media (max-width: 575.98px) {
	.cta-list {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}
	.cta-list li {
		font-size: 0.9rem;
	}
} 

/* LEAD FORM REFINEMENT */
#leadform .card {
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	background: #ffffff;
}

#leadform .card-body {
	padding: 2rem;
}

@media (min-width: 992px) {
	#leadform .card-body {
		padding: 2.25rem 2.5rem;
	}
}

#leadform .card-title {
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

#leadform .form-label {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 0.35rem;
}

#leadform .form-control {
	height: 48px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background-color: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#leadform .form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.15);
}

#leadform .btn-accent {
	height: 48px;
	font-weight: 700;
	border-radius: 12px;
}

#leadform .card .mb-3 {
	margin-bottom: 1rem !important;
}

@media (max-width: 575.98px) {
	#leadform .card-body {
		padding: 1.5rem 1.25rem;
	}
	#leadform .card-title {
		font-size: 1.35rem;
	}
} 

/* Section backgrounds to harmonize palette */
.section-soft {
	background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.section-plain {
	background: #ffffff;
}

/* Image frame in about section */
#about img {
	border-radius: 0;
	border: none;
	box-shadow: none;
}

/* Headings harmony */
#benefits h2, #timeline h2 {
	color: #163d2c;
}

.benefit-card h4 {
	color: #1a2f20; /* deep green for harmony */
}

/* Subtle separators */
.section-soft .container { position: relative; }
.section-soft .container::after {
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,0.06), rgba(0,0,0,0));
	margin-top: 2rem;
}

@media (max-width: 575.98px) {
	.section-soft .container::after { margin-top: 1.5rem; }
} 

/* Mockup wrapper for About section */
.mockup-wrap {
	position: relative;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

.mockup-wrap::after { display: none; }

/* Update the mockup-photo to fit */
.mockup-photo {
	width: 100%;
	display: block;
	border-radius: 0;
	box-shadow: none;
}

/* About text sizing */
#about .lh-lg li {
	font-size: 1.1rem;
	line-height: 1.75;
	margin-bottom: 0.5rem;
}
#about .lh-lg li i {
	font-size: 1.05rem;
}

/* Make mockup a bit smaller to balance with larger text */
.mockup-wrap { max-width: 320px; }
@media (max-width: 991.98px) {
	.mockup-wrap { max-width: 300px; }
}
@media (max-width: 575.98px) {
	.mockup-wrap { max-width: 240px; }
} 

/* Toggle mockup visibility via class */
#about.hide-mockup .mockup-col { display: none; }
#about.hide-mockup .about-text-col { flex: 0 0 100%; max-width: 100%; } 

/* Mobile tweaks for hero */
@media (max-width: 575.98px) {
	#hero .btn { width: 100%; }
	#hero p.lead { font-size: 0.95rem; }
	#hero p.mb-4 { margin-bottom: 0.9rem !important; }
	#hero p.mb-3 { margin-bottom: 0.6rem !important; }
} 

/* Hero actions mobile fit */
@media (max-width: 575.98px) {
	#hero .d-flex.flex-column { max-width: 340px; margin-left: auto; margin-right: auto; }
	#hero .btn { width: 100%; border-radius: 12px; padding: 0.9rem 1.1rem; font-weight: 700; }
	#hero .btn i { margin-right: 0.5rem; }
	#hero .btn-outline-light { border-width: 2px; border-color: rgba(255,255,255,0.8); }
} 

/* Compact hero buttons on phones */
@media (max-width: 575.98px) {
	#hero .d-flex.flex-column { max-width: 300px; }
	#hero .btn { padding: 0.7rem 0.9rem; font-size: 0.95rem; }
	#hero .btn.btn-lg { padding: 0.7rem 0.9rem; font-size: 1rem; }
	#hero .btn i { margin-right: 0.45rem; }
} 

/* About section emphasis */
.about-lead {
	color: #1a2f20;
	font-weight: 600;
	background: linear-gradient(90deg, rgba(45,122,89,0.12), rgba(45,122,89,0));
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 8px;
}

.about-card {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.about-mark { color: var(--accent); font-weight: 700; }

@media (max-width: 575.98px) {
	.about-lead { padding: 0.25rem 0.6rem; font-size: 0.95rem; }
} 

/* Steps visuals */
.step-card {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 16px;
	padding: 1.25rem 1rem;
	box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.step-title { font-weight: 700; }
.step-list { list-style: none; padding-left: 0; margin: 0; text-align: left; }
.step-list li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.step-list i { margin-right: 0.4rem; }

@media (max-width: 575.98px) {
	.step-card { padding: 1rem 0.85rem; }
	.step-list li { font-size: 0.92rem; }
} 