/* ==========================================================================
   POUSADA AREIA BRANCA - MAIN STYLESHEET
   High performance, zero-dependency, ultra-refined luxury beach aesthetic
   ========================================================================== */

:root {
  --sand: #f1eee4;
  --sand-2: #e6e0d1;
  --ink: #15323a;
  --blue: #0d6678;
  --blue-hover: #094b59;
  --deep: #0a3540;
  --deep-dark: #082d36;
  --sun: #e7bf72;
  --gold: #d4a359;
  --whatsapp: #25d366;
  --line: rgba(21, 50, 58, 0.19);
  --white-line: rgba(255, 255, 255, 0.32);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::selection {
  background: var(--blue);
  color: #ffffff;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  color: inherit;
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.shell {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
html.is-preloading, 
html.is-preloading body {
  overflow: hidden !important;
  height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  min-height: 100svh;
  color: #ffffff;
  background: var(--deep);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.is-hidden {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.preloader__image {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 57%;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.is-hidden .preloader__image {
  transform: scale(1.09);
}

.preloader__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 29, 36, 0.58) 0%,
    rgba(5, 29, 36, 0.16) 48%,
    rgba(5, 29, 36, 0.76) 100%
  );
}

.preloader__top {
  position: relative;
  z-index: 1;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.preloader__copy {
  position: relative;
  z-index: 1;
  height: calc(100svh - 280px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.preloader.is-hidden .preloader__copy {
  transform: translateY(-24px);
  opacity: 0;
}

.preloader__copy p {
  margin: 0 0 19px;
  color: var(--sun);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.preloader__copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.preloader__bottom {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 34px;
  left: 0;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: end;
  gap: 28px;
  transition: opacity 0.35s ease;
}

.preloader.is-hidden .preloader__bottom {
  opacity: 0;
}

.preloader__counter {
  display: flex;
  align-items: start;
  gap: 5px;
  font-family: var(--font-serif);
  font-variant-numeric: tabular-nums;
}

.preloader__counter strong {
  min-width: 102px;
  font-size: 66px;
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.07em;
}

.preloader__counter span {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1;
}

.preloader__progress {
  height: 2px;
  margin-bottom: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.preloader__progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s ease-out;
}

.preloader__bottom > p {
  margin: 0;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: relative;
  z-index: 100;
  height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--white-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand__sun {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.brand__sun::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  background: #f3cf82;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(243, 207, 130, 0.18);
}

.brand b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 42px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.nav__links > a {
  position: relative;
}

.nav__links > a:not(.nav__mobile-reserve)::after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: -8px;
  background: #ffffff;
  transition: right 0.3s ease;
}

.nav__links > a:hover::after {
  right: 0;
}

.nav__cta {
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s ease;
}

.nav__cta:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.nav__mobile-reserve, 
.menu-button {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  background: var(--deep);
}

.hero__image {
  position: absolute;
  inset: -10% -5%;
  background: url('./images/piscina-por-do-sol.jpeg') center 64% / cover no-repeat;
  transform: scale(1.03);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 27, 34, 0.6) 0%,
    rgba(6, 32, 38, 0.18) 42%,
    rgba(4, 27, 34, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4vh;
  padding-bottom: 5vh;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--sun);
}

.hero-title {
  margin: 0;
  max-width: 1080px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 130px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.hero-title__line {
  display: block;
  overflow: hidden;
  padding: 0 0.06em 0.08em 0;
}

.hero-title__line > span {
  display: block;
}

.hero-title em, 
.intro h2 em, 
.stays h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sun);
}

.hero__bottom {
  margin-top: 46px;
  display: flex;
  align-items: flex-end;
}

.hero__bottom p {
  max-width: 460px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   INTRO / EXPERIENCE SECTION
   ========================================================================== */
.section-tag {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.section-tag--light {
  color: var(--sun);
}

.intro {
  padding-block: 136px 170px;
}

.intro__heading h2 {
  margin: 32px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.intro__heading h2 em {
  color: var(--blue);
  font-style: italic;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.78fr 0.42fr;
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
  margin-top: 86px;
}

.organic-frame {
  height: 580px;
  margin: 0;
  overflow: hidden;
  border-radius: 44% 56% 48% 52% / 33% 38% 62% 67%;
  background: var(--sand-2);
  box-shadow: 0 20px 40px rgba(10, 53, 64, 0.08);
}

.organic-frame img {
  height: 120%;
  object-fit: cover;
}

.intro__copy {
  align-self: center;
}

.intro__copy p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(21, 50, 58, 0.75);
}

.intro__copy .lead {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
}

.text-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 13px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(5px, 5px);
}

.intro__note {
  align-self: flex-end;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.intro__note span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(21, 50, 58, 0.6);
}

.intro__note strong {
  display: block;
  margin: 10px 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  color: var(--blue);
}

.intro__note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(21, 50, 58, 0.68);
}

/* ==========================================================================
   STAYS / ACCOMMODATIONS SECTION
   ========================================================================== */
.stays {
  background: var(--deep);
  color: #ffffff;
  padding-block: 135px 150px;
}

.stays__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.stays__head h2 {
  margin: 32px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.stays__head > p {
  width: 360px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.stays-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 340px 340px;
  gap: 24px;
  width: 100%;
}

.stay-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  border-radius: 4px;
  isolation: isolate;
  background-color: var(--deep-dark);
  display: block;
}

/* Card 1: Featured (Frente Mar) */
.stay-card--featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Card 2: Lateral Mar */
.stay-card--lateral {
  grid-column: 2;
  grid-row: 1;
}

/* Card 3: Vista Avenida */
.stay-card--avenida {
  grid-column: 2;
  grid-row: 2;
}

.stay-card > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.stay-card:hover > img {
  transform: scale(1.06);
}

.stay-card__shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 24, 30, 0.12) 0%,
    rgba(3, 24, 30, 0.45) 50%,
    rgba(3, 24, 30, 0.88) 100%
  );
  pointer-events: none;
}

.stay-card__content {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 90px;
  bottom: 28px;
  pointer-events: none;
}

.stay-card__content p {
  margin: 0 0 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--sun);
}

.stay-card__content h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.05;
}

.stay-card:not(.stay-card--featured) .stay-card__content h3 {
  font-size: clamp(26px, 2.6vw, 38px);
}

.stay-card__content > span {
  display: block;
  max-width: 440px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  transition: opacity 0.3s ease;
}

.stay-card > a {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #ffffff;
  background: rgba(10, 53, 64, 0.4);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.stay-card > a:hover {
  background: #ffffff;
  color: var(--ink);
  transform: rotate(45deg) scale(1.08);
}

/* ==========================================================================
   SUNSET SECTION
   ========================================================================== */
.sunset {
  position: relative;
  height: 95svh;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--deep);
}

.sunset > img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.sunset__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 35, 42, 0.22) 0%,
    rgba(7, 35, 42, 0.58) 100%
  );
}

.sunset__eyebrow {
  position: absolute;
  z-index: 1;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--sun);
}

.sun-word {
  position: absolute;
  z-index: 0;
  white-space: nowrap;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(110px, 20vw, 320px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.14);
  left: 6%;
  pointer-events: none;
}

.sunset blockquote {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 48px));
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ==========================================================================
   DETAILS / MOMENTS GALLERY
   ========================================================================== */
.details {
  padding-block: 145px 180px;
}

.details__head {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: flex-end;
}

.details__head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 5.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.details__gallery {
  display: grid;
  grid-template-columns: 1.06fr 0.82fr 0.7fr;
  gap: 28px;
  align-items: flex-start;
  margin-top: 96px;
}

.gallery-card {
  margin: 0;
}

.gallery-card--lower {
  margin-top: 140px;
}

.gallery-card__media {
  height: 380px;
  overflow: hidden;
  background: var(--sand-2);
  border-radius: 4px;
}

.gallery-card--tall .gallery-card__media {
  height: 580px;
  border-radius: 46% 46% 4px 4px / 28% 28% 4px 4px;
}

.gallery-card__media img {
  height: 120%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.gallery-card figcaption span {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
}

.gallery-card figcaption p {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location {
  display: grid;
  grid-template-columns: 1.65fr 0.8fr;
  min-height: 760px;
  background: var(--deep);
  color: #ffffff;
}

.location__image-wrap {
  position: relative;
  overflow: hidden;
}

.location__image-wrap img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
}

.location__panel {
  padding: clamp(70px, 8vw, 130px) clamp(35px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--deep-dark);
}

.location__panel h2 {
  margin: 32px 0 48px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.location__address {
  padding-block: 22px;
  border-block: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.location__panel > p:not(.section-tag):not(.location__address) {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.button-light, 
.button-dark {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button-light:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   BOOKING / CONVERSION CTA
   ========================================================================== */
.booking {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: flex-end;
  gap: 80px;
  padding-block: 150px;
}

.booking h2 {
  margin: 32px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 6.2vw, 94px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.booking__aside p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(21, 50, 58, 0.75);
}

.button-dark {
  color: #ffffff;
  background: var(--deep);
  border-color: var(--deep);
}

.button-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 53, 64, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--deep-dark);
  color: #ffffff;
}

.footer__top {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand--footer .brand__sun {
  border-color: rgba(255, 255, 255, 0.48);
}

.footer__top > p {
  justify-self: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-serif);
  font-size: 18px;
}

.footer__links {
  justify-self: end;
  display: flex;
  gap: 28px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.footer__links a {
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.footer__links a:hover {
  border-color: #ffffff;
}

.footer__bottom {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer__bottom a {
  color: #ffffff;
  transition: opacity 0.25s ease;
}

.footer__bottom a:hover {
  opacity: 0.75;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--whatsapp);
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
  background: #22c35e;
}

.whatsapp-float svg {
  flex-shrink: 0;
}

.whatsapp-float__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE DESIGN / BREAKPOINTS
   ========================================================================== */
@media (max-width: 980px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
  }
  .intro__note {
    grid-column: 2;
  }
  .stays__head {
    align-items: flex-start;
  }
  .details__gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-card--lower {
    margin: 30px 0 0 50%;
  }
  .location {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .booking {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .shell {
    width: min(100% - 32px, 1320px);
  }

  .preloader__top {
    height: 76px;
    font-size: 8px;
  }
  .preloader__copy {
    height: calc(100svh - 235px);
    justify-content: flex-end;
    padding-bottom: 56px;
  }
  .preloader__copy p {
    margin-bottom: 14px;
    font-size: 9px;
  }
  .preloader__copy h2 {
    font-size: clamp(48px, 16vw, 84px);
    line-height: 0.9;
  }
  .preloader__bottom {
    bottom: 27px;
    grid-template-columns: 78px 1fr;
    gap: 18px;
  }
  .preloader__counter strong {
    min-width: 60px;
    font-size: 44px;
  }
  .preloader__counter span {
    font-size: 11px;
  }
  .preloader__bottom > p {
    display: none;
  }

  .nav {
    height: 86px;
    grid-template-columns: 1fr auto;
  }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--deep);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-family: var(--font-serif);
    font-size: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav__links > a:not(.nav__mobile-reserve)::after {
    display: none;
  }
  .nav__mobile-reserve {
    display: block;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 14px 24px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
  }
  .nav__cta {
    display: none;
  }
  .menu-button {
    display: grid;
    justify-self: end;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 14px 11px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: transparent;
    z-index: 101;
  }
  .menu-button span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #ffffff;
    transition: transform 0.3s ease;
  }
  .menu-button.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-button.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero__content {
    min-height: calc(100svh - 86px);
    justify-content: flex-end;
    padding: 0 0 52px;
  }
  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }
  .hero-title {
    font-size: clamp(44px, 14vw, 68px);
    line-height: 0.92;
  }
  .hero__bottom {
    margin-top: 28px;
  }
  .hero__bottom p {
    font-size: 13px;
  }

  .intro {
    padding-block: 90px 105px;
  }
  .intro__heading h2 {
    margin-top: 25px;
    font-size: 44px;
  }
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 50px;
  }
  .organic-frame {
    height: 400px;
    border-radius: 45% 55% 4px 4px / 22% 24% 4px 4px;
  }
  .intro__copy .lead {
    font-size: 22px;
  }
  .intro__note {
    grid-column: auto;
    width: 80%;
    justify-self: flex-start;
  }

  .stays {
    padding-block: 90px;
  }
  .stays__head {
    display: block;
  }
  .stays__head h2 {
    margin-top: 24px;
    font-size: 42px;
  }
  .stays__head > p {
    width: auto;
    margin-top: 24px;
  }
  .stays-grid {
    display: block;
    margin-top: 45px;
  }
  .stay-card {
    min-height: 460px;
    margin-top: 18px;
  }
  .stay-card:not(.stay-card--featured) {
    min-height: 380px;
  }

  .sunset {
    height: 82svh;
    min-height: 560px;
  }
  .sunset blockquote {
    font-size: 38px;
  }
  .sunset__eyebrow {
    width: 100%;
    text-align: center;
  }

  .details {
    padding-block: 95px 115px;
  }
  .details__head {
    display: block;
  }
  .details__head h2 {
    margin-top: 24px;
    font-size: 44px;
  }
  .details__gallery {
    display: block;
    margin-top: 50px;
  }
  .gallery-card, 
  .gallery-card--lower {
    margin: 45px 0 0;
  }
  .gallery-card:first-child {
    margin-top: 0;
  }
  .gallery-card--tall .gallery-card__media, 
  .gallery-card__media {
    height: 420px;
  }
  .gallery-card--tall .gallery-card__media {
    border-radius: 46% 46% 4px 4px / 20% 20% 4px 4px;
  }

  .location {
    grid-template-columns: 1fr;
  }
  .location__image-wrap {
    height: 60svh;
    min-height: 420px;
  }
  .location__panel {
    padding: 70px 28px 80px;
  }
  .location__panel h2 {
    margin: 24px 0 36px;
    font-size: 48px;
  }

  .booking {
    display: block;
    padding-block: 90px;
  }
  .booking h2 {
    margin-top: 24px;
    font-size: 46px;
  }
  .booking__aside {
    margin-top: 36px;
  }
  .button-light, 
  .button-dark {
    gap: 24px;
  }

  .footer__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-block: 60px;
  }
  .footer__top > p, 
  .footer__links {
    justify-self: auto;
  }
  .footer__bottom {
    height: auto;
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding-block: 24px;
  }
  .footer__bottom span:nth-child(2) {
    display: none;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    padding: 10px 16px;
  }
  .whatsapp-float__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
