:root {
  /* BRAND COLORS */
  --primary: #493106e5;
  --brown-01: #493106;
  --brown-02: #5e3f08;

  --border-color: #59595980;

  /* NEUTRAL COLORS */
  --white: #ffffff;
  --neutral-01: #fafafa;
  --neutral-02: #f2f2f2;
  --neutral-03: #e5e5e5;
  --neutral-04: #d9d9d9;
  --neutral-05: #cccccc;
  --neutral-06: #bfbfbf;
  --neutral-07: #b3b3b3;
  --neutral-08: #a5a5a5;
  --neutral-09: #999999;
  --neutral-10: #8d8d8d;
  --neutral-11: #808080;
  --neutral-12: #737373;
  --neutral-13: #666666;
  --neutral-14: #595959;
  --neutral-15: #4d4d4d;
  --neutral-16: #404040;
  --neutral-17: #343434;
  --neutral-18: #272727;
  --neutral-19: #1a1a1a;
  --neutral-20: #0d0d0d;
  --black: #000000;

  /* SEMANTIC COLORS */
  --red-01: #df3a3f;
  --red-02: #b92c31;
  --red-03: #951d21;
  --red-04: #6b1518;

  --yellow-01: #e5b800;
  --yellow-02: #b28f00;
  --yellow-03: #806600;
  --yellow-04: #665100;

  --green-01: #2eb875;
  --green-02: #29a368;
  --green-03: #248f5b;
  --green-04: #1a6641;

  /* FONT WEIGHT */
  --light: 300;
  --regular: 400;
  --medium: 500;
  --semiBold: 600;
  --bold: 700;
  --extraBold: 800;

  /* FILTERS */

  --filter-black: brightness(0) saturate(100%);
  --filter-white: brightness(0) saturate(100%) invert(100%) sepia(100%)
    saturate(0%) hue-rotate(340deg) brightness(104%) contrast(104%);
  --filter-neutral-04: brightness(0) saturate(100%) invert(96%) sepia(0%)
    saturate(454%) hue-rotate(178deg) brightness(93%) contrast(89%);
  --filter-neutral-05: brightness(0) saturate(100%) invert(100%) sepia(0%)
    saturate(1282%) hue-rotate(231deg) brightness(84%) contrast(88%);
  --filter-neutral-06: brightness(0) saturate(100%) invert(100%) sepia(0%)
    saturate(4414%) hue-rotate(64deg) brightness(82%) contrast(77%);
  --filter-neutral-07: brightness(0) saturate(100%) invert(81%) sepia(5%)
    saturate(0%) hue-rotate(177deg) brightness(91%) contrast(82%);
  --filter-neutral-12: brightness(0) saturate(100%) invert(45%) sepia(4%)
    saturate(9%) hue-rotate(314deg) brightness(99%) contrast(87%);
  --filter-neutral-19: brightness(0) saturate(100%) invert(6%) sepia(10%)
    saturate(1492%) hue-rotate(106deg) brightness(92%) contrast(96%);
}

/*-----------------------------------*\
  #DESIGN
\*-----------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--neutral-01);
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: var(--medium);
  font-style: normal;
  font-size: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  overflow-x: hidden;
}

body.book-modal-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
}

a {
  text-decoration: none;
  cursor: pointer;
}

button {
  cursor: pointer;
}

.icon12 {
  width: 12px;
  height: 12px;
}

.icon16 {
  width: 16px;
  height: 16px;
}

.icon18 {
  width: 18px;
  height: 18px;
}

.icon20 {
  width: 20px;
  height: 20px;
}

.icon24 {
  width: 24px;
  height: 24px;
}

.icon28 {
  width: 28px;
  height: 28px;
}

.icon32 {
  width: 32px;
  height: 32px;
}

.icon40 {
  width: 40px;
  height: 40px;
}

.main-button {
  padding: 12 24px;
  height: 40px;
  background-color: #0d0d0d40;
  border: solid 1px var(--border-color);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
}

.main-button:is(:hover, :focus-within, :focus-within) {
  background-color: rgba(26, 26, 26, 0.9);
  border: solid 1px var(--neutral-03);
}

.main-button.brown {
  background-color: #493106e5;
  border: solid 1px var(--border-color);
}

.main-button.brown:is(:hover, :focus-visible, :focus-within) {
  background-color: var(--brown-02);
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/
.navbar {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 32px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: padding 0.35s ease;
}

.navbar.active {
  padding-top: 12px;
}

.navbar.active .navbar-main-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  background-color: rgba(13, 13, 13, 0.2);
  border: solid 1px var(--border-color);
  border-radius: 12px;

  padding: 8px 24px;
}

.navbar-main-container {
  width: 1280px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    padding 0.35s ease,
    backdrop-filter 0.35s ease;
}

.navbar-main-container .locations-dropdown {
  justify-self: start;
}

.navbar-main-container .book-nav {
  justify-self: center;
}

.navbar-main-container .language {
  justify-self: end;
}

.locations-dropdown {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  position: relative;
}

.locations-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.locations-text {
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--neutral-01);
}

.locations-nav-dropdown-arrow {
  transition: transform 0.2s ease;
}

.locations-dropdown.is-open .locations-nav-dropdown-arrow {
  transform: rotate(180deg);
}

.locations-counter {
  position: absolute;
  top: -8px;
  right: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--brown-01);
  border: solid 1px var(--brown-02);
  font-size: 13px;
  font-weight: var(--semiBold);
}

.locations-dropdown-menu {
  position: absolute;
  top: calc(100% + 24px);
  left: 0;
  min-width: 364px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 13, 13, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 200;
}

.locations-dropdown.is-open .locations-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.locations-dropdown-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.locations-dropdown-menu.is-portal {
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.locations-dropdown-menu.from-top {
  transform: translateY(-8px);
}

.locations-dropdown-menu.from-top.is-open {
  transform: translateY(0);
}

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

.locations-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  padding: 4px 0;
  color: var(--neutral-01);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.locations-dropdown-link:is(:hover, :focus-visible, :focus-within)
  .locations-dropdown-name {
  color: var(--neutral-01);
}

.locations-dropdown-name {
  font-weight: var(--medium);
  font-size: 16px;
  color: var(--neutral-08);
}

.locations-dropdown-area {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--neutral-08);
  white-space: nowrap;
}

.locations-dropdown-area-icon {
  width: 16px;
  height: 16px;
  filter: var(--filter-neutral-04);
}

.book-nav {
  height: 48px;
  width: 180px;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.book-nav:is(:hover, :focus-visible, :focus-within) {
  background-color: var(--brown-01);
  border-color: var(--border-color);
}

.language {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 300;
  overscroll-behavior: contain;
}

.book-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.book-modal {
  width: min(1280px, 92vw);
  max-height: 95vh;
  background: var(--black);
  border: 1px solid var(--neutral-17);
  border-radius: 24px;
  padding: 64px 124px 72px 64px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 32px;
}

.book-modal-close {
  position: absolute;
  top: 56px;
  right: 56px;
  background-color: transparent;
  outline: none;
  border: none;
}

.close-book-modal-icon {
  width: 32px;
  height: 32px;
}

.book-modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-direction: column;
}

.book-modal-header h3 {
  color: var(--neutral-03);
  font-size: 32px;
  font-weight: var(--semiBold);
  text-shadow: 0 8px 16px rgba(255, 255, 255, 0.5);
}

.book-modal-header p {
  color: var(--neutral-06);
  font-size: 14px;
  font-weight: var(--regular);
}

.book-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  width: 100%;
  height: auto;
}

.book-modal-card {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--neutral-01);
  text-decoration: none;
  width: 100%;
  height: 136px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.book-modal-card:hover,
.book-modal-card:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.book-modal-thumb {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.book-modal-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.book-modal-info h4 {
  font-size: 20px;
  font-weight: var(--semiBold);
  color: var(--neutral-01);
  letter-spacing: 0.5px;
}

.book-modal-address {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--regular);
  color: var(--neutral-06);
  line-height: 16px;
}

.book-modal-location-icon {
  width: 16px;
  height: 16px;
  filter: var(--neutral-06);
}

.book-modal-hover-arrow {
  width: 24px;
  height: 24px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.book-modal-card:hover .book-modal-hover-arrow,
.book-modal-card:focus-visible .book-modal-hover-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* @media (max-width: 760px) {
    .book-modal {
        padding: 24px;
    }

    .book-modal-grid {
        grid-template-columns: 1fr;
    }
} */

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-section.studio {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  padding: 64px 0;
  position: relative;
}

.footer-main-container.studio {
  width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 72px;
}

.footer-top-container {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: flex-start;
  column-gap: 24px;
}

.footer-top-links-container {
  justify-self: start;
}

.footer-top-center-container {
  justify-self: center;
  text-align: center;
}

.footer-top-location-container {
  justify-self: end;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 96px;
}

.footer-location-small-text {
  font-size: 12px;
  line-height: 12px;
  color: var(--neutral-07);
  font-weight: var(--regular);
}

.footer-location-dropdown {
  width: 220px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background-color: #0d0d0d40;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.footer-location-dropdown-arrow {
  width: 24px;
  height: 24px;
  filter: var(--filter-neutral-06);
  transition:
    transform 0.2s ease,
    filter 0.25s ease;
}

.footer-location-dropdown:is(:hover, :focus-visible, :focus-within) {
  border-color: var(--neutral-01);
  box-shadow: 0 4px 12px 0 rgba(255, 255, 255, 0.25);
}

.footer-location-dropdown:is(:hover, :focus-visible, :focus-within)
  .footer-location-dropdown-arrow {
  filter: var(--filter-white);
}

.footer-locations-dropdown {
  position: relative;
}

.footer-locations-dropdown .locations-dropdown-menu {
  top: auto;
  bottom: calc(100% + 16px);
  right: 0;
  left: auto;
  transform: translate(0, -8px);
}

.footer-locations-dropdown.is-open .locations-dropdown-menu {
  transform: translate(0, 0);
}

.footer-locations-dropdown.is-open .footer-location-dropdown-arrow {
  transform: rotate(180deg);
}

.footer-top-links-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  margin-top: 96px;
  max-width: 280px;
}

.footer-work-time {
  font-size: 12px;
  font-weight: var(--regular);
  color: var(--neutral-07);
}

.footer-contact-link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  filter: var(--filter-neutral-06);
}

.footer-contact-link-text {
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--semiBold);
  color: var(--neutral-07);
}

.footer-contact-link:is(:hover, :focus-visible, :focus-within)
  .footer-contact-link-text {
  color: var(--white);
}

.footer-contact-link:is(:hover, :focus-visible, :focus-within)
  .footer-contact-icon {
  filter: var(--filter-white);
}

.footer-top-center-container {
  width: 280px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  width: 200px;
  height: 200px;
}

.footer-slogan {
  font-size: 16px;
  font-weight: var(--regular);
  color: var(--neutral-04);
}

.footer-social-media {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-social-icon {
  width: 28px;
  height: 28px;
  filter: var(--filter-neutral-06);
}

.footer-social-link:is(:hover, :focus-visible, :focus-within) {
  border-radius: 50%;
  border: solid 1px var(--neutral-01);
  box-shadow: 0 4px 12px 0 rgba(255, 255, 255, 0.5);
}

.footer-social-link:is(:hover, :focus-visible, :focus-within)
  .footer-social-icon {
  filter: var(--filter-white);
}

.go-to-top-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  align-self: flex-end;
  margin-top: 40px;
}

.go-to-top-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171717cc;
  border: solid 1px var(--border-color);
}

.go-to-top-arrow {
  width: 24px;
  height: 24px;
}

.go-to-top-text {
  font-size: 12px;
  color: var(--neutral-06);
}

.go-to-top-button:is(:hover, :focus-visible, :focus-within) {
  border: solid 1px var(--neutral-01);
  box-shadow: 0 4px 12px 0 rgba(255, 255, 255, 0.5);
}

.footer-bottom-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.logo-codemode {
  width: 80px;
  height: auto;
  filter: var(--filter-neutral-06);
}

.logo-codemode:is(:hover, :focus-visible, :focus-within) {
  filter: var(--filter-white);
}

.created-by-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  color: var(--neutral-09);
  gap: 4px;
}

.gdpr-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.gdpr-link {
  font-size: 14px;
  line-height: 18px;
  color: var(--neutral-10);
  letter-spacing: 0.5px;
}

.gdpr-link:is(:hover, :focus-visible, :focus-within) {
  color: var(--neutral-01);
}

.light {
  position: absolute;
  z-index: 1;
}

.light.left {
  left: 0;
  top: 240px;
}

.light.right {
  right: 0;
  bottom: 72px;
}

.footer-light {
  position: absolute;
}

.footer-light.left {
  left: 0;
  top: -96px;
}

.footer-light.right {
  right: 0;
  top: -200px;
}

@media (max-width: 1320px) {
  .navbar-main-container {
    width: 1000px;
  }

  .footer-main-container.studio {
    width: 1000px;
    gap: 32px;
  }

  .book-modal {
    padding: 64px;
  }
}

@media (max-width: 1080px) {
  .navbar {
    padding: 32px 48px 0 48px;
  }

  .navbar-main-container {
    width: 100%;
  }

  .footer-top-container {
    width: 100%;
  }

  .footer-section.studio {
    padding-left: 48px;
    padding-right: 48px;
  }

  .book-modal-overlay {
    align-items: flex-end;
  }

  .book-modal {
    width: 100%;
    padding-inline: 32px;
    border-radius: 24px 24px 0 0;
  }

  .book-modal-hover-arrow {
    display: none;
  }
}

@media (max-width: 970px) {
  .navbar {
    padding: 32px 32px 0 32px;
  }

  .book-modal {
    overflow: hidden;
    padding-bottom: 0;
  }

  .book-modal-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 48px;
    -webkit-overflow-scrolling: touch;
  }

  .footer-section.studio {
    padding-left: 32px;
    padding-right: 32px;
  }

  .footer-top-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 64px;
  }

  .footer-top-container > :nth-child(2) {
    order: 1;
  }

  .footer-top-container > :nth-child(1) {
    order: 2;
  }

  .footer-top-container > :nth-child(3) {
    order: 3;
  }

  .footer-bottom-container {
    flex-direction: column;
  }

  .footer-top-links-container {
    max-width: unset;
    width: 100%;
    margin-top: 0;
    justify-content: center;
    align-items: center;
  }

  .footer-top-location-container {
    margin-top: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer-top-center-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer-top-center-container {
    display: flex;
    flex-direction: column;
  }

  .footer-top-center-container .footer-logo {
    order: 1 !important;
  }

  .footer-top-center-container .footer-slogan {
    order: 2 !important;
  }

  .footer-top-center-container .footer-social-media {
    order: 3 !important;
  }

  .go-to-top-button-container {
    display: none;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 32px 24px 0 24px;
  }

  .footer-section.studio {
    padding-left: 20px;
    padding-right: 20px;
  }

  .book-modal {
    padding-inline: 20px;
    height: 85vh;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 24px 16px 0 16px;
  }

  .navbar.active {
    padding: 0 0 0 0;
  }

  .navbar.active .navbar-main-container {
    border-radius: 0px;
    padding: 8px 16px;
    border: none;
    border-bottom: solid 1px var(--border-color);
  }

  .navbar-main-container {
    gap: 16px;
  }

  .locations-text {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--neutral-01);
  }

  .locations-dropdown-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 0;
    min-width: 320px;
    padding: 24px 16px;
  }

  .locations-dropdown-name {
    font-weight: var(--medium);
    font-size: 12px;
    color: var(--neutral-08);
  }

  .main-button.book-nav {
    font-size: 16px;
    letter-spacing: 0.5px;
    height: 44px;
    padding: 0px 16px;
    width: auto;
  }
}

@media (max-width: 500px) {
  .footer-section.studio {
    padding-left: 16px;
    padding-right: 16px;
  }

  .book-modal {
    padding: 48px 16px 0;
  }

  .book-modal-header p {
    text-align: center;
  }

  .book-modal-close {
    top: 16px;
    right: 16px;
  }

  .book-modal-thumb {
    width: 88px;
    height: 88px;
  }

  .book-modal-info h4 {
    font-size: 16px;
    line-height: 16px;
  }

  .book-modal-header h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .locations-dropdown-list {
    gap: 12px;
  }

  .locations-dropdown-menu.is-portal {
    padding: 16px;
  }
}
