/* Tablet */
@media (max-width: 1199px) {
  .container {
    width: 900px;
  }
  .header {
    height: 591px;
  }

  .header-top {
    width: 100%;
    padding: 0 15px;
  }

  .header-content {
    width: 900px;
    padding: 0 15px;
  }

  .header-nav-list {
    display: none;
  }

  .header-nav-button {
    display: block;
  }

  .header-title {
    font-size: 52px;
    margin-bottom: 30px;
  }
  .header-scroll {
    font-size: 0;
  }

  .header-scroll::after {
    left: 50%;
    transform: translateX(-40%);
  }
  /* main */
  .main {
    padding: 80px 0 83px;
  }

  .main-row {
    margin-bottom: 80px;
  }

  .main-row:nth-child(odd) .main-content {
    width: 422px;
  }

  .main-content {
    width: 420px;
  }

  .main-header {
    font-size: 50px;
    line-height: 1;
  }
  .main-description {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .main-img {
    width: 420px;
  }

  /* Footer */
  .footer {
    padding: 50px 0;
  }

  .footer-row {
    justify-content: baseline;
    gap: 150px;
  }

  .footer-logo .logo {
    font-size: 30px;
  }

  .footer-widget + .footer-widget {
    margin-left: 55px;
  }

  .footer-widget-title {
    margin-bottom: 20px;
  }

  .footer-widget-services {
    display: none;
  }
  .footer-copyright {
    width: 225px;
  }

  .footer-copyright p {
    margin-top: 20px;
    font-size: 14px;
  }

  /* inner page */
  .inner-page {
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .inner-page-tours-header {
    margin-bottom: 40px;
  }

  .inner-page-header {
    line-height: normal;
  }

  /* Card */
  .card-title-wrapper {
    height: 60px;
    padding: 0 20px;
  }

  .card-title {
    font-size: 24px;
  }

  /* Article */
  .row-article-page {
    padding-top: 0;
    gap: 30px;
  }

  .article-page-article {
    flex-shrink: unset;
  }

  .article-page-nav {
    padding-top: 11px;
  }

  .article-page-nav-list a {
    font-size: 18px;
    padding-right: 5px;
  }

  .article-page-article h1 {
    font-size: 50px;
    margin-top: 2px;
    margin-bottom: 22px;
  }

  .article-page-article p {
    font-size: 18px;
  }

  .article-page-article img {
    margin-top: 33px;
    margin-bottom: 30px;
  }

  /* Contacts */

  .contacts {
    padding-bottom: 59px;
  }

  .contact-row {
    flex-direction: column;
    row-gap: 35px;
  }

  .contact-block--first {
    width: 419px;
  }

  .contact-info {
    display: flex;
    gap: 30px;
    width: 100%;
  }

  .contact-block {
    flex-shrink: 0;
  }

  .contact-block + .contact-block {
    margin-top: 0;
  }

  .contact-block--first .contact-block-title {
    margin-bottom: 25px;
  }

  .contact-block-title {
    font-size: 24px;
  }

  .contact-block-body {
    font-size: 18px;
  }

  /* map */
  .map {
    width: 420px;
    height: 310px;
  }

  /* form */
  .form {
    width: 100%;
  }

  .form-group-title {
    margin-bottom: 14px;
  }

  .form-group:last-of-type {
    margin-bottom: 33px;
  }

  /* Input */
  .input {
    padding: 0 29px;
  }

  /* checkbox */
  .checkbox-row {
    margin-bottom: 17px;
  }
}

/* Phone */
@media (max-width: 899px) {
  .container,
  .header-top,
  .header-content {
    width: 100%;
  }

  .header-content {
    top: 48%;
    transform: translate(-50%, -51%);
  }

  .header-content p {
    font-size: 20px;
  }

  .header-title {
    font-size: 42px;
    margin-bottom: 18px;
  }

  .header-scroll::after {
    transform: translateX(-45%);
  }

  .header-inner {
    height: 80px;
  }

  /* Main */
  .main {
    padding: 60px 0;
  }
  .main-row {
    flex-direction: row-reverse;
    margin-bottom: 60px;
    gap: 30px;
  }

  .main-content {
    width: auto;
  }

  .main-row:nth-child(odd) .main-content {
    width: auto;
  }

  .main-header {
    font-size: 42px;
  }
  .main-description {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .main-description br {
    display: block;
  }

  .button {
    margin-bottom: 15px;
    padding: 12px 35px;
    font-size: 18px;
  }
  .main-img {
    flex-shrink: 0;
    width: 170px;
  }
  .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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

  /* Footer */
  .footer {
    padding: 40px 0;
  }
  .footer-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-widgets-wrapper {
    justify-content: space-between;
    margin-bottom: 30px;
    padding-top: 0;
    width: 100%;
  }

  .footer-widgets-wrapper > * {
    width: calc(50% - 15px);
    margin-bottom: 20px;
  }

  .footer-widget + .footer-widget {
    margin-left: 0;
  }

  .footer-copyright {
    order: 1;
    width: 100%;
  }

  .footer-copyright p {
    padding-right: 20px;
    margin-top: 20px;
    font-size: 14px;
    text-align: justify;
  }

  .footer-widget-title {
    margin-bottom: 20px;
  }

  /* Card */
  .cards-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .cards-column {
    gap: 30px;
  }

  .card.biggest {
    max-width: 100%;
  }

  /* LOGO */
  .logo {
    font-size: 30px;
  }

  /* Article */
  .row-article-page {
    flex-direction: column-reverse;
  }

  .article-page-nav {
    width: 100%;
  }

  .article-page-article h1 {
    font-size: 42px;
  }

  .article-page-article h2 {
    font-size: 32px;
  }

  .article-page-article h3 {
    font-size: 26px;
  }

  .article-page-article h4 {
    font-size: 22px;
  }

  .article-page-article p {
    font-size: 16px;
  }

  .article-page-article img {
    margin: 22px 0;
  }

  .article-page-article h2,
  .article-page-article h3,
  .article-page-article h4,
  .article-page-article h5,
  .article-page-article h6 {
    margin-bottom: 17px;
  }

  .article-page-nav-title {
    margin-bottom: 20px;
  }

  /* Contacts */

  .contact-info {
    flex-direction: column;
    gap: 40px;
  }

  .contacts-header {
    margin-bottom: 30px;
  }

  /* Map */
  .map {
    width: 570px;
    height: 310px;
  }

  /* Form */
  .form {
    padding: 30px;
  }

  .form-group-title {
    margin-bottom: 15px;
  }

  .form-group:last-of-type {
    margin-bottom: 29px;
  }

  /* Input */
  .input {
    padding: 0 18px;
  }

  /* Button */
  .button {
    padding: 11px 30px;
    margin-bottom: 0;
  }
}

/* Phone XS */

@media (max-width: 599px) {
  .container {
    width: 320px;
  }

  .header-top,
  .header-content {
    width: 100%;
    top: 49%;
  }

  .logo {
    font-size: 30px;
  }

  .header-title {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .header-content p {
    font-size: 18px;
  }

  .header-scroll::after {
    transform: translateX(-60%);
  }
  /* Main */
  .main {
    padding: 40px 0 25px;
  }

  .main .container {
    width: 100%;
  }

  .main-content {
    width: auto;
  }

  .main-row {
    flex-direction: column-reverse;
    gap: 20px;
    margin-bottom: 25px;
  }

  .main-row:nth-child(even) {
    flex-direction: column-reverse;
  }

  .main-header {
    font-size: 34px;
  }

  .main-img {
    width: auto;
    height: 150px;
    margin-right: 0;
  }

  .main-description br:last-child {
    display: none;
  }

  .inner-page-header {
    font-size: 28px;
  }

  .inner-page-tours-header {
    margin-bottom: 30px;
  }

  /* Footer */
  .footer {
    text-align: center;
  }
  .footer-row {
    flex-direction: column;
  }
  .footer-widgets-wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }
  .footer-widget-services {
    display: block;
  }
  .footer-widget {
    margin-bottom: 40px;
  }
  .footer-widget + .footer-widget {
    margin-left: 0;
  }
  .footer-widgets-wrapper > * {
    width: 100%;
  }

  .footer-widget:last-child {
    margin-bottom: 0;
  }

  .footer-widget-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .footer-widget-list a {
    font-size: 16px;
  }

  .footer-widget-list li {
    margin-bottom: 7px;
  }

  .footer-copyright {
    width: 290px;
    text-align: -webkit-center;
  }

  .footer-copyright p {
    padding-right: 0;
    margin-top: 10px;
    width: 245px;
    opacity: 0.6;
  }

  /* Card */
  .cards-row,
  .cards-wrapper,
  .cards-column {
    gap: 20px;
  }

  .card-title-wrapper {
    height: 50px;
    padding: 0 15px;
  }

  .card-title {
    font-size: 20px;
  }

  /* Article */

  .row-article-page {
    gap: 20px;
  }

  .article-page-article h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .article-page-article h3 {
    margin-top: 20px;
  }

  .article-page-nav-title {
    font-size: 22px;
    margin-bottom: 17px;
  }

  .article-page-nav {
    padding-top: 0;
  }

  .article-page-nav-list a {
    font-size: 16px;
    line-height: 1.3;
    padding: 7px 55px 7px 0;
  }

  .article-page-article p {
    margin-bottom: 17px;
  }

  /* Contact */

  .contacts-header .inner-page-header {
    line-height: 1;
  }

  .contact-block--first {
    width: 100%;
  }

  .contact-block--first .contact-block-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-block-body {
    font-size: 16px;
  }

  .contact-list li {
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .contact-list a {
    font-size: 16px;
  }

  .contact-list-icon {
    padding-left: 34px;
  }

  .contact-info {
    gap: 30px;
  }

  .contact-block-title {
    font-size: 20px;
    margin-bottom: 17px;
  }

  .contact-row {
    row-gap: 30px;
  }

  /* Map */
  .map {
    width: 290px;
    height: 157px;
  }

  /* Form */
  .form {
    padding: 20px 15px 32px;
    font-size: 16px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-group {
    margin-bottom: 20px;
    /* max-width: 255px; */
  }

  .form-group-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .form-group-row {
    flex-direction: column;
  }

  .form-group:last-of-type {
    margin-bottom: 20px;
  }

  /* Input */
  .input {
    padding: 0 15px;
    font-size: 18px;
  }

  /* Radio */
  .radio-row {
    margin-bottom: 8px;
  }

  /* checkbox */
  .checkbox-row {
    margin-bottom: 20px;
    max-width: 255px;
  }

  /* button */
  .button {
    padding: 11px 35px;
  }
}
