body{
  background-color: #f5f4f9;
  line-height: 1.5;
}
.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  color: #000000;
}
.nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
@media (max-width: 1400px) {
 .logo {
 margin-top: 20px !important; 
  margin-left: 40px!important;
  margin-right: 60px!important;
 }
 h1{
  margin-top: 220px !important; 
  margin-left: 40px!important;
  font-size: 3em !important;
 }
 .intro{
  width: 80%;
 }
 p{
  width: 250px !important;
 }
}
@media (max-width: 1400px) {
  .logo {
 margin-top: 2px !important; 
  margin-left: 4px!important;
  margin-right: 6px!important;
 }
 img{
  width: 60% !important;
 }
 .icon{
  width: 20% !important;
 }
 .svg{
  width: 10px !important;
 }
 h1{
  margin-top: 50px !important; 
  margin-left: 4px!important;
  font-size: 1em !important;
 }
 p{
  font-size: 14px !important;
 }
 .intro{
  width: 50% !important;
 }
 .navigation{
  width: 50% !important;
 }
 h3{
  font-size: 16px !important;
 }
  h4{
  font-size: 16px !important;
 }
 .tabs{
  width: 200px !important;
 }
}

header{
  display: flex;
}

.header__inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 20px 0;
}

.logo{
  margin-top: 60px;
  margin-left: 20%;
  margin-right: 140px;
  y: flex;
 align-items: center;
 text-decoration: none;
}
h1{
  margin-top: 350px;
  margin-left: 220px;
  position: absolute;
  font-family: "Montserrat", sans-serif;
  color: rgb(75, 84, 114);
  font-weight: 800;
  font-size: 4em;
}
.accent{
  color: white;
  background-color: rgb(208, 186, 136);
}
.navigation{
  background-color: rgb(75, 84, 114);
  width: 100%;
}
.bag{
  margin-top:60px ;
  margin-left: 80px;
}
nav{
  margin-top: 10%;
  margin-left: 20%;
  display:grid; 
  font-family:"Nunito", sans-serif;
  font-weight: 100;
  gap: 20px;
  font-size: 20px;
}
.nav__list {

 list-style: none;
 
}
.nav__link {
 text-decoration: none;
 color: rgb(144, 146, 193);
 font-weight: 500;
 font-size: 17px; /* HIG рекомендация */
 padding: 8px 16px;
 border-radius: 6px;
 transition: var(--transition);
}
.nav__link:hover,
.nav__link.active {
 background: var(--secondary-color);
 color:  rgb(144, 146, 193);
}
.btn {
  width: 30%;
 padding: 12px 4px;
 border: none;
 border-radius: 8px;
 font-size: 16px;
 font-weight: 500;
 cursor: pointer;
 transition: var(--transition);
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.btn--primary {
 background: var(--primary-color);
 color:  rgb(144, 146, 193);
}
.header__cta {
 margin-left: 20px;
}

.btn--primary:active {
 transform: scale(0.98);
}
/* Гамбургер-кнопка (скрыта на десктопе) */
.menu-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-between;
 width: 44px;
 height: 44px;
 background: transparent;
 border: none;
 padding: 12px 10px;
 cursor: pointer;
 z-index: 1001;
}
.menu-toggle__line {
 width: 100%;
 height: 3px;
 background: var(--text-color);
 border-radius: 2px;
 transition: var(--transition);
}
/* Состояние открытого меню */
.menu-toggle.active .menu-toggle__line:nth-child(1) {
 transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active .menu-toggle__line:nth-child(2) {
 opacity: 0;
}
.menu-toggle.active .menu-toggle__line:nth-child(3) {
 transform: rotate(-45deg) translate(6px, -6px);
}
/* CTA кнопка в шапке */

a{
  text-decoration: none;
  color: white; 
}
main{
  margin-top: 80px;
  text-align: center;
}
h2{
  margin-top: -20px;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  color: rgb(75, 84, 114);
  font-weight: 900;
  font-size: 28px;
}
h3{
  font-family: "Nunito", sans-serif;
  text-align: center;
  color: rgb(75, 84, 114);
  font-size: 22px;
   margin-bottom: 30px;
}
.cards{
  margin-top: 90px;
  display: flex;
  justify-content: space-evenly;
  
  
}
article{
  font-family: "Nunito", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center ;
  flex-wrap: wrap
}
.w{
  width: 250px;
}

p{
  font-weight: 100;
  margin: 0;
  padding: 0;
}
s{
  margin: 0;
  padding: 0;
}
h4{
  font-size:24px ;
}
.choose{
  margin-top: 80px;

}
.choose article{
  width:max-content;
  flex-direction: row;
  flex-wrap: wrap
}
.choose img{
  width: 250px;
}
.card-in{
  width: 300px;
  background-color: white;
}
.w{
  flex-wrap: wrap !important;
}
.flex{
  display: flex;
  flex-wrap: wrap
}
.flex-c{
  flex-direction: column;
}
.flex-r{
  flex-direction: row;
}
.bluewall{
  background-color: rgb(75, 84, 114);
  width: 20%;
  height: 120%;
  position:static;

}
.wraps{
  flex-wrap: wrap;
}
.tab{
  margin-top: 15%;
  text-align: start;
  
}
h5{
  color:#C7A17A ;
  margin: 0;
  font-size: large;
}
.tabs{
  width: 400px;
}
.just{
  width: 150px;
  justify-content:space-between ;
}
.yellowbut{
  color: #f5f4f9;
  background-color: #C7A17A;
  border: #C7A17A;
  border-radius: 50px;
  font-size: large;
  width: 150px;
  height: 50px;
}
section{
  margin-top: 10%;
}
.container{
  width: 250px;
  max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.content-grid__container {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
 gap: 1.5rem;
 margin-top: 2rem;
}
.content-card {
 padding: 1.5rem;
 background: #f8f9fa;
 border-radius: 8px;
 border: 1px solid #e9ecef;
 transition: transform 0.3s ease;
 flex-direction: row;
}
.content-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

:root {
 --primary-color: #2c5530;
 --secondary-color: #f0f0f0;
 --text-color: #333;
 --font-family: 'Roboto', sans-serif;
 --transition: all 0.3s ease;
}
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}
.scroll-top {
 position: fixed;
 bottom: 30px;
 right: 30px;
 width: 56px;
 height: 56px;
 background: var(--primary-color);
 color: white;
 border: none;
 border-radius: 50%;
 font-size: 24px;
 cursor: pointer;
 box-shadow: 0 4px 12px rgba(0,0,0,0.3);
 opacity: 0;
 visibility: hidden;
 transition: all 0.3s ease;
 z-index: 999;
 display: flex;
 align-items: center;
 justify-content: center;
}
.scroll-top.visible {
 opacity: 1;
 visibility: visible;
}
.scroll-top:hover {
 background: #1e3a23;
 transform: scale(1.1);
}
.scroll-top:active {
 transform: scale(0.95);
}
/* Для мобильных устройств */
@media (max-width: 768px) {
 .scroll-top {
 width: 52px;
 height: 52px;
 bottom: 20px;
 right: 20px;
font-size: 22px;
 }
 
 h4{
  font-size: 14px !important;
 }
 
}