@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* Fonts */
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-brand: var(--font-body);

  /* Colors */
  --color-bg: #f8f3ea;
  --color-surface: #ffffff;
  --color-surface-soft: #efe5d6;
  --color-text: #21342f;
  --color-muted: #6f7d75;
  --color-primary: #214c43;
  --color-primary-dark: #15352f;
  --color-brand-green: #009d86;
  --color-accent: #b88a4a;
  --color-border: rgba(33, 52, 47, 0.12);
  --color-border-strong: rgba(33, 52, 47, 0.22);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows (soft, never heavy) */
  --shadow-soft: 0 10px 30px rgba(33, 52, 47, 0.06);
  --shadow-card: 0 18px 40px rgba(33, 52, 47, 0.07);

  /* Motion */
  --transition: 200ms ease;

  /* Container */
  --container-max: 1180px;
  --container-pad: 24px;
  --container: min(var(--container-max), calc(100% - var(--container-pad) * 2));

  /* Vertical rhythm */
  --space-section: clamp(76px, 9vw, 128px);
  --space-section-sm: 64px;
  --section-pad: var(--space-section);

  /* Cards (shared base for all card surfaces) */
  --card-radius: var(--radius-lg);
  --card-border: 1px solid var(--color-border);
  --card-shadow: var(--shadow-card);
  --card-pad: clamp(22px, 3vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* =========================================================
   Typography system
   ========================================================= */
.section-eyebrow,
.eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.section-description {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 620px;
}

.card-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-header {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-header--center {
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-header--center .section-description {
  margin-inline: auto;
}

/* Inside side-by-side grids the header is a column, not a block above content */
.split-grid .section-header,
.feature-grid .section-header,
.form-grid .section-header {
  margin-bottom: 0;
}

/* =========================================================
   Layout
   ========================================================= */
.section {
  padding: var(--section-pad) 0;
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.section-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}

.split-grid,
.feature-grid,
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* Subtle background rhythm */
.split-section {
  background: var(--color-surface-soft);
}

#sobre {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(21, 53, 47, 0.58), rgba(21, 53, 47, 0.58)),
    url("../img/sobre-gruta-bg.png") center / cover no-repeat;
}

#sobre .split-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

#sobre .section-header {
  justify-items: center;
  max-width: 620px;
}

#sobre .section-eyebrow {
  font-size: 0.7rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

#sobre .section-title {
  max-width: 560px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

#sobre .rich-text {
  max-width: 760px;
  justify-items: center;
  gap: 14px;
}

#sobre .rich-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.about-section .about-reveal {
  opacity: 0;
  transform: translateY(-36px);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 85%);
  transition:
    opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 1000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, clip-path;
}

.about-section.is-visible .about-reveal {
  opacity: 1;
  transform: translateY(0);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
}

.about-section.is-visible .about-reveal.delay-1 {
  transition-delay: 80ms;
}

.about-section.is-visible .about-reveal.delay-2 {
  transition-delay: 180ms;
}

.about-section.is-visible .about-reveal.delay-3 {
  transition-delay: 280ms;
}

.about-section.is-visible .about-reveal.delay-4 {
  transition-delay: 380ms;
}

.restaurant {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  background: var(--color-bg);
  overflow-x: clip;
}

.suites {
  padding: clamp(42px, 5vw, 68px) 0;
  background: var(--color-surface-soft);
  overflow-x: clip;
}

.suites.is-reveal-ready:not(.is-revealed) .section-header,
.suites.is-reveal-ready:not(.is-revealed) .suite-table,
.suites.is-reveal-ready:not(.is-revealed) .suite-detail-panel {
  opacity: 0;
  transform: translateX(120px);
}

.suites.is-revealing .section-header,
.suites.is-revealing .suite-table,
.suites.is-revealing .suite-detail-panel {
  animation: suiteSectionRevealRight 1800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suites.is-revealing .suite-table {
  animation-delay: 180ms;
}

.suites.is-revealing .suite-detail-panel {
  animation-delay: 320ms;
}

.suites .section-header {
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.suites .section-eyebrow {
  font-size: 0.68rem;
}

.suites .section-title {
  max-width: none;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  white-space: nowrap;
}

@keyframes suiteSectionRevealRight {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.suites .section-description {
  max-width: none;
  font-size: 0.84rem;
  line-height: 1.55;
  white-space: nowrap;
}

.structure {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0;
  background: var(--color-bg);
}

.structure .section-header {
  gap: 12px;
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.structure .section-eyebrow {
  font-size: 0.68rem;
}

.structure .section-title {
  max-width: 560px;
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.structure .section-description {
  max-width: 560px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.gallery {
  background: var(--color-surface-soft);
}

.gallery .section-title {
  font-size: clamp(1.7rem, 3vw, 2.85rem);
}

.location {
  background: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.84fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.location-media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-card);
}

.location-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1671 / 941;
  object-fit: cover;
}

.location-media .location-pin-marker {
  position: absolute;
  z-index: 2;
  left: 32.5%;
  top: 77%;
  width: clamp(42px, 8vw, 72px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.location-copy {
  display: grid;
  justify-items: start;
  text-align: left;
}

.location .section-title {
  max-width: 520px;
  font-size: clamp(1.7rem, 3vw, 2.85rem);
}

.location .rich-text {
  justify-items: start;
  max-width: 500px;
}

.location .rich-text p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.location-gradient-text {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--color-text),
    var(--color-primary),
    var(--color-brand-green),
    var(--color-accent),
    var(--color-text)
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: locationGradientFlow 5s linear infinite;
}

.location-gradient-text:hover {
  animation-duration: 2.5s;
}

.location-gradient-text:active {
  animation: locationGradientRush 600ms linear;
}

.location .rich-text .btn {
  justify-self: start;
}

@keyframes locationGradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 220% center;
  }
}

@keyframes locationGradientRush {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 440% center;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

/* Brilho deslizante (shine) no hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.6;
  pointer-events: none;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:hover::before {
  animation: shine 1.5s ease-out infinite;
}

@keyframes shine {
  0% {
    left: -100px;
  }
  60% {
    left: 100%;
  }
  to {
    left: 100%;
  }
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-border-strong);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 1.4vw, 16px);
  padding: 6px clamp(18px, 4vw, 42px);
  color: #fff;
  background: transparent;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 53, 47, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(21, 53, 47, 0.18);
}

.site-header.is-scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(72px, 6vw, 92px);
}

.brand-logo {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 1.6vw, 22px);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.main-nav a {
  position: relative;
  opacity: 0.9;
  padding: 2px 0;
  transition: opacity 180ms ease;
}

.main-nav a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.header-cta:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* Header content sits above the decorative wave */
.site-header > .brand,
.site-header > .menu-toggle,
.site-header > .main-nav,
.site-header > .header-cta {
  position: relative;
  z-index: 1;
}

/* Wave animation running along the base of the header, from the logo to the end */
.header-wave {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: calc(clamp(18px, 4vw, 42px) + clamp(72px, 6vw, 92px) + clamp(10px, 1.4vw, 16px));
  width: 0;
  height: 22px;
  overflow: hidden;
  pointer-events: none;
}

.header-wave .wave-divider__line {
  bottom: 7px;
  height: 7px;
  background-size: 26px 7px;
}

.header-wave .wave-divider__boat {
  left: var(--header-boat-left, 0);
  width: 19px;
  bottom: 5px;
  animation: waveDividerBob 2.6s ease-in-out infinite;
}

.header-wave .wave-divider__jetski {
  display: none;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-mobile-image {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 23, 0.72) 0%, rgba(10, 24, 23, 0.8) 44%, rgba(10, 24, 23, 0.97) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 clamp(230px, 31vh, 340px);
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.hero h1 {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.hero .hero-title-line,
.hero .hero-blur-reveal {
  opacity: 0;
  filter: blur(28px);
  transform: scale(1.18) translateY(18px);
  animation: heroBlurFadeIn 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, filter, transform;
}

.hero .hero-title-line {
  display: block;
}

.hero .delay-1 {
  animation-delay: 100ms;
}

.hero .delay-2 {
  animation-delay: 420ms;
}

.hero .delay-3 {
  animation-delay: 760ms;
}

.hero .delay-4 {
  animation-delay: 1100ms;
}

.hero .hero-subtitle {
  animation-duration: 900ms;
  font-weight: 600;
}

.hero .hero-actions {
  animation-duration: 700ms;
}

@keyframes heroBlurFadeIn {
  0% {
    opacity: 0;
    filter: blur(28px);
    transform: scale(1.18) translateY(18px);
  }

  55% {
    opacity: 0.7;
    filter: blur(8px);
    transform: scale(1.06) translateY(8px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

.hero p:not(.eyebrow) {
  max-width: 420px;
  margin: 14px auto 0;
  color: #ffffff;
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 0.82rem;
}

.hero .btn-primary,
.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

/* =========================================================
   Highlights (image cards)
   ========================================================= */
.highlights {
  background: var(--color-bg);
}

.highlights .section-header {
  margin-bottom: 28px;
}

.highlights .section-title {
  font-size: clamp(1.75rem, 3vw, 2.9rem);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlights article {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.highlights article::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 23, 0.16) 0%, rgba(10, 24, 23, 0.34) 45%, rgba(10, 24, 23, 0.82) 100%);
  content: "";
  transition: background 220ms ease;
}

.highlights article:hover,
.highlights article:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(21, 53, 47, 0.16);
}

.highlights article:hover::after,
.highlights article:focus-within::after {
  background:
    linear-gradient(180deg, rgba(10, 24, 23, 0.24) 0%, rgba(10, 24, 23, 0.48) 45%, rgba(10, 24, 23, 0.9) 100%);
}

.highlights img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 260ms ease;
}

.highlights article:hover img,
.highlights article:focus-within img {
  transform: scale(1.035);
}

.highlights article div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}

.highlights h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlights p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* =========================================================
   Rich text columns (Sobre / Como chegar)
   ========================================================= */
.rich-text {
  display: grid;
  gap: 18px;
}

.rich-text p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.rich-text .btn {
  margin-top: 8px;
  justify-self: start;
}

/* =========================================================
   Restaurant
   ========================================================= */
.feature-copy {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 14px;
  align-self: stretch;
  align-content: center;
  min-height: clamp(330px, 32vw, 440px);
}

.feature-copy .section-header {
  margin-bottom: 0;
  gap: 10px;
}

.restaurant .section-eyebrow {
  font-size: 0.68rem;
}

.restaurant .section-title {
  font-size: clamp(1.7rem, 3vw, 2.85rem);
}

.feature-copy > p {
  max-width: 480px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.check-list {
  align-self: end;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--color-accent);
  content: "\2713";
  font-weight: 700;
}

.feature-copy .btn {
  justify-self: start;
  min-height: 34px;
  margin-top: 0;
  padding: 7px 14px;
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-size: 0.76rem;
}

.feature-copy .btn:hover {
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
  background: rgba(33, 76, 67, 0.06);
}

.restaurant-section .reveal-from-depth {
  --restaurant-depth-offset: translateY(0);
  opacity: 1;
  transform: translateY(0) scale(1) var(--restaurant-depth-offset);
  filter: blur(0);
  transition:
    opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.restaurant-section.is-reveal-ready:not(.is-visible) .reveal-from-depth {
  opacity: 0;
  transform: translateY(48px) scale(0.94) var(--restaurant-depth-offset);
  filter: blur(8px);
}

.restaurant-section.is-visible .delay-1 {
  transition-delay: 80ms;
}

.restaurant-section.is-visible .delay-2 {
  transition-delay: 160ms;
}

.restaurant-section.is-visible .delay-3 {
  transition-delay: 240ms;
}

.restaurant-section.is-visible .delay-4 {
  transition-delay: 320ms;
}

.restaurant-section.is-visible .delay-5 {
  transition-delay: 400ms;
}

.restaurant-section.is-visible .delay-6 {
  transition-delay: 480ms;
}

.restaurant-gallery {
  width: min(100%, 460px);
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.restaurant-gallery__item {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1400ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease;
}

.restaurant-gallery__item--one {
  object-position: 35% 50%;
}

.restaurant-gallery__item--two {
  --restaurant-depth-offset: translateY(-22px);
  object-position: 42% 50%;
  transform: translateY(-22px);
}

.restaurant-gallery__item--three {
  object-position: 34% 50%;
}

.restaurant-gallery__item--four {
  --restaurant-depth-offset: translateY(-22px);
  object-position: 30% 50%;
  transform: translateY(-22px);
}

.restaurant-section.is-visible .restaurant-gallery__item:hover {
  transform: scale(1.03) var(--restaurant-depth-offset);
}

/* =========================================================
   Suites
   ========================================================= */
.suite-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(520px, 680px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  justify-content: space-between;
}

.suite-table {
  width: 100%;
  max-width: 360px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.suite-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  background: rgba(248, 243, 234, 0.68);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.suite-list {
  display: grid;
}

.suite-list button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.suite-list button:last-child {
  border-bottom: 0;
}

.suite-list button::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: transparent;
  content: "";
  transition: background 180ms ease;
}

.suite-row__name {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.suite-row__profile {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.suite-list button:hover,
.suite-list button:focus-visible {
  background: rgba(248, 243, 234, 0.72);
  outline: none;
}

.suite-list button.is-active,
.suite-list button[aria-selected="true"] {
  color: var(--color-primary-dark);
  background: rgba(239, 229, 214, 0.86);
}

.suite-list button.is-active::before,
.suite-list button[aria-selected="true"]::before {
  background: var(--color-accent);
}

.suite-list button.is-active .suite-row__profile,
.suite-list button[aria-selected="true"] .suite-row__profile {
  color: var(--color-primary);
}

.suite-detail {
  display: grid;
  grid-template-columns: minmax(210px, 0.92fr) minmax(0, 1.08fr);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  will-change: opacity, transform;
}

.suite-detail-panel.is-sliding-in {
  animation: suitePanelRevealRight 1800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suite-detail-panel.is-sliding-in img {
  animation: suiteImageReveal 2000ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.suite-carousel {
  position: relative;
  min-height: 260px;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface-soft);
}

.suite-detail img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: auto;
  object-fit: cover;
  background: var(--color-surface-soft);
}

.suite-carousel__control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(10, 24, 23, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.suite-carousel__control:hover,
.suite-carousel__control:focus-visible {
  color: rgba(255, 255, 255, 0.82);
  outline: none;
  text-shadow: 0 3px 16px rgba(10, 24, 23, 0.68);
  transform: translateY(-50%) scale(1.08);
}

.suite-carousel__control--prev {
  left: 8px;
}

.suite-carousel__control--next {
  right: 8px;
}

.suite-carousel__control[hidden] {
  display: none;
}

@keyframes suitePanelRevealRight {
  0% {
    opacity: 0;
    transform: translateX(120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes suiteImageReveal {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.suite-detail__body {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 22px);
}

.suite-detail .card-title {
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.suite-detail p {
  max-width: 680px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.suite-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.suite-attributes li {
  padding: 6px 8px;
  border: 1px solid rgba(33, 52, 47, 0.1);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: rgba(248, 243, 234, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

.suite-detail .btn {
  justify-self: start;
  margin-top: 2px;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.72rem;
}

/* =========================================================
   Structure (4 cards)
   ========================================================= */
.structure-carousel-shell {
  position: relative;
  margin-top: clamp(26px, 3.5vw, 42px);
}

.structure-scroll-control {
  position: absolute;
  z-index: 4;
  top: 6px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--color-brand-green);
  background: transparent;
  box-shadow: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition), opacity var(--transition), transform var(--transition);
}

.structure-scroll-control:hover,
.structure-scroll-control:focus-visible {
  color: var(--color-primary);
  background: transparent;
  outline: none;
  transform: scale(1.08);
}

.structure-scroll-control:disabled {
  opacity: 0.34;
  pointer-events: none;
}

.structure-scroll-control--prev {
  left: -48px;
}

.structure-scroll-control--next {
  right: -48px;
}

.structure-grid {
  display: flex;
  gap: clamp(40px, 5vw, 68px);
  align-items: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px clamp(44px, 5vw, 64px) 12px;
  margin-inline: calc(clamp(44px, 5vw, 64px) * -1);
  scroll-padding-inline: clamp(44px, 5vw, 64px);
  scrollbar-width: none;
}

.structure-grid::-webkit-scrollbar {
  display: none;
}

.structure-item {
  display: grid;
  gap: 4px;
  flex: 0 0 clamp(240px, 24vw, 300px);
  min-width: 0;
  scroll-snap-align: start;
}

.structure-card {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 112px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.structure-card .card-title {
  font-size: clamp(1rem, 1.2vw, 1.24rem);
  line-height: 1.12;
}

.structure-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.experience-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  box-shadow: var(--shadow-soft);
}

.experience-carousel__track {
  display: flex;
  width: 400%;
  animation: experienceCarousel 18s ease-in-out infinite;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-carousel.is-controlled .experience-carousel__track {
  animation: none;
}

.structure-item:nth-child(2) .experience-carousel__track {
  animation-delay: -4s;
}

.structure-item:nth-child(3) .experience-carousel__track {
  animation-delay: -8s;
}

.structure-item:nth-child(4) .experience-carousel__track {
  animation-delay: -12s;
}

.experience-carousel:hover .experience-carousel__track {
  animation-play-state: paused;
}

.experience-carousel img {
  width: 25%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.experience-carousel__control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 10px rgba(10, 24, 23, 0.42);
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.experience-carousel__control:hover,
.experience-carousel__control:focus-visible {
  color: rgba(255, 255, 255, 0.86);
  outline: none;
  text-shadow: 0 3px 14px rgba(10, 24, 23, 0.58);
  transform: translateY(-50%) scale(1.04);
}

.experience-carousel__control--prev {
  left: 10px;
}

.experience-carousel__control--next {
  right: 10px;
}

@keyframes experienceCarousel {
  0%,
  18% {
    transform: translateX(0);
  }

  25%,
  43% {
    transform: translateX(-25%);
  }

  50%,
  68% {
    transform: translateX(-50%);
  }

  75%,
  93% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(0);
  }
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery-carousel {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.gallery-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.gallery-carousel__track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-carousel__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery-carousel__control,
.gallery-carousel__next {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(21, 53, 47, 0.62);
  box-shadow: 0 10px 26px rgba(21, 53, 47, 0.28);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-carousel__control--prev {
  left: clamp(10px, 2vw, 18px);
}

.gallery-carousel__next {
  right: clamp(10px, 2vw, 18px);
}

.gallery-carousel__control:hover,
.gallery-carousel__control:focus-visible,
.gallery-carousel__next:hover,
.gallery-carousel__next:focus-visible {
  outline: none;
  background: rgba(21, 53, 47, 0.85);
  transform: translateY(-50%) scale(1.06);
}

.gallery-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}

.gallery-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 76, 67, 0.28);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-carousel__dots button.is-active {
  background: var(--color-primary, #214c43);
  transform: scale(1.25);
}

/* =========================================================
   Packages
   ========================================================= */
.packages-section {
  background: var(--color-surface-soft);
}

.packages-section .section-header {
  gap: 12px;
  max-width: 680px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.packages-section .section-eyebrow {
  font-size: 0.68rem;
}

.packages-section .section-title {
  max-width: 600px;
  font-size: clamp(1.7rem, 3vw, 2.85rem);
}

.packages-section .section-description {
  max-width: 560px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.packages-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

.package-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.package-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.package-card__content {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(16px, 2.4vw, 22px);
}

.package-card .card-title {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.package-card__content p {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.48;
}

.package-card__items {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-size: 0.76rem;
  line-height: 1.36;
  list-style: none;
}

.package-card__items li {
  position: relative;
  padding-left: 15px;
  white-space: nowrap;
}

.package-card__items li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
  content: "";
  transform: translateY(-50%);
}

.package-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2px;
}

.package-card__price-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--color-primary);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.package-card__price-trigger::after {
  position: absolute;
  right: 20px;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.58;
}

.package-card__price-trigger:hover,
.package-card__price-trigger:focus-visible {
  color: var(--color-primary-dark);
  outline: none;
  transform: translateY(-1px);
}

.package-card__price-trigger:hover::after,
.package-card__price-trigger:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.package-card__price-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  transition: transform var(--transition), color var(--transition);
}

.package-card__price-icon::before {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(45deg);
}

.package-card__price-trigger[aria-expanded="true"] .package-card__price-icon {
  transform: rotate(180deg);
  color: var(--color-primary-dark);
}

.package-card__price-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.package-card__footer .btn {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 0.7rem;
}

.package-prices {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  padding: 14px clamp(16px, 3vw, 28px);
  border-top: 1px solid rgba(33, 52, 47, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: rgba(248, 243, 234, 0.72);
  text-align: center;
}

.package-prices[hidden] {
  display: none;
}

.package-prices__title {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.package-prices__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-prices__item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  min-width: 150px;
  color: var(--color-text);
  font-size: 0.72rem;
  line-height: 1.3;
}

.package-prices__item strong {
  font-weight: 700;
}

.package-prices__item span {
  color: var(--color-primary);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.package-prices__note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.package-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.packages-section.is-visible .package-reveal {
  opacity: 1;
  transform: translateY(0);
}

.packages-section.is-visible .package-reveal--delay {
  transition-delay: 140ms;
}

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  padding: var(--section-pad) 0;
  text-align: center;
  color: #fff;
  background: var(--color-primary-dark);
}

.final-cta .section-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.final-cta .section-eyebrow,
.final-cta .eyebrow {
  color: var(--color-accent);
}

.final-cta h2 {
  margin: 0;
  max-width: 720px;
  color: #fff;
}

.final-cta p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn__icon rect,
.btn__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__icon--whatsapp path:last-child {
  fill: currentColor;
  stroke: none;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.final-cta .btn-primary:hover {
  background: var(--color-surface-soft);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: clamp(40px, 5vw, 56px) 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--color-primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  width: min(210px, 100%);
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.site-footer span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

/* =========================================================
   WhatsApp float
   ========================================================= */
.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  display: grid;
  place-items: center;
  line-height: 0;
  filter: drop-shadow(0 10px 20px rgba(21, 53, 47, 0.3));
  transition: scale 180ms ease, filter 180ms ease;
  animation: whatsapp-bounce 2.4s ease-in-out infinite;
}

.whatsapp-float span {
  display: grid;
  place-items: center;
  line-height: 0;
}

.whatsapp-float__icon {
  width: 46px;
  height: 46px;
}

.whatsapp-float:hover {
  scale: 1.06;
  filter: drop-shadow(0 14px 26px rgba(21, 53, 47, 0.36));
  animation-play-state: paused;
}

@keyframes whatsapp-bounce {
  0%, 70%, 100% {
    transform: translateY(0);
  }
  82% {
    transform: translateY(-9px);
  }
  91% {
    transform: translateY(-4px);
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1440px) {
  :root {
    --container-max: 1200px;
    --container-pad: 48px;
  }
}

@media (max-width: 1024px) {
  .structure-grid {
    gap: 36px;
  }

  .structure-item {
    flex-basis: clamp(240px, 40vw, 300px);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 8px 16px;
  }

  .header-wave {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-header.is-open .main-nav a {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .site-header.is-open .header-cta {
    width: 100%;
    margin-top: 8px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .location-copy,
  .location .rich-text {
    justify-items: start;
    text-align: left;
  }

  .location .rich-text .btn {
    justify-self: start;
  }

  .feature-copy {
    grid-template-rows: none;
    min-height: auto;
  }

  .feature-copy > p {
    align-self: start;
  }

  .restaurant-gallery {
    justify-self: center;
    width: min(100%, 520px);
  }

  .package-card {
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  }

  .package-card img {
    height: 180px;
  }

  .suite-explorer {
    grid-template-columns: 1fr;
  }

  .suite-table,
  .suite-detail {
    max-width: 100%;
  }

  .suite-detail {
    grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    width: min(100% - 42px, 720px);
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .hero .hero-title-line,
  .hero .hero-blur-reveal {
    filter: blur(16px);
    transform: scale(1.08) translateY(12px);
  }

  .about-section .about-reveal {
    transform: translateY(-22px);
  }

  .restaurant-section.is-reveal-ready:not(.is-visible) .reveal-from-depth {
    transform: translateY(28px) scale(0.97) var(--restaurant-depth-offset);
    filter: blur(4px);
  }

  .restaurant-section.is-visible .reveal-from-depth {
    transform: translateY(0) scale(1) var(--restaurant-depth-offset);
    filter: blur(0);
  }

  .suite-detail-panel.is-sliding-in {
    animation-name: suitePanelRevealUp;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-card__items li {
    white-space: normal;
  }

  .package-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 16px;
  }

  body {
    font-size: 0.98rem;
  }

  .section {
    padding: var(--space-section-sm) 0;
  }

  .restaurant {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .suites .section-title,
  .suites .section-description {
    white-space: normal;
  }

  .hero {
    align-items: center;
  }

  .hero-media {
    display: none;
  }

  .hero-mobile-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% center;
  }

  .hero-content {
    width: min(100% - 34px, 520px);
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-7svh);
  }

  .hero h1 {
    max-width: 340px;
    white-space: normal;
    font-size: clamp(2.3rem, 9vw, 2.9rem);
  }

  .hero p:not(.eyebrow) {
    max-width: 280px;
    margin-top: 14px;
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    width: min(100%, 280px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .highlights-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .package-card__content {
    padding: 16px;
  }

  .package-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .package-card__footer .btn {
    width: 100%;
  }

  .structure-grid {
    gap: 28px;
    padding-inline: 18px;
    margin-inline: -18px;
    scroll-padding-inline: 18px;
  }

  .structure-scroll-control {
    width: 40px;
    height: 40px;
    font-size: 1.85rem;
  }

  .structure-scroll-control--prev {
    left: -14px;
  }

  .structure-scroll-control--next {
    right: -14px;
  }

  .structure-item {
    flex-basis: min(72vw, 280px);
  }

  .suite-table__head {
    display: none;
  }

  .suite-list {
    grid-template-columns: 1fr;
  }

  .suite-list button {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 72px;
    padding: 16px 18px;
  }

  .suite-row__profile {
    font-size: 0.82rem;
  }

  .suite-detail {
    grid-template-columns: 1fr;
  }

  .suite-carousel {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .suite-detail img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    min-height: auto;
    aspect-ratio: 1.2 / 1;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }

  .rich-text .btn,
  .feature-copy .btn {
    width: 100%;
    justify-self: stretch;
  }

  .final-cta {
    padding: 64px 0 88px;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .whatsapp-float {
    right: auto;
    left: 16px;
    bottom: 16px;
  }

  .whatsapp-float__icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    max-width: 300px;
    font-size: clamp(2.15rem, 10vw, 2.6rem);
  }

  .hero-media {
    object-position: 53% center;
  }

  .structure-card {
    padding: 0;
  }
}

@media (max-width: 390px) {
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    max-width: 270px;
    font-size: 2.25rem;
  }

  .hero p:not(.eyebrow) {
    max-width: 260px;
  }

  .package-card__content {
    padding: 15px;
  }
}

@keyframes suitePanelRevealUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-title-line,
  .hero .hero-blur-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  .location-gradient-text {
    animation: none !important;
    background-position: 0% center !important;
  }

  .experience-carousel__track {
    animation: none !important;
    transform: none !important;
  }

  .whatsapp-float {
    animation: none !important;
    transform: none !important;
  }

  .about-section .about-reveal,
  .about-section.is-visible .about-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  .restaurant-section .reveal-from-depth,
  .restaurant-section.is-reveal-ready:not(.is-visible) .reveal-from-depth,
  .restaurant-section.is-visible .reveal-from-depth {
    opacity: 1 !important;
    transform: var(--restaurant-depth-offset) !important;
    filter: none !important;
    transition: none !important;
  }

  .suites.is-reveal-ready:not(.is-revealed) .section-header,
  .suites.is-reveal-ready:not(.is-revealed) .suite-table,
  .suites.is-reveal-ready:not(.is-revealed) .suite-detail-panel,
  .suites.is-revealing .section-header,
  .suites.is-revealing .suite-table,
  .suites.is-revealing .suite-detail-panel {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .suite-detail,
  .suite-list button,
  .suite-list button::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .suite-detail-panel.is-sliding-in,
  .suite-detail-panel.is-sliding-in img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===========================================================
   Wave divider — thin animated white waves + tiny boat.
   Decorative separator between the experience title and cards.
   Fully scoped under .wave-divider. CSS-only, no JS.
   =========================================================== */
.wave-divider {
  position: relative;
  width: 100%;
  height: 40px;
  margin: clamp(6px, 1.5vw, 14px) 0 clamp(16px, 2.5vw, 26px);
  overflow: hidden;
  pointer-events: none;
}

/* Linha em formato de ondas curvas (côncavas) */
.wave-divider__line {
  position: absolute;
  left: -32px;
  right: -32px;
  bottom: 14px;
  height: 12px;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='12'%20viewBox='0%200%2044%2012'%3E%3Cpath%20d='M0%209%20Q22%209%2022%202%20Q22%209%2044%209'%20fill='none'%20stroke='%23ffffff'%20stroke-width='1.8'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 44px 12px;
}

.wave-divider__boat {
  position: absolute;
  z-index: 2;
  bottom: 13px;
  left: -28px;
  width: 24px;
  height: auto;
  color: #fff;
  filter: drop-shadow(0 1px 1.5px rgba(33, 52, 47, 0.28));
  animation: waveDividerSail 11s linear infinite, waveDividerBob 2.6s ease-in-out infinite;
}

.wave-divider__jetski {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: -36px;
  width: 32px;
  height: auto;
  color: #fff;
  filter: drop-shadow(0 1px 1.5px rgba(33, 52, 47, 0.28));
  animation: waveDividerJet 8s linear infinite, waveDividerBob 2.1s ease-in-out infinite;
}

@keyframes waveDividerSail {
  from {
    left: -28px;
  }
  to {
    left: calc(100% + 28px);
  }
}

@keyframes waveDividerJet {
  from {
    left: -36px;
  }
  to {
    left: calc(100% + 36px);
  }
}

@keyframes waveDividerBob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-2px) rotate(2deg);
  }
}

@media (max-width: 640px) {
  .wave-divider {
    height: 34px;
  }

  .wave-divider__boat {
    width: 20px;
  }

  .wave-divider__jetski {
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }

  .btn:hover::before {
    animation: none !important;
  }

  .package-reveal {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .wave-divider__boat,
  .wave-divider__jetski {
    animation: none !important;
  }

  .wave-divider__boat {
    left: 38%;
    transform: translateX(-50%);
  }

  .wave-divider__jetski {
    left: 62%;
    transform: translateX(-50%);
  }
}
