﻿@font-face {
  font-family: "MB Corpo S Title";
  src: url("../fonts/MBCorpoSTitle-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MB Corpo A Title";
  src: url("../fonts/MBCorpoATitle-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MB Corpo A Text Cond";
  src: url("../fonts/MBCorpoATextCond-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-bg: #ffffff;
  --text-color: #000000;
  --button-border: rgba(0, 0, 0, 0.5);
  --button-bg: rgba(255, 255, 255, 0.6);
  --nav-gap: 80px;
  --font-title: "MB Corpo S Title";
  --font-display: "MB Corpo A Title";
  --font-body: "MB Corpo A Text Cond";
  --header-height: 170px;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-color);
  font-family: var(--font-title), sans-serif;
  padding-top: var(--header-height);
}

section,
footer {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.site-header {
  background: var(--header-bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav toggle";
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  padding: 20px clamp(24px, 5vw, 88px);
  border-bottom: 0.5px solid #0000000e;
}

.brand {
  display: inline-flex;
  align-items: center;
  grid-area: brand;
}

.brand img {
  display: block;
  width: 180px;
  height: 130px;
  object-fit: contain;
}

.site-nav {
  grid-area: nav;
  justify-self: end;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nav-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-title), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 60px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-color);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: rgba(0, 0, 0, 0.7);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 36px;
  border: 0.5px solid var(--button-border);
  border-radius: 999px;
  background-color: var(--button-bg);
  color: var(--text-color);
  text-decoration: none;
  font-family: var(--font-title), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 60px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.nav-contact {
  display: flex;
  align-items: center;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.65);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: opacity 200ms ease;
  grid-area: toggle;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 39px;
  height: 2px;
  background: #000000;
  transition: background-color 200ms ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 39px;
  height: 2px;
  background: #000000;
  transition: transform 200ms ease;
}

.menu-toggle-icon::before {
  transform: translateY(-10px);
}

.menu-toggle-icon::after {
  transform: translateY(10px);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  opacity: 0.7;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 6vw, 64px);
  background-image: url("../images/bg-pattern.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: clamp(120px, 14vw, 220px) auto;
}

.hero-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
  padding: 0 clamp(24px, 5vw, 88px);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-style: normal;
  font-size: 75px;
  line-height: 120px;
  letter-spacing: 0;
  color: var(--text-color);
}

.hero-media {
  flex: 1;
  min-height: clamp(260px, 42vh, 560px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-section {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}

.gallery-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
  padding: 0 clamp(24px, 5vw, 88px);
}

.gallery-text {
  max-width: 1260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-title {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-style: normal;
  font-size: 55px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-color);
}

.gallery-subtitle {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text-color);
}

.gallery-description {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text-color);
}

.gallery-carousel {
  width: 100%;
}

.gallery-carousel .carousel-cell {
  width: 82%;
  max-width: 1180px;
  margin-right: clamp(16px, 3vw, 40px);
  height: clamp(580px, 70vh, 840px);
}

.gallery-carousel .carousel-cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-carousel .flickity-viewport {
  overflow: hidden;
}

.gallery-carousel .flickity-page-dots {
  bottom: -32px;
}

.gallery-carousel .flickity-page-dots .dot {
  width: 7px;
  height: 7px;
  margin: 0 6px;
  background: #000000;
  opacity: 0.2;
  border-radius: 999px;
}

.gallery-carousel .flickity-page-dots .dot.is-selected {
  opacity: 1;
}

.location-section {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
  background-image: url("../images/bg-pattern.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: clamp(120px, 14vw, 220px) auto;
}

.location-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
  padding: 0 clamp(24px, 5vw, 88px);
}

.location-text {
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-title {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-style: normal;
  font-size: 59.6px;
  line-height: 80px;
  letter-spacing: 0;
  color: var(--text-color);
}

.location-description {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text-color);
}

.location-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.promenade-section {
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  background-image: url("../images/bg-pattern-2.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: clamp(640px, 22vw, 720px) auto;
}

.promenade-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "text image-top"
    "image-left image-right";
  gap: 12px;
  padding: 0 clamp(24px, 5vw, 88px);
  align-items: start;
}

.promenade-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

.promenade-title {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 400;
  font-style: normal;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-color);
  margin-bottom: 20px;
}

.promenade-description {
  margin: 0;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
  color: var(--text-color);
}

.promenade-image {
  width: 100%;
}

.promenade-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.promenade-image--top {
  grid-area: image-top;
  aspect-ratio: 4 / 3;
}

.promenade-image--left {
  grid-area: image-left;
  aspect-ratio: 4 / 3;
}

.promenade-image--right {
  grid-area: image-right;
  aspect-ratio: 4 / 3;
}

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: clamp(48px, 8vw, 96px) 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 clamp(24px, 5vw, 88px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(24px, 4vw, 96px);
  align-items: start;
  justify-items: end;
}

.footer-col {
  justify-self: end;
}

.footer-brand {
  justify-self: start;
  text-align: left;
}

.footer-brand img {
  width: 180px;
  height: auto;
  display: block;
  filter: invert(1) grayscale(1);
}

.footer-heading {
  margin: 0 0 8px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  line-height: 40px;
  letter-spacing: 0;
  color: #ffffff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  color: #9f9f9f;
}

.footer-list a {
  color: #9f9f9f;
  text-decoration: none;
}

.footer-divider {
  border-bottom: 1px solid #333333;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  color: #9f9f9f;
}

.footer-legal a {
  color: #9f9f9f;
  text-decoration: none;
}

.footer-separator {
  color: #9f9f9f;
}

.footer-copy {
  color: #9f9f9f;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.back-to-top img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none;
}

@media (max-width: 1550px) {
  .site-nav ul {
    gap: 40px;
  }
}

@media (max-width: 1280px) {
  :root {
    --nav-gap: 56px;
  }

  .header-inner {
    padding: 20px clamp(20px, 3vw, 64px);
  }

  .site-nav a,
  .contact-btn {
    font-size: 20px;
    line-height: 54px;
  }

  .contact-btn {
    height: 54px;
    padding: 0 28px;
  }

  .site-nav ul {
    gap: 25px;
  }
}

@media (max-width: 1120px) {
  :root {
    --nav-gap: 36px;
  }

  .header-inner {
    padding: 18px clamp(16px, 2.5vw, 48px);
  }

  .site-nav a,
  .contact-btn {
    font-size: 18px;
    line-height: 50px;
    letter-spacing: 0.04em;
  }

  .contact-btn {
    height: 50px;
    padding: 0 22px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 160px;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "toggle brand"
      "nav nav";
    grid-template-rows: var(--header-height) auto;
    row-gap: 0;
    min-height: var(--header-height);
    padding: 0 clamp(20px, 3vw, 48px);
  }

  .brand {
    grid-area: brand;
    justify-self: end;
  }

  .menu-toggle {
    grid-area: toggle;
    display: inline-flex;
  }

  .site-nav {
    grid-area: nav;
    width: 100%;
    justify-self: stretch;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 300ms ease, opacity 250ms ease, transform 250ms ease;
  }

  .site-nav.is-open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin-top: 12px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 50px;
    line-height: 1.2;
  }

  .promenade-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image-top"
      "image-left"
      "image-right";
    padding: 0 clamp(20px, 3vw, 48px);
  }

  .promenade-text {
    max-width: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: stretch;
  }

  .site-footer {
    padding: 40px 0 32px;
  }

  .footer-inner {
    padding: 0 20px;
    gap: 24px;
  }

  .footer-brand {
    text-align: center;
    justify-self: center;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .footer-col {
    display: grid;
    grid-template-columns: minmax(0, 120px) 1fr;
    column-gap: 24px;
    align-items: start;
    justify-self: stretch;
  }

  .footer-heading {
    margin: 0;
    line-height: 40px;
  }

  .footer-list {
    justify-self: end;
    text-align: left;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .footer-separator {
    display: none;
  }

  .footer-copy {
    margin-top: 100px;
  }

  .back-to-top {
    align-self: end;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 140px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .brand img {
    width: 150px;
    height: auto;
  }

  .site-nav a,
  .contact-btn {
    font-size: 18px;
    line-height: 48px;
    height: 48px;
  }

  .contact-btn {
    padding: 0 28px;
  }

  .hero {
    min-height: auto;
    background-image: none;
    padding: 24px 0 40px;
  }

  .hero-inner {
    padding: 0 20px;
    gap: 20px;
  }

  .hero-title {
    font-size: 35px;
    line-height: 1;
  }

  .hero-media {
    min-height: 240px;
  }

  .gallery-inner {
    padding: 0 20px;
    gap: 18px;
  }

  .gallery-title {
    font-size: 27px;
    line-height: 40px;
  }

  .gallery-subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .gallery-description {
    font-size: 16px;
    line-height: 24px;
  }

  .gallery-carousel .carousel-cell {
    width: 100%;
    margin-right: 0;
    height: 285px;
  }

  .gallery-carousel .flickity-page-dots {
    bottom: -24px;
  }

  .gallery-carousel .flickity-page-dots .dot {
    width: 6px;
    height: 6px;
    margin: 0 5px;
    border-radius: 999px;
  }

  .location-inner {
    padding: 0 20px;
  }

  .location-title {
    font-size: 26.5px;
    line-height: 40px;
  }

  .location-description {
    font-size: 16px;
    line-height: 24px;
  }

  .promenade-section {
    padding: 32px 0 56px;
    background-size: 120px auto;
  }

  .promenade-inner {
    padding: 0 20px;
    gap: 20px;
  }

  .promenade-title {
    font-size: 26px;
    line-height: 40px;
  }

  .promenade-description {
    font-size: 16px;
    line-height: 24px;
  }

  .site-footer {
    padding: 40px 0 32px;
  }

  .footer-inner {
    padding: 0 20px;
    gap: 24px;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
  }

  .footer-col {
    display: grid;
    grid-template-columns: minmax(0, 120px) 1fr;
    column-gap: 24px;
    align-items: start;
    justify-self: stretch;
  }

  .footer-heading {
    margin: 0;
    line-height: 40px;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .footer-separator {
    display: none;
  }

  .footer-copy {
    margin-top: 100px;
  }

  .back-to-top {
    align-self: end;
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav,
  .menu-toggle,
  .contact-btn,
  .site-nav a {
    transition: none;
  }
}