@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/avenir-next-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/avenir-next-demibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('/fonts/merriweather-variable.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colors */
  --color-brand: #497e7e;
  --color-brand-tp: #2e775f26;
  --color-text: hsl(206, 25%, 13%);
  --color-bg: #fbfaf9;
  --color-white: #fff;

  /* header */
  --header-opacity: 0;

  /* animation */
  --easing: cubic-bezier(.4, 0, 1, 1);

  /* fluid typography */
  --font-hero: clamp(2.5rem, 1.8rem + 3.5vw, 4.25rem);
  --font-hero-bold: clamp(2.4rem, 1.7rem + 3.5vw, 4.125rem);
  --font-lead: clamp(1.8rem, 1.2rem + 3vw, 3.0625rem);
  --font-lead-md: clamp(1.45rem, .9rem + 2.5vw, 2.25rem);
  --font-lead-sm: clamp(1.25rem, .8rem + 2vw, 1.75rem);
  --font-copy: clamp(1rem, .8rem + .375vw, 1.25rem);
  --font-copy-bold: clamp(.94rem, .7rem + .375vw, .9375rem);

  /* layout-specifics */
  --header-height: clamp(3.9rem, 3rem + 4vw, 4.875rem);
  --footer-height: calc(30rem + 5vw);
  --position: absolute;
  --btn-height: clamp(2.48rem, 1.4rem + 1.5vw, 2.8125rem);
  --slider-btn-size: clamp(3rem, 2.125rem + 1.5vw, 3.9375rem);
  --container-width: clamp(90%, 90%, 82.5rem);
  --review-width: clamp(5rem, 16rem + 12vw, 24rem);
  --hero-img-width: clamp(3.5rem, 7rem + 11vw, 17rem);

  --radius-sm: .5rem;
  --radius-md: 1.0625rem;
  --vertical-stroke: 2;

  --gap-lg: clamp(2rem, 1.5rem + 3vw, 4rem);
  --gap-md: clamp(1.25rem, .75rem + 2.5vw, 2.125rem);
  --gap-sm: clamp(.75rem, .25rem + 2vw, 1rem);
  --gap-xs: .28125rem;
}


/* normalize */
html {
  background-color: var(--color-white);
  font-size: var(--font-copy);
  font-weight: 500;
  font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.54;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: unset;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

body>svg {
  display: none;
}

main {
  z-index: 1;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
  background-color: var(--color-white);
}

a {
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

button {
  display: flex;
  white-space: nowrap;
  background-color: unset;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

ul {
  list-style-type: none;
  margin-block: unset;
  padding-inline-start: unset;
}

h1,
h2,
h3,
h4,
p {
  font-size: inherit;
  margin-block: unset;
}

img {
  border-radius: var(--radius-md);
  height: 100%;
  width: 100%;
  -webkit-user-drag: none;
  user-select: none;
  object-fit: cover;
}

address {
  font-style: normal;
  font-weight: 500;
  display: inline;
}

/* container */
.container {
  width: var(--container-width);
  margin-inline: auto;
}


/* fonts */
.font--hero,
.font--hero-bold,
.font--lead,
.font--lead-md,
.font--lead-sm {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  line-height: 1.24;
}

.font--hero {
  font-size: var(--font-hero);
  font-weight: 310;
  letter-spacing: -.04em;
}

.font--hero-bold {
  font-size: var(--font-hero-bold);
  letter-spacing: -.055em;
  font-weight: 400;
}

.font--lead {
  font-size: var(--font-lead);
  font-weight: 300;
  letter-spacing: -.035em;
}

.font--lead-md {
  font-size: var(--font-lead-md);
  font-weight: 300;
  letter-spacing: -.035em;
}

.font--lead-md-bold {
  font-size: var(--font-lead-md);
  font-weight: 400;
  letter-spacing: -.035em;
}

.font--lead-sm {
  font-size: var(--font-lead-sm);
  font-weight: 300;
  letter-spacing: -.03em;
}

.font--copy-bold {
  font-size: var(--font-copy-bold);
  font-weight: 600;
}


/* header */
header {
  position: sticky;
  top: var(--gap-sm);
  margin-inline: var(--gap-sm);
  z-index: 2;
  border-radius: var(--radius-md);
  transition: opacity .2s var(--easing),
    border-radius .09s var(--easing);
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2% 0 calc(2% + var(--gap-xs));
  height: var(--header-height);
  position: relative;
}

header .logo {
  position: absolute;
  height: calc(100% - var(--gap-xs) * 2);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  filter: url(#glass-distortion);
  backdrop-filter: blur(3.5px);
  isolation: isolate;
  transition: inherit;
  border-radius: inherit;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: var(--header-opacity);
  background: hsla(30, 10%, 98%, 0.82);
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, .5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, .5),
    inset 0 0 0 1px hsl(25, 12%, 84%);
  border-radius: inherit;
  transition: inherit;
}

.menu {
  font-weight: 600;
  font-size: var(--font-copy-bold);
  display: flex;
  align-items: center;
  flex: 1;
  column-gap: .75rem;
}

.menu a:not(.btn) {
  padding: 0 .40625rem;
}

.menu__item-btns {
  margin-left: auto;
}

.logo {
  flex: 0 1 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo svg {
  height: 100%;
}


/* buttons */
.btn {
  font-weight: 600;
  font-size: var(--font-copy-bold);
  color: var(--color-white);
  line-height: 0;
  border-radius: var(--radius-sm);
  padding: 0 .9375rem;
  height: var(--btn-height);
  display: flex;
  align-items: center;
  column-gap: var(--gap-xs);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color .2s var(--easing);
}

.btn::before {
  content: '';
  background-color: var(--color-brand);
  position: absolute;
  inset: 0;
  z-index: -2;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform .2s var(--easing);
  background-color: var(--color-text);
  border-radius: 9999px;
  z-index: -1;
  transform: scale(0);
}

.btn:hover::after {
  transform: scaleX(140%) scaleY(220%);
}

.btn.alt {
  color: var(--color-text);
}

.btn.alt:hover {
  color: var(--color-white);
}

.btn.alt::before {
  background-color: var(--color-white);
}

.btn.tp {
  padding: 0 .828125rem;
  box-shadow: inset 0 0 0 1.75px var(--color-text);
  color: var(--color-text);
}

.btn.tp::before {
  background-color: transparent;
}

.btn.tp:hover {
  color: var(--color-white);
}

.btn svg {
  width: min(.725rem + .375vw, .671875rem);
}

.btn.tp svg {
  width: .953125rem;
}

.menu .btn svg {
  width: .796875rem;
}

.menu .btn {
  column-gap: .1875rem;
}

.btn-prev,
.btn-next {
  height: var(--slider-btn-size);
  width: var(--slider-btn-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
  transition: color .12s var(--easing);
  position: relative;
  overflow: hidden;
}

.btn-prev:hover,
.btn-next:hover {
  color: var(--color-white);
}

.btn-prev::before,
.btn-next::before {
  content: '';
  position: absolute;
  top: 50%;
  height: 100%;
  width: 100%;
  transform: scale(0);
  background-color: var(--color-text);
  border-radius: var(--radius-md);
  left: 0;
  transition: transform .2s var(--easing);
}

.btn-prev:hover::before,
.btn-next:hover::before {
  transform: scaleX(170%) scaleY(220%);
}

.btn-prev svg,
.btn-next svg {
  height: .875rem;
  z-index: 1;
}

.btn-prev svg {
  rotate: -135deg;
}

.btn-next svg {
  rotate: 45deg;
}


/* hero section */
#hero {
  padding: 8rem 0 0 0;
  display: flex;
  flex-direction: column;
  row-gap: 6.25rem;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
  text-align: center;
  max-width: clamp(0%, 30rem + 10vw, 97.5%);
  margin-inline: auto;
}

.hero__btn-wrap {
  margin-top: .6875rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 .5rem
}

.hero__inner p {
  max-width: clamp(0%, 20.75rem + .1vw, 97.5%);
}

.hero__slider {
  display: flex;
  contain: layout style;
}

.hero__slider::-webkit-scrollbar {
  display: none;
}

.slider__list {
  flex: none;
  display: flex;
  column-gap: var(--gap-sm);
  padding-left: var(--gap-sm);
  animation: 52s linear infinite slider;
  will-change: transform;
  transform: translateZ(0);
}

.slider__list li {
  width: var(--hero-img-width);
  aspect-ratio: 5 / 7;
  contain: layout style paint;
  padding-bottom: .8125rem;
}

.slider__list li img {
  opacity: 0;
  animation: fadeInSlider .8s ease-out forwards;
}

.slider__list:first-of-type li:nth-child(1) img {
  animation-delay: .075s;
}

.slider__list:first-of-type li:nth-child(2) img {
  animation-delay: .15s;
}

.slider__list:first-of-type li:nth-child(3) img {
  animation-delay: .225s;
}

.slider__list:first-of-type li:nth-child(4) img {
  animation-delay: .3s;
}

.slider__list:first-of-type li:nth-child(5) img {
  animation-delay: .375s;
}

.slider__list:first-of-type li:nth-child(6) img {
  animation-delay: .45s;
}

.slider__list:first-of-type li:nth-child(7) img {
  animation-delay: .525s;
}

@keyframes fadeInSlider {
  from {
    opacity: 0;
    transform: translateY(.8125rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slider {
  from {
    transform: translate3d(0%, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider__list {
    animation-play-state: paused;
  }
}

.hero__slider::-webkit-scrollbar {
  display: none;
}


/* about section */
#about-us {
  padding: 9.4375rem 0 6rem;
}

#about-us .container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  column-gap: var(--gap-lg);
}

.about__inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  row-gap: var(--gap-sm);
}

.about__inner h3 {
  text-wrap: pretty;
  max-width: clamp(0%, 16rem + 10vw, 21rem);
}

.about__inner img {
  margin: 1.75rem 0 0 auto;
  aspect-ratio: 3 / 2;
  width: 50%;
}

.about__outer img {
  width: 100%;
  aspect-ratio: 5 / 7;
}

.about__outer:last-of-type {
  margin-bottom: auto;
}



/* reviews section */
#reviews {
  padding: 8rem 0 6rem;
  background-color: var(--color-bg);
}

#reviews .container {
  display: flex;
  flex-direction: column;
  row-gap: 1.875rem;
}

.reviews__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap-sm);
  position: relative;
  align-items: end;
  text-wrap: balance;
}

.reviews__heading h2 {
  grid-column: span 2;
}

.slider-btns {
  display: flex;
  column-gap: var(--gap-xs);
  margin-left: auto;
}

.reviews__slider {
  display: flex;
  column-gap: var(--gap-sm);
  overflow-x: scroll;
  margin-inline: -10%;
  padding-inline: 10%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: flex-start;
}

.reviews__slider::-webkit-scrollbar {
  display: none;
}

.reviews__item {
  display: flex;
  flex-direction: column;
  padding: var(--gap-md);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  flex: none;
  row-gap: 30px;
  position: relative;
  box-sizing: border-box;
  width: var(--review-width);
}

.reviews__item img {
  position: absolute;
  inset: 0;
  height: auto;
}

.reviews__stars {
  color: var(--color-brand);
  letter-spacing: .02em;
}

img+.reviews__stars {
  position: absolute;
  z-index: 1;
}


/* community section */
#community {
  padding: 128px 0 96px;
  background-color: var(--color-white);
}

.community__heading {
  text-align: center;
  max-width: clamp(0%, 36rem + 10vw, 100%);
  margin-inline: auto;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  text-wrap: balance;
}

.community__toggle {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--color-brand-tp);
  display: flex;
  align-items: center;
}

#community li:last-of-type details {
  border-bottom: 1px solid var(--color-brand-tp);
}

.community__toggle::-webkit-details-marker {
  display: none;
}

.community__toggle span {
  margin-left: auto;
  position: absolute;
  display: flex;
  align-items: center;
  right: 0;
  padding: 0 8px;
  height: 48px;
  width: 25px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  transition: color .2s var(--easing);
}

.community__toggle:hover span,
.community__toggle:focus-visible span {
  color: var(--color-white);
}

.community__toggle span::before {
  content: '';
  position: absolute;
  top: 50%;
  height: 100%;
  width: 100%;
  transform: scale(0);
  background-color: var(--color-brand);
  border-radius: inherit;
  left: 0;
  transition: transform .2s var(--easing);
}

.community__toggle:hover span::before,
.community__toggle:focus-visible span::before {
  transform: scaleX(140%) scaleY(220%);
}

.community__toggle svg {
  z-index: 1;
}

#community details svg {
  display: flex;
  align-items: center;
}

#community details[open] svg use {
  --vertical-stroke: 0;
}

#community details {
  @media (prefers-reduced-motion: no-preference) {
    interpolate-size: allow-keywords;
  }
}

#community details::details-content {
  opacity: 0;
  block-size: 0;
  overflow-y: clip;
  transition: content-visibility .75s allow-discrete,
    opacity .75s cubic-bezier(.22, .61, .36, 1),
    block-size .75s cubic-bezier(.22, .61, .36, 1);
}

#community details[open]::details-content {
  opacity: 1;
  block-size: auto;
}

.community__content {
  display: flex;
  column-gap: var(--gap-md);
}

.community__content p:not(p:nth-child(3)) {
  max-width: var(--review-width);
  flex: none;
  padding-bottom: var(--gap-sm);
}

.community__content .btn svg {
  width: .796875rem;
}

.community__content .btn {
  column-gap: .1875rem;
  margin-top: .5rem;
}

.community__more-info {
  padding-bottom: var(--gap-sm);
  margin-left: auto;
}

.community__more-info span {
  width: 0px;
  white-space: nowrap;
  display: inline-block;
}

.community__img-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap-sm);
  padding-bottom: var(--gap-sm)
}

.community__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* services section */
#services {
  padding: 128px 0 96px;
  background-color: var(--color-bg);
}

#services .container {
  display: flex;
  column-gap: var(--gap-lg);
  align-items: start;
  position: relative;
}

.services__heading {
  display: flex;
  height: 100%;
  flex-direction: column;
  row-gap: 30px;
  text-wrap: balance;
  flex: 1
}

.services__list {
  box-sizing: border-box;
  flex: 1;
}

.services__photos {
  padding: var(--gap-lg);
  padding-left: var(--gap-md);
  background-color: var(--color-white);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  position: relative;
}

.services__photos img:first-of-type {
  height: 100%;
  max-height: 47rem;
}

.services__photos img:last-of-type {
  position: absolute;
  height: auto;
  width: 55%;
  aspect-ratio: 4 / 3;
  right: calc(var(--gap-lg) * .7);
  bottom: calc(var(--gap-lg) * .65);
}

.service__item:first-child {
  border-top: 1px solid var(--color-brand-tp);
}

.service__item {
  display: flex;
  column-gap: var(--gap-sm);
  padding: 1.25rem 0;
  align-items: center;
  border-bottom: 1px solid var(--color-brand-tp);
}

.service__title {
  padding-right: .75rem;
  border-right: 1px solid var(--color-brand-tp);
  width: 6.8rem;
  flex: none;
  font-weight: 600;
}

.footer__hiring {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
}

.footer__hiring a {
  font-weight: 600;
  border-bottom: 2px solid var(--color-brand-tp);
  transition: border-color .1s var(--easing);
}

.footer__hiring a:hover {
  border-color: var(--color-text);
}


/* contact section */
#contact {
  padding: 104px 0;
  background-color: var(--color-brand);
  color: var(--color-white);
  scroll-margin-top: calc(var(--header-height) + var(--gap-sm) * 2)
}

#contact .container {
  display: flex;
  column-gap: 64px;
}

#apple-map {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden
}

.contact__heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  row-gap: 30px;
  padding: 84px 0 68px 0;
  box-sizing: border-box;
  flex: 1;
}

.contact__heading .btn {
  margin-top: 4px;
}

/* footer */
footer {
  padding: 64px 4% 33px 4%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  row-gap: min(1.75rem + 2vw, 3rem);
  background-color: var(--color-white);
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: min(.9rem + 1vw, 3rem);
  column-gap: min(2.5vw, 30px);
  border-bottom: 1px solid var(--color-brand-tp);
}

footer .logo {
  flex: 1;
  height: auto;
  max-width: 15.5rem;
  min-width: 11.4rem;
}

footer .logo svg {
  height: auto;
}

footer nav {
  flex: 1;
  width: 100%;
}


footer nav ul {
  width: 100%;
  display: flex;
  gap: min(2.5vw, 30px);
  justify-content: flex-end;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--gap-md);
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 11px;
  border-top: 1px solid var(--color-brand-tp);
}

.footer__follow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 2rem .46875rem;
  text-wrap: balance;
}

.footer__follow ul {
  display: flex;
  column-gap: .46875rem;
}

.footer__follow ul a {
  display: flex;
  width: 1.5rem;
}

.footer__hours {
  display: grid;
  gap: .46875rem;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr auto;
  grid-auto-columns: 1fr;
  margin-block: 0;
}

.footer__hours dt {
  font-weight: 600;
}

.footer__hours dd {
  margin-inline: 0;
  text-align: right;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* menu btn */
.btn--menu,
#menu-toggle {
  display: none;
}

/* media queries */
@media (max-width: 991px) {
  #menu-toggle {
    display: block;
    visibility: hidden;
    pointer-events: none;
    appearance: none;
    background-color: #0000001a;
    height: 100vh;
    width: 100vw;
    margin: unset;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity .2s var(--easing), visibility .2s var(--easing);
  }

  #menu-toggle:checked {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .btn--menu {
    display: flex;
  }

  .menu__item-btns {
    margin-left: unset;
    margin-bottom: -5px;
  }

  .menu {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    width: 100%;
    flex-direction: column;
    row-gap: 14px;
    box-sizing: border-box;
    height: 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: height .28s var(--easing),
      opacity .2s var(--easing);
  }

  #menu-toggle:checked~.menu {
    height: 19rem;
  }

  header:has(#menu-toggle:checked) {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    --header-opacity: 1;
  }

  .menu li {
    z-index: 2;
  }

  .menu li:first-of-type {
    margin-top: 1.3125rem;
  }

  .menu::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    filter: url(#glass-distortion);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    isolation: isolate;
    transition: inherit;
    border-radius: inherit;
    overflow: hidden;
  }

  .menu::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: var(--header-opacity);
    background: hsla(30, 10%, 98%, 0.82);
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, .5),
      inset -1px -1px 1px 1px rgba(255, 255, 255, .5),
      inset 0 0 0 1px hsl(25, 12%, 84%);
    border-radius: inherit;
    transition: inherit;
  }

  #menu-toggle:checked~.menu::before {
    opacity: 1;
  }


  /* button */
  .btn--menu {
    display: flex;
    flex-direction: column;
    gap: 4.5px;
    margin-left: auto;
    justify-content: center;
    width: 27px;
    height: 100%;
    cursor: pointer;
  }

  .btn--menu span {
    height: 2px;
    background-color: var(--color-text);
    border-radius: 100px;
    overflow: hidden;
    transition: transform .18s var(--easing) .08s,
      width .1s var(--easing);
  }

  .btn--menu span:nth-of-type(1) {
    width: 50%
  }

  .btn--menu span:nth-of-type(2) {
    width: 100%
  }

  .btn--menu span:nth-of-type(3) {
    width: 75%
  }

  :checked+.btn--menu span:nth-of-type(1) {
    transform-origin: bottom;
    transform: rotateZ(45deg) translate(2px, 0)
  }

  :checked+.btn--menu span:nth-of-type(2) {
    transform-origin: top;
    transform: rotateZ(-45deg)
  }

  :checked+.btn--menu span:nth-of-type(3) {
    transform-origin: bottom;
    width: 50%;
    transform: rotateZ(45deg) translate(6.2px, -9px)
  }

  .community__content {
    flex-direction: column;
  }
}

@media (max-width: 767px) {

  .footer__top,
  #contact .container,
  #services .container {
    flex-direction: column;
    row-gap: 1rem;
  }

  .footer__main {
    flex-direction: column;
    row-gap: 1.9375rem;
  }

  #about-us .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-sm);
  }

  .about__inner {
    order: -1;
    grid-column: span 2;
    position: relative;
  }

  .about__inner img {
    margin-top: 0;
    height: calc(5.75rem + 6.5vw);
    width: auto;
    aspect-ratio: 3 / 2;
    position: absolute;
    top: clamp(-8.5rem, -11rem + 11vw, -7.5rem);
    right: 0;
  }

  .about__outer img {
    aspect-ratio: 4 / 3;
  }

  .about__outer:first-of-type img {
    object-position: 70% 5%;
  }

  #apple-map {
    flex: none;
    width: 100%;
    height: 30vh;
  }

  .contact__heading {
    padding: 30px 0 0 0;
  }

  .footer__follow {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  footer nav ul {
    justify-content: space-between;
    max-width: 32rem;
    flex-wrap: wrap;
  }

  footer nav {
    justify-content: center;
    display: flex;
  }
}