/* Tablet */
@media (min-width: 768px) {
  .site-header {
    padding: 14px 32px;
  }

  .section {
    max-width: 760px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero {
    padding: 64px 48px;
    min-height: 560px;
  }

  .hero__inner {
    max-width: 700px;
    gap: 28px;
  }

  .hero__title {
    font-size: 46px;
    line-height: 1.12;
    max-width: 620px;
  }

  .hero__description {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.7;
  }

  .hero__actions {
    width: auto;
    flex-direction: row;
    align-items: center;
  }

  .btn {
    width: auto;
    min-width: 220px;
  }

  .specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .section--about {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
  }

  .member-card {
    max-width: 760px;
  }

  .member-card__photo {
    height: 24rem;
  }

  .site-footer {
    padding: 48px 32px;
  }

  .site-footer__top {
    gap: 40px;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .site-header {
    height: 82px;
    padding: 16px 64px;
  }

  .brand__logo-wrap {
    width: 48px;
    height: 48px;
  }

  .brand__logo {
    width: 38px;
    height: 37px;
  }

  .brand__name {
    font-size: 24px;
    line-height: 24px;
  }

  .brand__subtitle {
    font-size: 10px;
    line-height: 11px;
  }

  .section {
    max-width: 1200px;
    padding-left: 64px;
    padding-right: 64px;
    padding-bottom: 72px;
  }

  .section-heading__title {
    font-size: 42px;
    line-height: 1.15;
  }

  .section-heading__title--about {
    font-size: 42px;
  }

  .hero {
    min-height: 640px;
    padding: 80px 64px;
    align-items: center;
  }

  .hero__inner {
    max-width: 1200px;
    width: 100%;
    padding: 0;
    gap: 32px;
  }

  .hero__title {
    max-width: 760px;
    font-size: 64px;
    line-height: 1.04;
    letter-spacing: -1.6px;
  }

  .hero__description {
    max-width: 660px;
    font-size: 20px;
  }

  .hero__actions {
    gap: 14px;
  }

  .btn {
    min-width: 250px;
  }

  .hero__title br,
  .hero__description br,
  .area-card__text br,
  .site-footer__about br,
  .site-footer__legal br {
    display: none;
  }

  .section--specialties {
    gap: 52px;
    scroll-margin-top: calc(82px + env(safe-area-inset-top) + 20px);
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .area-card {
    min-height: 280px;
    padding: 34px;
  }

  .area-card__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .area-card__text {
    font-size: 15px;
    line-height: 1.65;
  }

  .section--about {
    max-width: 1200px;
    padding-left: 64px;
    padding-right: 64px;
    gap: 28px;
  }

  .member-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "photo name"
      "photo role"
      "photo description";
    column-gap: 36px;
    row-gap: 8px;
    align-items: start;
    max-width: 100%;
  }

  .member-card__photo {
    grid-area: photo;
    height: 30rem;
  }

  .member-card__name {
    grid-area: name;
    margin-top: 0;
    align-self: end;
    font-size: 32px;
    line-height: 1.2;
  }

  .member-card__role {
    grid-area: role;
    margin-top: 0;
    padding-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
  }

  .member-card__description {
    grid-area: description;
    font-size: 16px;
    line-height: 1.75;
    max-width: 58ch;
  }

  .site-footer {
    padding: 56px 64px 44px;
  }

  .site-footer__top {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
    padding-bottom: 56px;
  }

  .site-footer__brand-block {
    gap: 24px;
  }

  .site-footer__about {
    max-width: 58ch;
    font-size: 15px;
    line-height: 1.7;
  }

  .site-footer__contact-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .contact-item__text {
    font-size: 15px;
    line-height: 1.55;
  }

  .site-footer__bottom {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  .site-footer__legal {
    font-size: 13px;
    line-height: 1.5;
  }

  .site-footer__links a {
    font-size: 13px;
  }

  .whatsapp-fab {
    right: calc(24px + env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
  }
}

/* Wide desktop */
@media (min-width: 1360px) {
  .site-header,
  .hero,
  .section,
  .section--about,
  .site-footer {
    padding-left: max(64px, calc((100vw - 1280px) / 2));
    padding-right: max(64px, calc((100vw - 1280px) / 2));
  }
}
