:root{
  --blue:#003366;
  --orange:#FF6B35;
  --gray:#f4f4f4;
  --text:#333;
}

*{margin:0;padding:0;box-sizing:border-box;}
body{
  font-family:'Open Sans',sans-serif;
  color:var(--text);
  scroll-behavior:smooth;
}

.container{width:90%;max-width:1200px;margin:auto;}
h1,h2,h3{font-family:'Montserrat',sans-serif;color:var(--blue);}

h1{font-size:2.8rem;padding-bottom:40px}

.header{
  position:fixed;top:0;width:100%;
  background:#fff;z-index:1000;
  border-bottom:1px solid #ddd;
}

.header-flex{
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 0;
}

.logo{font-size:1.5rem;font-weight:700;}
.logo span{color:var(--orange);}

.nav a{margin-left:1rem;color:var(--blue);font-weight:600;}
.burger{display:none;font-size:1.5rem;cursor:pointer;}

/*.hero{
  height:90vh;
  background:linear-gradient(rgba(0,51,102,.85),rgba(0,51,102,.85)),url('../img/hero.jpg');
  color:#fff;
  display:flex;
  align-items:center;
}

.hero h1{color:#fff;font-size:2.8rem;}
.hero p{margin:1rem 0;}
*/


.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* затемнение для читаемости текста */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 47, 0.75),
    rgba(10, 25, 47, 0.4)
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero__content h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  margin-bottom: 16px;
  color:#FFF;
}

.hero__content p {
  max-width: 600px;
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}




@media (max-width: 768px) {
  .hero {
    height: 85vh;
  }

  .hero__overlay {
    background: rgba(10, 25, 47, 0.75);
  }

  .hero__content {
    text-align: center;
    align-items: center;
  }

  .hero__content p {
    font-size: 16px;
  }
}




/*.btn{
  display:inline-block;
  background:var(--orange);
  color:#fff;
  padding:.75rem 1.5rem;
  border-radius:4px;
  margin-right:.5rem;
}

.btn.outline{
  background:none;
  border:2px solid #fff;
}
*/

.btn {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: #f97316;
  color: #fff;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}















.section{padding:5rem 0;}
.light{background:var(--gray);}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
  margin-top:2rem;
}

.card{
  padding:1.5rem;
  background:#fff;
  border-radius:6px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.benefits{margin:2rem 0;}
.benefits li{margin:.5rem 0;}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
  margin-top:2rem;
  text-align:center;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
}

.form input,.form textarea{
  width:100%;
  padding:.75rem;
  margin-bottom:1rem;
}

.footer{
  background:var(--blue);
  color:#fff;
  padding:3rem 0 1rem;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2rem;
}

.footer a{color:#fff;}

.footer-bottom{
  text-align:center;
  margin-top:2rem;
  font-size:.9rem;
}

@media(max-width:768px){
  .nav{display:none;flex-direction:column;}
  .burger{display:block;}
  .contact-grid,.stats,.footer-grid{grid-template-columns:1fr;}
}



.nav-link {
  position: relative;
  padding: .5rem 0;
  font-weight: 600;
  color: #333;
}

.nav-link.active {
  color: #003366;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #FF6B35;
  border-radius: 2px;
}







.lazy-img {
  filter: blur(10px);
  transition: filter .6s ease;
}

.lazy-img.loaded {
  filter: blur(0);
}






.about-atlas {
  background: #f7f9fc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.4rem;
  color: #003366;
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.about-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.about-features li {
  padding-left: 1.6rem;
  margin-bottom: .7rem;
  position: relative;
  
  transition: transform .25s ease, color .25s ease;

}
.about-features li:hover {
  transform: translateX(6px);
  color: #003366;
}

.about-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #FF6B35;
}

.about-links {
  display: flex;
  gap: 1rem;
}
.btn-primary,
.btn-outline {
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover,
.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.btn-primary {
  background: #FF6B35;
  color: #fff;
  padding: .9rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #003366;
  color: #003366;
  padding: .9rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
}

.about-visual img {
  width: 100%;
  border-radius: 16px;
}

.about-badges {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  
}

.about-badges span {
  background: #003366;
  color: #fff;
  padding: .4rem .8rem;
  font-size: .85rem;
  border-radius: 4px;
  
    transition: background .3s ease, transform .3s ease;
}

.about-badges span:hover {
  background: #FF6B35;
  transform: scale(1.05);
}

/* STATS */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4rem;
  text-align: center;
}

.stat span {
  font-size: 2.6rem;
  font-weight: 700;
  color: #FF6B35;
}

.stat p {
  margin-top: .5rem;
  font-weight: 600;
}

/* ANIMATION */
.stat {
  opacity: 0;
  transform: translateY(20px);
  transition: .6s ease;
  
   transition: transform .3s ease;
}
.stat:hover {
  transform: translateY(-6px);
}
.stat.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-links {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
















/* FILTER BUTTONS CSS стили для каталога*/
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0 1rem;
}

.filter-btn {
  padding: .6rem 1rem;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  transition: .2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* PRODUCT GRID */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 1.5rem;
}

.product-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 6px;
  background: #fff;
  transition: .2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.no-results {
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  grid-column: 1/-1;
}





/*horizontal accordion*/
.api {
  background: #f7f9fc;
  overflow: hidden;
}

.api-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.api-badge {
  background: var(--orange);
  color: #fff;
  padding: .4rem 1rem;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
}

.api-accordion {
  display: flex;
  gap: 1rem;
  height: 340px;
  margin-top: 3rem;
}

.api-item {
  flex: 1;
  background: #003366;
  color: #fff;
  padding: 2rem;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .45s ease;
  opacity: 0;
  transform: translateY(40px);
}

.api-item:hover {
  transform: translateY(-6px);
}

.api-item.active {
  flex: 4;
  background: linear-gradient(135deg, #003366, #0055a5);
}

.api-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.api-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  color: #FFFFFF;
}

.api-item p {
  opacity: 0;
  max-width: 260px;
  line-height: 1.6;
  font-size: .95rem;
  transition: opacity 0.03s ease;
}

.api-item.active h3 {
  writing-mode: horizontal-tb;
  transform: none;
  text-align: left;
}

.api-item.active p {
  opacity: 1;
  margin-top: .5rem;
}

/* Reveal animation */
.api-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
  .api-accordion {
    flex-direction: column;
    height: auto;
  }

  .api-item h3 {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .api-item p {
    opacity: 1;
  }
}













/*api-tabs*/
.api-tabs {
  background: #fff;
}

.api-tabs-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

/* LEFT */
.api-tabs-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-right: 3px solid #7093D6;
  
  
}

.api-tab {
  padding: 1rem 1.2rem;
  /*border: 1px solid #003366;*/
  border: 0px solid #003366;
  
  background: #fff;
  color: #003366;
  font-weight: 400;
   font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: .25s ease;
}

.api-tab:hover {
  /*background: #003366;*/
  color: #000;
  font-weight: 600;
}

.api-tab.active {
  /*background: linear-gradient(135deg, #003366, #0055a5);*/
  color: #000;
    font-weight: 600;
}

/* RIGHT */
.api-tabs-content {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 2.5rem;
  min-height: 320px;
}

.api-tab-content {
  display: none;
}

.api-tab-content.active {
  display: block;
}

.api-tab-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.api-tab-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.api-tab-content ul {
  list-style: none;
  padding: 0;
}

.api-tab-content li {
  margin-bottom: .6rem;
  padding-left: 1.4rem;
  position: relative;
}

.api-tab-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* MOBILE */
@media (max-width: 900px) {
  .api-tabs-layout {
    grid-template-columns: 1fr;
  }

  .api-tabs-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .api-tab {
    white-space: nowrap;
  }
}

















/*SUPPORT*/
.support {
  background: #fff;
}

.support-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.support-row.reverse {
  direction: rtl;
}

.support-row.reverse > * {
  direction: ltr;
}

.support-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.support-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.support-text ul {
  list-style: none;
  padding: 0;
}

.support-text li {
  margin-bottom: .6rem;
  padding-left: 1.5rem;
  position: relative;
}

.support-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.support-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: auto;
}

/* MOBILE */
@media (max-width: 900px) {
  .support-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .support-text li {
    text-align: left;
  }
}
