:root {
  --ink: #17343a;
  --muted: #607378;
  --paper: #fbfaf7;
  --sand: #f0eadf;
  --ocean: #027f8f;
  --deep-ocean: #015a65;
  --coral: #e86f55;
  --leaf: #708c3d;
  --wood: #7b4a2c;
  --line: rgba(23, 52, 58, 0.14);
  --shadow: 0 20px 60px rgba(13, 39, 46, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 74px;
  padding: 12px clamp(18px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--deep-ocean);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  letter-spacing: 0;
  width: 44px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 1px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a,
.primary-link,
.select-stay,
.whatsapp-button,
.day-pass-button {
  border-radius: var(--radius);
  font-weight: 800;
  min-height: 44px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

nav a {
  color: var(--ink);
  padding: 10px 12px;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(2, 127, 143, 0.1);
}

.nav-action {
  background: var(--coral);
  color: white;
}

.nav-action:hover,
.nav-action:focus-visible {
  background: #cf5f48;
}

.hero {
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: min(760px, 72vh);
  min-height: 560px;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 38, 45, 0.82), rgba(8, 38, 45, 0.24) 58%, rgba(8, 38, 45, 0.08)),
    linear-gradient(0deg, rgba(8, 38, 45, 0.32), rgba(8, 38, 45, 0.05) 36%);
  inset: 0;
  position: absolute;
}

.hero-content {
  bottom: 11vh;
  color: white;
  left: clamp(20px, 6vw, 86px);
  max-width: 680px;
  position: absolute;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf7a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 5.8rem;
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 22px;
  max-width: 920px;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  margin-bottom: 30px;
  max-width: 630px;
}

.primary-link {
  align-items: center;
  background: white;
  color: var(--ink);
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
}

.primary-link:hover,
.primary-link:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.intro-band {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.intro-band div {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--ink);
  min-height: 110px;
  padding: 28px clamp(20px, 5vw, 72px);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  color: #ffe0a6;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 8px;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.74);
}

.amenities-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.amenities-strip article {
  border-right: 1px solid var(--line);
  min-height: 132px;
  padding: 28px clamp(20px, 5vw, 72px);
}

.amenities-strip article:last-child {
  border-right: 0;
}

.amenities-strip span {
  color: var(--deep-ocean);
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.amenities-strip p {
  color: var(--muted);
  margin: 0;
  max-width: 460px;
}

.section-heading {
  padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 72px) 24px;
}

.section-heading h2,
.reservation-copy h2,
.gastronomy-copy h2,
.club-panel h2 {
  font-size: 3.5rem;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 0;
}

.catalog {
  display: grid;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(70px, 9vw, 118px);
}

.stay-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(11, 43, 51, 0.09);
  display: grid;
  gap: clamp(18px, 3.2vw, 42px);
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.stay-card.selected {
  border-color: rgba(2, 127, 143, 0.65);
  box-shadow: 0 20px 62px rgba(2, 127, 143, 0.18);
}

.gallery {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.gallery-main,
.thumb,
.close-dialog {
  border: 0;
  cursor: pointer;
}

.gallery-main {
  background: var(--sand);
  border-radius: var(--radius);
  height: clamp(300px, 44vw, 560px);
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.gallery-main img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.gallery-main:hover img,
.gallery-main:focus-visible img {
  transform: scale(1.035);
}

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

.thumb {
  aspect-ratio: 16 / 10;
  background: var(--sand);
  border: 3px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

.thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.thumb.active,
.thumb:focus-visible {
  border-color: var(--ocean);
}

.stay-copy {
  align-content: center;
  display: grid;
  padding: clamp(16px, 4vw, 46px);
}

.tag {
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stay-copy h3 {
  font-size: 2.6rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 16px;
}

.stay-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 20px;
}

.stay-copy ul {
  color: var(--ink);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.stay-copy li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.stay-copy li::before {
  background: var(--coral);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.select-stay,
.whatsapp-button,
.day-pass-button {
  align-items: center;
  background: var(--ocean);
  border: 0;
  color: white;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  width: min(100%, 290px);
}

.select-stay:hover,
.select-stay:focus-visible,
.whatsapp-button:hover,
.whatsapp-button:focus-visible,
.day-pass-button:hover,
.day-pass-button:focus-visible {
  background: var(--deep-ocean);
  box-shadow: 0 14px 28px rgba(2, 127, 143, 0.22);
  transform: translateY(-2px);
}

.club-section {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 34px;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.club-hero {
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: 560px;
  overflow: hidden;
}

.club-hero > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.club-panel {
  align-content: center;
  background:
    linear-gradient(135deg, rgba(2, 127, 143, 0.28), rgba(232, 111, 85, 0.12)),
    #102b31;
  display: grid;
  padding: clamp(26px, 5vw, 58px);
}

.club-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 18px 0 0;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.day-pass-button {
  background: var(--coral);
  width: auto;
}

.day-pass-button:hover,
.day-pass-button:focus-visible {
  background: #cf5f48;
}

.club-marketing {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.club-marketing article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
}

.club-marketing span {
  color: #ffcf7a;
  display: block;
  font-weight: 900;
  margin-bottom: 14px;
}

.club-marketing h3 {
  font-size: 1.22rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.club-marketing p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

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

.club-gallery figure {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}

.club-gallery figure.wide {
  grid-column: span 2;
}

.club-gallery img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.club-gallery figcaption {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  padding: 13px 14px 15px;
}

.gastronomy-section {
  background:
    linear-gradient(135deg, rgba(112, 140, 61, 0.16), rgba(2, 127, 143, 0.08)),
    #ffffff;
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.gastronomy-copy {
  max-width: 740px;
}

.gastronomy-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 18px 0 0;
}

.food-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.food-gallery figure {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(11, 43, 51, 0.08);
  margin: 0;
  overflow: hidden;
}

.food-gallery img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.food-gallery figcaption {
  color: var(--ink);
  font-weight: 850;
  padding: 13px 14px 15px;
}

.reservation-section {
  background:
    linear-gradient(135deg, rgba(2, 127, 143, 0.14), rgba(232, 111, 85, 0.12)),
    var(--sand);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.reservation-copy {
  align-content: center;
  display: grid;
}

.reservation-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 600px;
}

.selected-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 28px;
  max-width: 420px;
  padding: 18px;
}

.selected-box span,
.form-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.selected-box strong {
  color: var(--deep-ocean);
  display: block;
  font-size: 1.35rem;
  margin-top: 4px;
}

.reservation-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 7px;
}

input,
select {
  background: #ffffff;
  border: 1px solid rgba(23, 52, 58, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 48px;
  outline: none;
  padding: 11px 12px;
  width: 100%;
}

input:focus,
select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(2, 127, 143, 0.13);
}

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

.whatsapp-button {
  background: #1f9d57;
  margin-top: 4px;
  width: 100%;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: #167b43;
  box-shadow: 0 14px 28px rgba(31, 157, 87, 0.2);
}

.form-note {
  margin: -4px 0 0;
  text-align: center;
}

.photo-dialog {
  background: transparent;
  border: 0;
  max-height: 94vh;
  max-width: min(1120px, 94vw);
  overflow: visible;
  padding: 0;
}

.photo-dialog::backdrop {
  background: rgba(6, 24, 29, 0.84);
}

.photo-dialog img {
  border-radius: var(--radius);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  max-height: 88vh;
  object-fit: contain;
  width: 100%;
}

.close-dialog {
  align-items: center;
  background: white;
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  font-size: 2rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 44px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero,
  .hero img {
    height: auto;
    min-height: 620px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .section-heading h2,
  .reservation-copy h2,
  .gastronomy-copy h2,
  .club-panel h2 {
    font-size: 3rem;
  }

  .stay-card,
  .club-hero,
  .reservation-section {
    grid-template-columns: 1fr;
  }

  .club-hero {
    min-height: 0;
  }

  .club-hero > img {
    height: 430px;
  }

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

  .club-gallery figure.wide {
    grid-column: auto;
  }

  .food-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stay-copy {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .brand {
    min-width: 0;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  nav a {
    align-items: center;
    border: 1px solid var(--line);
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
    padding: 8px;
    text-align: center;
  }

  .hero {
    min-height: 440px;
  }

  .hero img {
    min-height: 440px;
  }

  .hero-content {
    bottom: 28px;
    left: 20px;
    right: 20px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .section-heading h2,
  .reservation-copy h2,
  .gastronomy-copy h2,
  .club-panel h2 {
    font-size: 2.1rem;
  }

  .stay-copy h3 {
    font-size: 1.85rem;
  }

  .intro-band,
  .amenities-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .club-section {
    gap: 22px;
  }

  .club-hero > img {
    height: 300px;
  }

  .club-actions {
    display: grid;
  }

  .club-actions .primary-link,
  .club-actions .day-pass-button {
    width: 100%;
  }

  .intro-band div {
    min-height: 92px;
  }

  .amenities-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }

  .catalog {
    gap: 22px;
  }

  .gallery {
    padding: 10px;
  }

  .gallery-main {
    height: 300px;
  }

  .thumb {
    aspect-ratio: 1 / 0.82;
  }

  .section-heading,
  .catalog,
  .club-section,
  .gastronomy-section,
  .reservation-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
