/*Обнуление*/
*{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
ul li{list-style:none;}
img{vertical-align:top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}
/*--------------------*/

body {
      margin: 0;
      font-family: 'Inter', sans-serif;
      color: #1a1a1a;
      background-color: #ffffff;
      line-height: 1.6;
      font-size: 1.15em;
    }

    h1, h2, h3 {
      color: #004c6d;
    }
    h2, {
      font-size: 1.75em;
    }
    h3 {
      font-size: 1.5em;
    }
    section {
      padding: 80px 20px;
      /*max-width: 1200px;*/
      margin: auto;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 40px;
      padding: 0 30px;
    }

    button, .btn {
      background-color: #007b99;
      color: white;
      padding: 14px 28px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }

    button:hover, .btn:hover {
      background-color: #005f75;
    }

    img {
      max-width: 100%;
      border-radius: 8px;
    }

    /* ---------- head ---------- */
  

.head {
  background: linear-gradient(90deg, #c3d3db 0%, #e8f0f5 50%, #c3d3db 100%);
  background-size: 200% 100%;
  transition: background-position 0.8s ease;
}

.head:hover {
  background-position: 100% 0;
}

.head .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.head-text {
  flex: 1 1 500px;
}

.head-text h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #004c6d;
}
h1 span {
  font-weight: 700;
  font-size: 1.5em;
  /*color: #2b6f97; */
  letter-spacing: 0.5px;
}
.head-text p {
  font-size: 1.2em;
  margin-bottom: 25px;
  /*color: #333;*/
  color: #666;
}


.book-mockup {
  position: relative;
  width: 320px;
  height: 380px;
  /*perspective: 800px; *//* глубина эффекта */
  margin: 0 auto;
}

.book-cover {
  position: relative;
  width: 100%;
  height: 100%;
  /*transform: rotateY(-15deg);*/
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-mockup:hover .book-cover {
  transform: scale(1.05);
  /*transform: rotateY(-5deg);*/
}

/*кнопка докл*/
.doclad_btn.act {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  display: block;
  margin: auto;
  width: 144px;
  height: 144px;
  line-height: 140px;
  border-radius: 50%;
  border: solid 3px #c0c1c2;
  background-image: linear-gradient(180deg, #EB2B09 0.93%, #BF0318 100%);
}
.doclad_btn.act:hover {
  background-image: linear-gradient(to bottom, #8E1631 10%, #8E1631);
  /*color: #fff;*/
  /*box-shadow: inset 1px 1px 3px rgba(0,0,0, 0.55);*/
}
.doclad_btn.act {
  transform: scale(0);
  opacity: 0;
  transition: all 0.8s ease 0s;
}
.doclad_btn.act._active {
  /*transform: translate(0px, 0px);*/
  transform: scale(1.0);
  opacity: 1;
}
/*.doclad_btn.act.doclad_btn-pust, .doclad_btn.act.doclad_btn-taurin {
  margin-top: 60px;
}*/
.docl {
  padding: 20px;
}
.popup-link {
  color: #fff;
}

/*popup*/
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.8s ease 0s;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}
.popup.open .popup__content {
  transform: translate(0px, 0px);
  opacity: 1;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  margin-top: 60px;
}
.popup__content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px;
  position: relative;
  transition: all 0.8s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
}
.popup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  transform: scalex(1.5);
}
.popup__close:hover {
  color: #000;
}
.popup__title {
  /*font-size: 40px;*/
  font-weight: 700;
  margin: 0 0 15px 0;
  font-size: 1.5em;
  color: #004c6d;
}
.popup__text p {
  margin-bottom: 10px;
}

/*end popup*/


    /* ---------- FEATURES ---------- */
    .features {
      background-color: #f7fbfc;
    }

    .features .container {
      justify-content: space-around;
    }

    .feature-item {
      flex: 1 1 250px;
      text-align: center;
      padding: 20px;
    }

    .feature-item h3 {
      margin-top: 10px;
      color: #007b99;
    }
                    /* CARDS */
  /* Контейнер карточек */
  .screens {
      background-color: #f6f8f9;
      padding: 50px 0;
  }
    .card-container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      flex-wrap: wrap;
      padding: 20px;
      max-width: 1200px;
      margin: 0 auto;      
    }

    /* Карточка */
    .card {
      height: 100%;
      min-height: 500px; 
      flex: 1 1 300px;
      display: flex;
      flex-direction: column;
      align-items: center;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      padding: 20px;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

    /* Заголовок */
    .card h3 {
      margin-bottom: 10px;
      font-size: 1.2em;
      /*color: #333;*/
      color: #004c6d;
      text-align: center;
    }

    /* Текст */
    .card p {
      text-align: center;
      font-size: 1.1em;
      color: #666;
      margin-bottom: 20px;
      min-height: 50px;
    }

    /* Картинка */
    .card img {
      width: 100%;
      /*height: 250px;*/
      object-fit: cover;
      border-radius: 8px;
    }

  /* Стили для кнопки */
  .mail-button {
    display: inline-flex; 
    align-items: center;
    gap: 10px; 
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
  }

  /* Эффект при наведении */
  .mail-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
  }

  /* Эффект при нажатии */
  .mail-button:active {
    background-color: #3e8e41;
    transform: scale(0.98);
  }

  /* Иконка конверта */
  .mail-button .icon {
    font-size: 18px;
  }

    /* ---------- CONTENT ---------- */
    .content {
      background-color: #edf1f2;
    }
    .content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 55px;
    }
    
    .content .text {
      flex: 1;
    }
    ul li {
      padding-bottom: 3px;
    }
    .image {
      flex: 1;
      text-align: center;
    }
        
    .image img {
      width: 100%;
      border-radius: 12px;
      height: auto;
      object-fit: cover;
      box-shadow: 10px 0 20px rgba(0,0,0,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .image img:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }
    
    /* ---------- REVIEWS ---------- */
    .reviews {
      background-color: #f0f9ff;
      text-align: center;
    }

    .review {
      max-width: 600px;
      margin: 20px auto;
      font-style: italic;
    }

    /* ---------- PRICING ---------- */
    .pricing {
      background-color: #f7fbfc;
      text-align: center;
      padding: 20px 20px 20px 20px;
    }

    .price-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-top: 0px;
    }

    .p-card {
      background-color: white;
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      padding: 20px;
      flex: 1 1 300px;
      max-width: 350px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .p-card h3 {
      margin-bottom: 10px;
    }

    .p-card p {
      color: #555;
      font-size: 0.9em;
    }

    /* ---------- FOOTER ---------- */
    footer {
      background-color: #004c6d;
      color: white;
      text-align: center;
      padding: 40px 20px;
      font-size: 0.9em;
    } 
    footer p {
      margin-bottom: 5px;
    }
    
    .link {
          color: white;
          text-align: center;
          display: flex; 
          align-items: center;
          justify-content: center;
          line-height: 20px;
    }
.link-phone:after {
          content: "\f095";
          font-family: FontAwesome;
          font-size:18px;
          padding-left: 15px;
}

.link-mail:after {
          content: "\f0e0";
          font-family: FontAwesome;
          font-size:18px;
          padding-left: 15px;
}
.link-home:after {
          content: "\f3c5";
          font-family: FontAwesome;
          font-size:18px;
          padding-left: 15px;
}
li.link {
    margin: 0 0 5px 0;
}
li.link:last-child {
    margin: 0;
}

    /* ---------- ADAPTIVE ---------- */
    @media (max-width: 768px) {
      .container {
        flex-direction: column;
        text-align: center;
      }
      .head h1 {
        font-size: 2em;
      }
      .head-text {
      flex: 1 1 auto;
      }
      .image1 {
        margin-bottom: 20px;
      }
      .content .text {
      margin-bottom: 20px;
    }
      .container .head {
        align-content: center;
      }
    }  
    @media (max-width: 600px) {
      .card-container {
        flex-direction: column;
        align-items: center;
      }

      .card {
        flex: 1 1 100%;
        max-width: 350px;
      }
    }