@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/*  font-family: "Manrope", sans-serif; */

body {
    font-family: "Manrope", sans-serif;
}

a {
    text-decoration: underline;

    color: #81B4BD;
}

.sticky-footer {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container.container-small {
    width: 1000px;

}

.header .container {
    width: 100%;
}

.none {
    display: none;
}

.title-1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.title-1 span {
    color: #81B4BD;
}

.title-2 {
    font-size: 28px;
    font-weight: 700;   
}

.title-3 {   
    font-size: 20px;    
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.no-scroll {
    overflow-y: hidden;
}

/* header */

.header {
    position: relative;
    z-index: 19;
    padding: 40px 0;
}

.header-bg {
    background-color: #F6F6F6;
}

.header-mobile-bg {
    background-color: #fff !important;
}

/* nav */

.logo {
    flex-shrink: 0;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px; /* отступ безопасности */

}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;

}

.nav-list a {
    color: #000;
    transition: color 0.2s ease-in;
}

.nav-list a.active {
    color: #81B4BD;
}

.nav-list a:hover {
    color: #00CEB5;
}

.btn-mobile-nav {
    display: none;
}

/* mobile nav */

.mobile-nav {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

  
    justify-content: center;
    align-items: center;

    background-color: #F6F6F6;

    display: none;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-list a {
    color: #000;
}


/* main-page */

/* promo */

.promo {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding-left: 70px;

    height: 500px;
    background-color: #394D42;
    background-image: url('./../img/promo/promo-bg.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 40px;

    color: #fff;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .promo {
        background-image: url('./../img/promo/promo-bg@2x.jpg');
    }
}

.promo-title {
    margin-bottom: 10px;

    font-size: 60px;
    font-weight: 800;
}

.promo-text {
    font-size: 24px;
    font-weight: 400;
}

/* main content */

.main-content {
    padding: 90px 0;

    display: flex;
    flex-direction: column;
    row-gap: 60px;
}

.content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 50px;
}

.content-row.content-row-reverse {
    flex-direction: row-reverse;
}

.content-img {
    flex-shrink: 0;

    border-radius: 40px;
    overflow: hidden;
}

.content-text {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.content-text p {
    font-size: 18px;
    line-height: 1.8;
}

.content-text a {
    font-size: 18px;
    text-decoration: underline;
    color: #81B4BD;

}

/* inner page */

.inner-page {
    padding: 90px 0;
}

.inner-page-title-wrapper {
    margin-bottom: 60px;
}

/* cards */

.cards-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    column-gap: 30px;
    row-gap: 60px;
}

.card {
    width: 370px;

    opacity: 0.8;
    transition: opacity 0.2s ease-in;
}

.card:hover {
    opacity: 1;
}

.card-img {
    display: block;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.card-desc {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.card-desc p {
    font-size: 16px;
    line-height: 1.5;
}

.card-desc a {
    text-decoration: underline;

    transition: color 0.2s ease-in;
    
    color: #81B4BD;
}

.card-desc a:hover {
    color: #00CEB5;
}

/* article */

.article-content p {
    font-size: 18px;
    line-height: 1.8;
}

.article-content p + p {
  margin-top: 30px;
}

.article-img {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
}

/* contacts */

.contacts-columns {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    column-gap: 100px;
    
}

/* form */

.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 30px;
    width: 600px;

    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 25px 0 rgba(211, 211, 211, 0.50);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;

}

.input {
    width: 100%;
    padding: 14px 20px;
    height: 50px;

    border-radius: 2px;
    border: 1px solid #B5DEE5;
    background: #EFF9FB;

    font-size: 16px;
    font-weight: 500;
    color: #36727D;
}

.input::placeholder {
    color: #9ECCD4;
}

.input.input-50 {
    flex: 1;
}

.radio-list, .checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.radio-list label,
.checkbox-list label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.radio-list label input,
.checkbox-list label input {
    flex-shrink: 0;
}

.submit-btn {
    align-self: start;

    padding: 12px 36px;
    height: 50px;

    border-radius: 6px;
    background: #81B4BD;
    box-shadow: 0 8px 20px 0 rgba(129, 180, 189, 0.35);

    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;

    transition: opacity 0.2s ease-in, background-color 0.2s ease-in;
}

.submit-btn:hover {
    opacity: 0.8;
}

.submit-btn:active {
    background-color: #00BDA6;
    opacity: 1;
}

/* fake radio */

.fake-radio {
    flex-shrink: 0;
    position: relative;

    width: 20px;
    height: 20px;
    
    border-radius: 20px;
    border: 1px solid #B5DEE5;
}

.fake-radio::after {
    content: ' ';

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);

    width: 12px;
    height: 12px;

    border-radius: 12px;
    background: #37b6cc;

    transition: all 0.2s ease-in;
}

.real-radio:checked + .fake-radio::after {

    transform: translate(-50%, -50%) scale(1);

}

/* fake checkbox */

.fake-checkbox {
    position: relative;
    flex-shrink: 0;

    width: 20px;
    height: 20px;

    border: 1px solid #B5DEE5;
    background: #EFF9FB;    
    
}

.fake-checkbox::after {
    position: absolute;

    content: '';

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scale(0);
    transition: all 0.2s ease-in;

    width: 16px;
    height: 13px;

    background-image: url('./../img/icons/tick.svg');
    background-repeat: no-repeat;
    background-position: center;

}

.real-checkbox:checked + .fake-checkbox::after {
    transform: translate(-50%, -50%) scale(1);
}

/* address */

.address-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 470px;
}

.address-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.yandex-map {
    width: 100%;
    height: 345px;
}

/* footer */

.footer {
    margin-top: auto;

    padding: 60px 0;
    background-color: #000;

    color: #fff;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-copyright {
    font-size: 14px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.3);
}

.footer-contacts {
    text-align: right;
}

.footer-phone {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;

    color: #fff;
}
.footer-email {
    display: inline-block;
    margin-bottom: 10px;

    font-size: 14px;
    line-height: 1.5;

    color: #00BDA6;
}
.footer-address {
    font-size: 14px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.50);
}