* {
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

.no-drag {
-webkit-user-drag: none;
-moz-user-drag: none;    
-ms-user-drag: none;     
-user-drag: none;          
}

body{
font-family:Arial, Helvetica, sans-serif;
font-weight: 400;
}

a{
text-decoration: none;
}

img{
max-width: 100%;
}

.wrapper {
max-width: 1920px;
width: 100%;
background: #f2f5f8;
}

.container{
width: 100%;
margin: 0 auto;
}

header {
margin-left: 50px;
margin-right: 50px;
width: 100%;
height: auto;
background-color: #352885;
padding-top: 50px 0;
}

.info {
width: 100%;
height: 20%;
display: flex;
align-items: center;
position: relative;
}

.info img{
width: 30%;
height: 30%;
}

.info-logo{
  text-align: center;
  width: 30%;
  height: 100%;
  object-fit: contain;}

.info-mail{
display: flex;
width: 60%;
height: 100%;
justify-content: space-between;
text-align: center;
}

.info-mail button{
margin-left: 5px;
width: 100%;
align-items: center;
padding: 10px;
border: none;
border-radius: 4px;
background-color: #4CAF50;
color: white;
font-weight: 40;
cursor: pointer;
transition: background-color 0.3s ease;
}

.info-mail button:hover{
background-color: #45a049;   
}

.info-mail button a {
margin: auto;
}

.info-mail button a:visited{
color:white;       
}


.intro-container{
text-align: center;
position: relative;
width: 100%;
height: 600px;
background-image: url('/img/LEP.jpg');
background-size: cover;
overflow: hidden;
}

.text-overlay {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
padding: 50px;
text-align: center;
font-size: 40px;
color: white;
}

.works{
position: relative;
width: 100%;
height:50%;   
}

.works-text {
margin-top: 100px;
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
padding: 20px;
text-align: center;
font-size: 24px;
color: #093a79;
text-shadow: #ffc105 5px;
}

.service {
left: 5%;
padding-top: 5%;
padding-bottom: 1%;
margin-top: 100px;
position: relative;
width: 95%;
height: 50%;
display: flex;
}

.service-box {
width: 30%;
height: 500px;
margin: 0 10px;
background-color: white;
color: white;
display: flex; 
justify-content: center; 
border-radius: 5px;
flex-direction: column;
align-items: center;
}
.service-box:hover{
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.service-box-img{
position: relative;
margin: 0;
height: 200px;
overflow: hidden;
}

.service-box-img img{
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.service-box-content{
padding: 16px;
}

.service-box-title{
margin: 0 0 8px;
font-size: 18px;
font-weight: 600;
color: #333333;
}

.service-box-descript{
margin: 0 0 16px;
font-size: 14px;
color: #666666;
line-height: 1.4;
}

.service-box-footer{
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 16px;    
}

.service-box-button {
padding: 8px 16px;
border: none;
border-radius: 4px;
background-color: #4CAF50;
color: white;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease;
}

.service-box-button a{
color:white;   
text-decoration: none;
}

.service-box-button a:visited{
color:white;       
}

.service-box-button:hover{
background-color: #45a049;
}

.service1 {
left: 5%;
padding-top: 1%;
padding-bottom: 1%;
margin-top: 50px;
position: relative;
width: 95%;
height: 50%;
display: flex;
}

.service2 {
left: 5%;
padding-top: 1%;
padding-bottom: 1%;
margin-top: 50px;
position: relative;
width: 95%;
height: 50%;
display: flex;
}

.Royalty{
background-image: url('/img/LEP.jpg');
background-size: cover;
overflow: hidden;
padding-top: 5%;
padding-bottom: 1%;
margin-top: 100px;
position: relative;
width: 100%;
height: 500px;
display: flex;
}

.Royalty-text{
position: absolute;
top: 10%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
padding: 50px;
text-align: center;
font-size: 24px;
color: white;    
}

.Royalty-container{
padding-left: 30px;
margin: auto;
max-width: 1000px;
width: 100%;
background: white;
border-radius: 15px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.section {
margin-bottom: 15px;
margin-top: 25px;
}

.section:last-child {
margin-bottom: 0;
}

.section-divider {
border: none;
border-top: 2px solid #eef2f6;
margin: 0 0 10px 0;
}

.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 15px;
}

.item {
display: flex;
flex-direction: column;
}

.item-header {
display: flex;
 align-items: center;
gap: 14px;
margin-bottom: 14px;
}

.icon {
width: 48px;
height: 48px;
background: #e6edf5;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
color: #1a5c9e;
font-size: 22px;
flex-shrink: 0;
}

.item-title {
font-size: 17px;
font-weight: 600;
color: #1a2a3a;
line-height: 1.3;
        }

.item-body {
padding-left: 62px;
}

.item-body .line {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 15px;
color: #2c3e50;
line-height: 1.6;
margin-bottom: 4px;
}

.item-body .line i {
color: #1a5c9e;
font-size: 14px;
margin-top: 4px;
width: 16px;
text-align: center;
flex-shrink: 0; 
}

.works1{
background-color: #666666;
position: relative;
width: 100%;
height:50%;   
}

.communication-header{
margin-top: 100px;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
text-align: center;
font-size: 24px;
color: #093a79;
text-shadow: #ffc105 5px;    
display: contents;
}

.communication-box{
left: 5%;
padding-top: 1%;
padding-bottom: 1%;
margin-top: 5px;
position: relative;
width: 95%;
height: 50%;
display: flex;
justify-content: center; 
}

.communication{
  display: flex;
  width: 100%;
  height: 70%;
  object-position: center;
}

.communication object{
  display: flex;
  min-height: 800px;
  width: 100%;
  height: 100%;
}

.communication-text{
padding-left: 10%;
width: 30%;
height: 30%;
border-radius: 5px;
}

.Podval{
position: relative;
  display: flex;
  width: 100%;
  height: 30%;
  background-color: #352885;
  margin-top: 25px;
  padding-top: 10%;
}

.ServiceCard{
    width: 80%;;
}

   /* Мобильные стили (по умолчанию) */
    .grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

    /* Планшеты */
    @media (min-width: 600px) {
      .grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Десктопы */
    @media (min-width: 1024px) {
      .grid { grid-template-columns: repeat(3, 1fr); }
    }