/* This website was created by autogis.ru */

/* Сброс стилей */
html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, 
pre, form, p, blockquote, fieldset, input,
article, aside, figure, footer, header, main, nav, section {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #1f282c;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 { line-height: normal; }
h1 { font-size: 1.25em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.15em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }

a { color: #2c2c2c; text-decoration: underline; }
a:hover { text-decoration: underline; }
a img { border: 0 none; }

input, textarea, select, button, body {
  font: 12px/16px Tahoma, Helvetica, sans-serif;
}
input, textarea, select, button, a { outline: none; }

p {
  margin-bottom: 0.4em;
  font-size: 12px;
  font-weight: bold;
}

.spis p {
  color: #FFF;
}

hr { border: 0 none; border-top: 1px solid #dbe8ed; height: 1px; }
ul { margin: 0 0 18px 15%; list-style: disc outside; }
ol { margin: 0 0 18px 2.1em; list-style: decimal; }

/* Layout */
#all_c {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Header */
#header {
  width: 100%;
  height: 162px;
  overflow: hidden;
  background-color: #00aff0;
  background-image: url(../images/header.jpg);
  background-repeat: repeat-x;
  background-position: bottom;
}

#logo {
  width: 301px;
  height: 150px;
  float: left;
  margin-left: 1%;
  margin-right: 1%;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  display: block;
}

#cong {
  font-family: Tahoma, Helvetica, sans-serif;
  font-size: 13px;
  color: #fff;
  font-weight: bold;
  float: left;
  width: 50%;
  margin: 20px auto 0 auto;
}

#login {
  font-family: Tahoma, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  background: url(../images/login.png);
  background-position: top;
  display: block;
  width: 142px;
  height: 38px;
  overflow: hidden;
  line-height: 38px;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  text-decoration: none;
  margin-top: 38px;
  margin-right: 3%;
  float: right;
}

#login:hover {
  background-position: bottom;
  width: 142px;
  height: 38px;
  text-decoration: none;
}

/* Hero section */
.spis {
  margin-top: 25px;
  width: 100%;
}

.cent_b {
  width: 688px;
  display: block;
  margin-top: 20px;
  margin: 0 auto;
}

.block_t {
  background: url(../images/pink_home_t.jpg);
  display: block;
  width: 677px;
  height: 16px;
}

.block_c {
  background: url(../images/pink_home_c.jpg);
  background-repeat: repeat-y;
  display: block;
  width: 677px;
  height: auto;
  overflow: hidden;
}

.block_b {
  background: url(../images/pink_home_b.jpg);
  background-repeat: repeat-y;
  display: block;
  width: 677px;
  height: 27px;
}

.in_bl {
  width: 580px;
  margin: 0 auto;
  margin-top: 5px;
}

#bespl {
  text-align: center;
  color: #fff;
  font-family: Tahoma, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 32px;
  padding: 15px 0 10px 0;
}

.novm {
  color: #fff;
  font-family: Tahoma, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 21px;
  margin-left: 40px;
}

.novm li {
  line-height: 21px;
  list-style: url('../images/pym_w.png');
  margin-bottom: 5px;
}

.usl {
  text-align: center;
  color: #fff;
  font-family: Tahoma, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 14px;
  margin: 15px 0;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

#modern-footer,
#modern-footer *,
.autogis-footer,
.autogis-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.autogis-footer {
  background-color: #f8f9fa !important;
  color: #333333 !important;
  padding: 40px 20px !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  border-top: 1px solid #e0e0e0 !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
  width: 100% !important;
  display: block !important;
  position: relative !important;
  z-index: 100 !important;
}

.footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.footer-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  padding-bottom: 25px !important;
  margin-bottom: 25px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  width: 100% !important;
}

.footer-brand {
  flex: 1 !important;
  min-width: 300px !important;
}

.company-name {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0066cc !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
}

.company-slogan {
  color: #666666 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  max-width: 500px !important;
}

.footer-links {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
  margin-top: 5px !important;
}
.footer-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #555555 !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  text-decoration: none !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
}

.footer-link:hover {
  background-color: rgba(0, 0, 0, 0.09) !important;
  color: #333333 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  text-decoration: none !important;
}

.footer-link:hover {
  background-color: #0052a3 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.link-icon {
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

.footer-middle {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 40px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

.footer-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  min-width: 0 !important;
}

.section-title {
  color: #0066cc !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 5px !important;
  position: relative !important;
  padding-bottom: 8px !important;
  line-height: 1.3 !important;
}

.section-title::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 40px !important;
  height: 2px !important;
  background: #0066cc !important;
}

.contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  line-height: 1.5 !important;
  color: #444444 !important;
  font-size: 0.95rem !important;
}

.contact-icon {
  flex-shrink: 0 !important;
  color: #0066cc !important;
  margin-top: 3px !important;
  width: 16px !important;
  height: 16px !important;
}

.contact-item a {
  color: #0066cc !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  font-size: inherit !important;
}

.contact-item a:hover {
  color: #0052a3 !important;
  text-decoration: underline !important;
}

.phone-numbers {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.phone-numbers div {
  line-height: 1.4 !important;
}

.product-name {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #333333 !important;
  margin: 5px 0 !important;
  line-height: 1.3 !important;
}

.product-desc {
  color: #666666 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
}

.product-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 10px 0 0 0 !important;
}

.product-features li {
  position: relative !important;
  padding-left: 15px !important;
  margin-bottom: 6px !important;
  color: #555555 !important;
  line-height: 1.4 !important;
}

.product-features li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: #0066cc !important;
  font-weight: bold !important;
}

.nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.nav-link {
  color: #555555 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  padding: 5px 0 !important;
  font-size: 0.95rem !important;
}

.nav-link:hover {
  color: #0066cc !important;
  transform: translateX(5px) !important;
  text-decoration: none !important;
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding-top: 25px !important;
  border-top: 1px solid #e0e0e0 !important;
  color: #666666 !important;
  font-size: 0.9rem !important;
  width: 100% !important;
}

.copyright {
  color: #666666 !important;
  line-height: 1.4 !important;
}

.counters {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
}

.counter {
  display: inline-block !important;
}

.counter img {
  height: 31px !important;
  width: auto !important;
  border-radius: 4px !important;
  opacity: 0.9 !important;
  transition: opacity 0.3s ease !important;
  border: 1px solid #e0e0e0 !important;
  display: block !important;
}

.counter img:hover {
  opacity: 1 !important;
}

/* Адаптивность футера */
@media (max-width: 768px) {
  .autogis-footer {
    padding: 30px 15px !important;
  }
  
  .footer-top {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .footer-links {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
  
  .counters {
    align-self: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 480px) {
  .autogis-footer {
    padding: 25px 10px !important;
  }
  
  .footer-links {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .footer-link {
    justify-content: center !important;
    text-align: center !important;
  }
  
  .footer-middle {
    gap: 30px !important;
  }
  
  .company-name {
    font-size: 1.3rem !important;
  }
}

/* ============================================
   АДАПТИВНОСТЬ ДЛЯ ОСНОВНОГО КОНТЕНТА (МОБИЛЬНЫЕ)
   ============================================ */

@media (max-width: 768px) {
  /* Разрешаем контенту занимать всю ширину */
  #all_c {
    overflow: visible !important;
    min-width: 0 !important;
  }
  
  /* Шапка */
  #header {
    height: auto !important;
    min-height: 80px !important;
    padding: 10px 10px 15px 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
  }
  
  #logo {
    width: 180px !important;
    height: 90px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: left center !important;
    align-self: center !important;
  }
  
  #cong {
    display: none !important;
  }
  
  #login {
    margin: 0 !important;
    padding: 0 20px !important;
    width: auto !important;
    background-size: contain !important;
    background-position: center !important;
    float: none !important;
    align-self: flex-start !important;
  }
  
  .spis {
    padding: 0 10px !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
  }
  
  .cent_b {
    width: 100% !important;
    margin-top: 15px !important;
  }
  
  .block_t, .block_c, .block_b {
    width: 100% !important;
    background-size: 100% 100% !important;
  }
  
  .block_t {
    height: 12px !important;
  }
  
  .block_b {
    height: 20px !important;
  }
  
  .in_bl {
    width: 100% !important;
    padding: 15px 10px !important;
    box-sizing: border-box !important;
  }
  
  #bespl {
    font-size: 24px !important;
    padding: 10px 0 !important;
  }
  
  /* Список преимуществ — лаконично, с белыми маркерами как в десктопе */
  .novm {
    margin: 0 0 18px 15% !important;
    padding-left: 0 !important;
    list-style: url('../images/pym_w.png') !important;
    font-size: 15px !important;
    line-height: 22px !important;
    text-align: left !important;
  }
  
  .novm li {
    list-style: url('../images/pym_w.png') !important;
    line-height: 22px !important;
    margin-bottom: 12px !important;
    text-align: left !important;
    padding: 0 !important;
    display: list-item !important;
  }
  
  /* Убираем все псевдоэлементы (тильды, галочки) */
  .novm li::before {
    content: none !important;
  }
  
  .usl {
    font-size: 13px !important;
    margin: 10px 0 !important;
    word-break: break-word !important;
    text-align: center !important;
  }
  
  /* Скрываем блок "FoxCRM — AI-помощник" в футере */
  .footer-brand {
    display: none !important;
  }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
  #logo {
    width: 140px !important;
    height: 70px !important;
  }
  
  #login {
    font-size: 14px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 15px !important;
  }
  
  #bespl {
    font-size: 20px !important;
  }
  
  .novm {
    margin: 0 0 18px 10% !important;
    padding-left: 0 !important;
    list-style: url('../images/pym_w.png') !important;
    font-size: 14px !important;
    line-height: 20px !important;
    text-align: left !important;
  }
  
  .novm li {
    list-style: url('../images/pym_w.png') !important;
    line-height: 20px !important;
    text-align: left !important;
  }
  
  .novm li::before {
    content: none !important;
  }
  
  .usl {
    font-size: 12px !important;
  }
}