/* #region GLOBAL STYLES */
  :root {
     --font-family: "Roboto", sans-serif;
     --second-family: "Raleway", sans-serif;
     --iris: #4d5ae5;
     --ocean: #404bbf;
     --navy-blue: #2e2f42;
     --green: #31d0aa;
     --slate: #434455;
     --light-slate: #8e8f99;
     --cornflower: #e7e9fc;
     --cloud: #f4f4fd;
     --navy-blue-modal: rgba(46, 47, 66, 0.4);
     --grey: rgba(46, 47, 66, 0.7);
     --white: #fff;
     --dairy: #fcfcfc;
     --transition-dur-and-func: 250ms cubic-bezier(0.4, 0, 0.2, 1);}
  body {
      font-family: "Roboto", sans-serif;
      color: var(--slate);
      background-color: var(--white);
      overflow-x: hidden;
      }
    h1, h2, h3, h4, h5, h6, p {
      margin: 0;}
  a {
      text-decoration: none;}
  ul,ol {
     list-style-type: none;
     margin: 0;
     padding: 0;}
  img {
     display: block;
     max-width: 100%;
     height: auto;
         }
  h2 {
      color: var(--navy-blue);
      font-family: var(--font-family);
      font-weight: 700;
      font-size: 36px;
      line-height: 1.11;
      letter-spacing: 0.02em;
      text-align: center;
      text-transform: capitalize;}
  h3 {
      color: var(--navy-blue);
      font-family: var(--font-family);
      font-weight: 500;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: 0.02em;}
  p {
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0.02em;
      color: var(--slate);
      }

.container {
  /* Мобільний: 320px */
  max-width: 320px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* Планшет: 768px */
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

/* Десктоп: 1158px */
@media screen and (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.section {
  padding: 96px 0;
}

@media screen and (min-width: 1158px) {
  .section {
    padding: 120px 0;
  }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
    }
/* #endregion */

/* #region HEADER */
.header {
    background-color: var(--white);
    border-bottom: 1px solid #e7e9fc;
    box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08),
            0px 1px 1px rgba(46, 47, 66, 0.16),
            0px 1px 6px rgba(46, 47, 66, 0.08);}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .container {
    display: flex;
    align-items: center;}
.nav {
    display: flex;
    align-items: center;
}
  .logo {
      font-family: "Raleway", sans-serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.17;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: var(--iris);}
      .logo-web {
      color: var(--iris);}
      .logo-dark {
      color: var(--navy-blue);}
          .header-logo {
              margin-right: auto;
          }
    
          @media screen and (min-width: 768px) {
              .header-logo {
                  margin-right: 120px;
                  /* Відступ для планшета */
              }
          }
    
          @media screen and (min-width: 1158px) {
              .header-logo {
                  margin-right: 76px;
                  /* Відступ для десктопа */
              }
          }
  .nav-link {
       font-family: var(--font-family);
       font-weight: 500;
       font-size: 16px;
       line-height: 1.5;
       letter-spacing: 0.02em;
       color: var(--navy-blue);
       display: block;
       padding: 24px 0;
       transition: color var(--transition-dur-and-func);
       position: relative;}
  .nav-link:hover,
  .nav-link:focus {
       color: var(--ocean);}
  .nav-link.current {
       color: var(--ocean);
           }
  .nav-link.current::after {
       content: "";
       position: absolute;
       left: 0;
       bottom: -1px;
       width: 100%;
       height: 4px;
       border-radius: 2px;
       background-color: var(--ocean);
}
     .nav-list {
    display: none;
    }

    @media screen and (min-width: 768px) {
    .nav-list {
     display: flex;
     gap: 40px;
    }
    }
  .contacts {
      font-style: normal;
      display: none;
      /* Приховано на мобайлі */
  }

  @media screen and (min-width: 768px) {
      .contacts {
          display: block;
          /* З'являється на планшеті */
          margin-left: auto;
      }
  }

  .contacts-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
  }

  @media screen and (min-width: 1158px) {
      .contacts-list {
          flex-direction: row;
          gap: 40px;
      }
  }

  .contacts-link {
      display: block;
      font-size: 12px;
      line-height: 1.17;
      letter-spacing: 0.04em;
      color: var(--slate);
      transition: color var(--transition-dur-and-func);
  }

  @media screen and (min-width: 1158px) {
      .contacts-link {
          font-size: 16px;
          line-height: 1.5;
          letter-spacing: 0.02em;
          padding: 24px 0;
      }
  }

  /* Бургер-кнопка */
  .menu-open-btn {
      display: flex;
      /* Показуємо на мобайлі */
      align-items: center;
      justify-content: center;
      border: none;
      background-color: transparent;
      padding: 0;
      line-height: 0;
      cursor: pointer;
  }

  @media screen and (min-width: 768px) {
      .menu-open-btn {
          display: none;
          /* Приховуємо на планшеті та десктопі */
      }
  }
/* #endregion */

/* #region MAIN CONTENT */

    /* #region HERO SECTION */
  
  .hero {
  background-color: var(--navy-blue);
  padding: 72px 0;
  background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
    url(../images/hero/hero-mob.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-width: 320px;
  margin: 0 auto;
}

@media screen and (min-resolution: 192dpi), (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero/hero-mob@2x.jpg);
  }
}

@media screen and (min-width: 768px) {
  .hero {
    padding: 112px 0;
    max-width: 768px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero/hero-tab.jpg);
  }
}

@media screen and (min-width: 768px) and (min-resolution: 192dpi),
  screen and (min-width: 768px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero/hero-tab@2x.jpg);
  }
}

@media screen and (min-width: 1158px) {
  .hero {
    padding: 188px 0;
    max-width: 1440px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero/hero-desk.jpg);
  }
}

@media screen and (min-width: 1158px) and (min-resolution: 192dpi),
  screen and (min-width: 1158px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero/hero-desk@2x.jpg);
  }
}
  .hero-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--white);
  max-width: 216px;
  margin: 0 auto 72px auto;
}

@media screen and (min-width: 768px) {
  .hero-title {
    font-size: 56px;
    line-height: 1.07;
    max-width: 496px;
    margin-bottom: 36px;
  }
}

@media screen and (min-width: 1158px) {
  .hero-title {
    margin-bottom: 48px;
  }
}

  .order-btn {
      min-width: 169px;
      height: 56px;
      border: none;
      border-radius: 4px;
      margin: 0 auto;
      display: block;
      box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
      background-color: var(--iris);
    padding: 16px 32px;
      font-family: var(--font-family);
      font-weight: 500;
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0.04em;
      color: var(--white);
      cursor: pointer;
      transition: background-color var(--transition-dur-and-func);
    }
  .order-btn:hover,
  .order-btn:focus {
      background-color: var(--ocean);}
    /* #endregion HERO SECTION */

    /* #region FEATURES SECTION */
  .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
}

@media screen and (min-width: 768px) {
  .features-list {
    column-gap: 24px;
    row-gap: 72px;
  }
}

@media screen and (min-width: 1158px) {
  .features-list {
    gap: 24px;
  }
}

  .features-title {
    margin-bottom: 72px;}
  .features-icon-container {
  display: none;
}

@media screen and (min-width: 1158px) {
  .features-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    background-color: var(--cloud);
    border-radius: 4px;
    border: 1px solid var(--light-slate);
    margin-bottom: 8px;
  }
}
  
    .features-item {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .features-item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (min-width: 1158px) {
  .features-item {
    width: calc((100% - 3 * 24px) / 4);
  }
}
  
    .features-subtitle {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--navy-blue);
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
  .features-subtitle {
    text-align: left;
  }
}

@media screen and (min-width: 1158px) {
  .features-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
  }
}
.features-text {
    font-weight: 500;
    }

@media screen and (min-width: 1158px) {
    .features-text {
        font-weight: 400;
        }
}

    /* #endregion FEATURES SECTION */

    /* #region Our Team SECTION */

.team {
    background-color: var(--cloud);
    }
@media screen and (min-width: 768px) and (max-width: 1157px) {
  .team .container {
    max-width: 584px; /* Забезпечує 2 колонки по центру (Вимога D4) */
  }
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .team-list {
    column-gap: 24px;
    row-gap: 64px;
  }
}

@media screen and (min-width: 1158px) {
  .team-list {
    gap: 24px;
  }
}
.team-title {
    margin-bottom: 72px;}

.team-item {
  background-color: var(--white);
  width: 100%;
  max-width: 264px;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16), 
    0 1px 6px 0 rgba(46, 47, 66, 0.08);
}

@media screen and (min-width: 768px) {
  .team-item {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (min-width: 1158px) {
  .team-item {
    width: calc((100% - 3 * 24px) / 4);
  }
}
.team-social-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;}
.team-card-content {
    padding: 32px 16px;
    text-align: center;
    }
.team-subtitle {
    margin-bottom: 8px;}

.team-role {
    margin-bottom: 0px;}
.team-social-item {
    width: 40px;
    height: 40px;
    }
.team-social-link {
    width: 100%;
    height: 100%;
    background-color: var(--iris);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-dur-and-func);
    }
.team-social-link:hover,
.team-social-link:focus {
    background-color: var(--ocean);
    }
.team-social-icon {
    fill: var(--cloud);
    }

    /* #endregion Our Team SECTION */

    /* #region Our Portfolio SECTION */

.portfolio-title {
    margin-bottom: 72px;
    }

.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 48px; /* Відступи для мобайла */
}

@media screen and (min-width: 768px) {
  .portfolio-list {
    column-gap: 24px;
    row-gap: 72px;
  }
}

@media screen and (min-width: 1158px) {
  .portfolio-list {
    row-gap: 48px;
  }
}

.portfolio-item {
    width: 100%;
    box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
        0px 1px 1px rgba(46, 47, 66, 0.16),
        0px 2px 1px rgba(46, 47, 66, 0.08);
    transition: box-shadow var(--transition-dur-and-func);
}

@media screen and (min-width: 768px) {
    .portfolio-item {
        width: calc((100% - 24px) / 2);
    }
}

@media screen and (min-width: 1158px) {
    .portfolio-item {
        width: calc((100% - 2 * 24px) / 3);
        box-shadow: none;
    }

    .portfolio-item:hover {
        box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
            0px 1px 1px rgba(46, 47, 66, 0.16),
            0px 2px 1px rgba(46, 47, 66, 0.08);
    }
}

.portfolio-card-content {
    padding: 32px 16px;
    border: 1px solid var(--cornflower);
    border-top: none;
    }

.portfolio-subtitle {
    margin-bottom: 8px;
    }
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    }
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    background-color: var(--iris);
    color: var(--cloud);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transform: translateY(100%);
    transition: transform var(--transition-dur-and-func);
    }

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    }

/* #endregion Our Portfolio SECTION */
   
/* #endregion MAIN CONTENT */

/* #region FOOTER */
.footer {
    background-color: var(--navy-blue);
    padding: 96px 0;
    }

@media screen and (min-width: 1158px) {
    .footer {
        padding: 100px 0;
            }
}

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

@media screen and (min-width: 768px) {
    .footer-info {
        text-align: left;
        margin-bottom: 0;
        /* Обнуляємо для планшета, бо там працює row-gap: 72px */
        margin-right: 24px;
    }
}
@media screen and (min-width: 1158px) {
    .footer-info {
        margin-right: 120px;
        /* Встановлюємо чіткі 120px за макетом */
        margin-bottom: 0;
    }
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--iris);
    text-decoration: none;}

.logo-light {
    color: var(--cloud);}

.footer-text {
    color: var(--cloud);
    max-width: 264px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    /* Текст всередині абзацу завжди зліва */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрування на мобайлі */
  gap: 72px;
}

@media screen and (min-width: 768px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 24px;
        row-gap: 72px;
        padding-left: 108px;
        padding-right: 108px;
        }
}

@media screen and (min-width: 1158px) {
    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 0;
        justify-content: flex-start;
        /* Додайте цей рядок */
    }
}
.footer-social-box {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer-social-box {
    text-align: left;
  }
}

.footer-social-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 16px;
    }

.footer-social-list {
    display: flex;
    gap: 16px;
    }

.footer-social-item {
    width: 40px;
    height: 40px;
    }   

.footer-social-link {
    width: 100%;
    height: 100%;
    background-color: var(--iris);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-dur-and-func);
    }
.footer-social-link:hover,
.footer-social-link:focus {
    background-color: var(--green);
    }

.footer-social-icon {
    fill: var(--cloud);
    }
/* #endregion FOOTER */

/* #region FOOTER SUBSCRIBE */
.footer-subscribe-container {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .footer-subscribe-container {
    width: auto;
    text-align: left;
  }
}

@media screen and (min-width: 1158px) {
    .footer-subscribe-container {
        margin-left: auto;
        /* Обов'язково для десктопа */
    }
}

.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .footer-subscribe-form {
    flex-direction: row;
    gap: 24px;
  }
}

.footer-subscribe-title {
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--white);
}

.footer-subscribe-input {
  width: 288px;
  height: 40px;
  border: 1px solid var(--white);
  background-color: transparent;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 16px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  color: var(--white);
  outline: none;
}

@media screen and (min-width: 768px) {
  .footer-subscribe-input {
    width: 264px;
  }
}

.footer-subscribe-input:focus {
    border-color: var(--green);
}

.footer-subscribe-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 165px;
  height: 40px;
  background-color: var(--iris);
  border-radius: 4px;
  border: none;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--transition-dur-and-func);
}

.footer-subscribe-input::placeholder {
    color: var(--white);
}

.footer-subscribe-btn:hover,
.footer-subscribe-btn:focus {
    background-color: var(--green);
}

.footer-subscribe-icon {
    margin-left: 16px;
    fill: var(--white);
}

/* #endregion */
/* #region MODAL */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy-blue-modal);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-dur-and-func), visibility var(--transition-dur-and-func);
}

.backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 288px; 
  min-height: 623px; 
  background: var(--dairy);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  padding: 72px 16px 24px 16px;
  transition: transform var(--transition-dur-and-func);
}

@media screen and (min-width: 768px) {
  .modal {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;
  }
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cornflower);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    cursor: pointer;
    transition: background-color var(--transition-dur-and-func), border var(--transition-dur-and-func);
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    background-color: var(--ocean);
    border: none;
}

.modal-close-icon {
    transition: fill var(--transition-dur-and-func);
    fill: var(--navy-blue);
}

.modal-close-btn:hover .modal-close-icon,
.modal-close-btn:focus .modal-close-icon {
    fill: var(--white);
}

.modal-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.02em;
    color: var(--navy-blue);
    margin-bottom: 16px;
}

.modal-field-wrapper {
    margin-bottom: 8px;
}

.modal-comment-margin {
    margin-bottom: 16px;
}

.modal-label {
    display: block;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: var(--light-slate);
    margin-bottom: 4px;
}

.modal-input-wrapper {
    position: relative;
}

.modal-input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--navy-blue-modal);
    border-radius: 4px;
    background-color: transparent;
    padding-left: 38px;
    outline: transparent;
    transition: border-color var(--transition-dur-and-func);
}

.modal-input:focus {
    border-color: var(--iris);
}

.modal-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: var(--navy-blue);
    transition: fill var(--transition-dur-and-func);
}

.modal-input:focus+.modal-icon {
    fill: var(--iris);
}

.modal-textarea {
    width: 100%;
    height: 120px;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: var(--navy-blue-modal);
    border: 1px solid var(--navy-blue-modal);
    border-radius: 4px;
    background-color: transparent;
    padding: 8px 16px;
    outline: transparent;
    resize: none;
    transition: border-color var(--transition-dur-and-func);
}

.modal-textarea:focus {
    border-color: var(--iris);
}

.modal-checkbox-wrapper {
    margin-bottom: 24px;
}

.modal-checkbox-label {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: var(--light-slate);
    display: flex;
    align-items: center;
}

.modal-checkbox-text {
    flex: 1;
    }

.modal-custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid var(--navy-blue-modal);
    border-radius: 2px;
    transition: background-color var(--transition-dur-and-func), border var(--transition-dur-and-func), fill var(--transition-dur-and-func);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: transparent;
    margin-right: 8px;
    flex-shrink: 0;
    }

.modal-checkbox:checked+.modal-checkbox-label>.modal-custom-checkbox {
    background-color: var(--ocean);
    border: none;
    fill: var(--cloud);
}

.privacy-link {
  color: var(--iris);
  text-decoration: underline;
  margin-left: 4px;
}

.modal-submit-btn {
    display: block;
    min-width: 169px;
    height: 56px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--white);
    background-color: var(--iris);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    transition: background-color var(--transition-dur-and-func);
}
.modal-submit-btn:hover,
.modal-submit-btn:focus {
    background-color: var(--ocean);
}
/* #endregion */

/* #region MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--transition-dur-and-func);
    display: flex;
    flex-direction: column;
    padding: 72px 0 40px 0;
}

@media screen and (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}
.mobile-menu.is-open {
  transform: translateX(0);
}

.menu-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; 
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  cursor: pointer;
  transition: background-color var(--transition-dur-and-func), border var(--transition-dur-and-func);
}

.menu-close-btn:hover,
.menu-close-btn:focus {
  background-color: var(--ocean);
  border: none;
}

.menu-close-btn:hover .modal-close-icon,
.menu-close-btn:focus .modal-close-icon {
  fill: var(--white);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: var(--navy-blue);
}

.mobile-nav-link.current {
  color: var(--ocean);
}

.mobile-menu-bottom {
  margin-top: auto;
}

.mobile-address-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.mobile-address-link {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.mobile-address-link.accent {
  color: var(--iris);
}

.mobile-social-list {
  display: flex;
  gap: 40px;
}
/* #endregion */