/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --gold: #c8a94e;          /* decorative: icons, fills, accents on dark */
  --gold-hover: #d6b95f;
  --gold-ink: #876818;      /* gold for text on light backgrounds (AA contrast) */
  --gold-light: #e8d48b;    /* gold for text on dark backgrounds */
  --dark: #1a1a2e;
  --dark-deep: #111122;

  /* Neutrals */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hairline: rgba(0, 0, 0, 0.1);
  --surface: #ffffff;
  --surface-alt: #f7f5ef;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.72);
  --on-dark-3: rgba(255, 255, 255, 0.56);

  /* Type */
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", "New York", Georgia, serif;

  /* Shape & depth */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);

  /* Motion: curves approximating critically damped springs */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --press: 90ms;

  --nav-h: 64px;
}

html {
  font-size: 100%;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.53;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

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

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

ul { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(200, 169, 78, 0.75);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-left));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ===== TYPOGRAPHY =====
   Tracking and leading change with size: large display type is tightened,
   small labels are opened up, body sits near zero. */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
}

h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 20px;
  text-wrap: balance;
}

.section-desc {
  color: var(--ink-2);
  max-width: 34em;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ===== BUTTONS =====
   Feedback lives on the press: :active scales instantly, release springs back. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  border: 0;
  user-select: none;
  touch-action: manipulation;
  transition:
    transform 0.45s var(--ease-out),
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.3s ease;
}

.btn:active {
  transform: scale(0.96);
  transition-duration: var(--press);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.btn-quiet {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.btn-quiet-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--gold-hover); }
  .btn-glass:hover { background: rgba(255, 255, 255, 0.26); }
  .btn-quiet:hover { background: rgba(0, 0, 0, 0.08); }
  .btn-quiet-dark:hover { background: rgba(255, 255, 255, 0.16); }
}

/* ===== NAVIGATION =====
   The bar is a translucent material layer; content scrolls underneath.
   The material lives on ::before so the dropdown sheet can blur the page too. */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Soft gradient keeps white nav text legible over the hero photo */
.navbar::after {
  content: '';
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(to bottom, rgba(10, 10, 20, 0.35), rgba(10, 10, 20, 0));
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.navbar.scrolled::before,
.navbar.menu-open::before { opacity: 1; }

.navbar.scrolled::after,
.navbar.menu-open::after { opacity: 0; }

/* Over dark sections the material darkens too, so the bar never reads as a grey slab */
.navbar.on-dark:not(.menu-open)::before {
  background: rgba(20, 20, 36, 0.72);
  box-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.12);
}

.navbar.on-dark:not(.menu-open) .logo { color: #fff; }
.navbar.on-dark:not(.menu-open) .mobile-toggle span { background: #fff; }

@media (min-width: 961px) {
  .navbar.scrolled.on-dark .nav-links a:not(.nav-cta) { color: var(--on-dark-2); }
  .navbar.scrolled.on-dark .nav-links a[aria-current="true"] { color: #fff; }
}

@media (min-width: 961px) and (hover: hover) and (pointer: fine) {
  .navbar.scrolled.on-dark .nav-links a:not(.nav-cta):hover { color: #fff; }
}

.navbar .container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  transition: color 0.3s ease;
}

.logo span { color: var(--gold); }

.navbar.scrolled .logo,
.navbar.menu-open .logo { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.006em;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.4s var(--ease-out);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-links a[aria-current="true"] { color: #fff; }

.navbar.scrolled .nav-links a:not(.nav-cta) { color: var(--ink-2); }
.navbar.scrolled .nav-links a[aria-current="true"] { color: var(--ink); }

.nav-links a:active { transform: scale(0.95); transition-duration: var(--press); }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-cta):hover { color: #fff; }
  .navbar.scrolled .nav-links a:not(.nav-cta):hover { color: var(--ink); }
}

.nav-cta-item { margin-left: 12px; }

.nav-links .nav-cta {
  min-height: 36px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links .nav-cta:hover { background: var(--gold-hover); }
}

/* Mobile toggle: two lines that morph into a close glyph */
.mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: 999px;
  transition: transform 0.4s var(--ease-out);
}

.mobile-toggle:active { transform: scale(0.9); transition-duration: var(--press); }

.mobile-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.75px;
  border-radius: 1px;
  background: #fff;
  transition: transform 0.45s var(--ease-spring), background-color 0.3s ease;
}

.mobile-toggle span:nth-child(1) { top: 18px; }
.mobile-toggle span:nth-child(2) { top: 24px; }

.navbar.scrolled .mobile-toggle span,
.navbar.menu-open .mobile-toggle span { background: var(--ink); }

.navbar.menu-open .mobile-toggle span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.navbar.menu-open .mobile-toggle span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(72px, 12vh, 128px);
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(14, 14, 28, 0.78) 0%, rgba(14, 14, 28, 0.35) 45%, rgba(14, 14, 28, 0.1) 70%),
    linear-gradient(to right, rgba(14, 14, 28, 0.35), rgba(14, 14, 28, 0) 60%);
}

.hero .container { width: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-content > p {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 34em;
  text-wrap: pretty;
}

.hero-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Vibrancy: heavier weight and a touch more tracking for legibility over blur */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-light);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Static scroll cue (no looping bounce); fades away once you start scrolling */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  transition: opacity 0.4s ease, transform 0.45s var(--ease-out);
}

.hero-scroll:active { transform: scale(0.9); transition-duration: var(--press); }
.navbar.scrolled ~ main .hero-scroll { opacity: 0; pointer-events: none; }

/* Hero entrance: one gentle, staggered rise on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { animation: heroImg 1.6s var(--ease-out) both; }
  .hero-content > * { animation: heroIn 1s var(--ease-out) both; }
  .hero-content > :nth-child(1) { animation-delay: 0.15s; }
  .hero-content > :nth-child(2) { animation-delay: 0.25s; }
  .hero-content > :nth-child(3) { animation-delay: 0.35s; }
  .hero-content > :nth-child(4) { animation-delay: 0.45s; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes heroImg {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

/* ===== SCROLL REVEAL =====
   Content is visible by default; it only starts hidden once JS is confirmed. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease var(--reveal-delay, 0s),
    transform 1s var(--ease-out) var(--reveal-delay, 0s);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== SECTIONS ===== */
.about,
.gallery,
.amenities,
.golf,
.location,
.reviews,
.booking {
  padding: clamp(80px, 11vw, 140px) 0;
}

/* ===== ABOUT ===== */
.about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, 250px));
  gap: 12px;
}

.about-images > div {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

.about-images .img-tall { grid-row: span 2; }

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

.about-text > p {
  color: var(--ink-2);
  margin-bottom: 16px;
  text-wrap: pretty;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-ink);
}

.about-feature span {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery { background: var(--surface-alt); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 19vw, 240px);
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e6dc;
  cursor: zoom-in;
  transition: transform 0.5s var(--ease-out), opacity 0.2s ease;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.gallery-item:active {
  transform: scale(0.97);
  transition-duration: 120ms;
}

/* The tapped photo lifts out of the grid into the lightbox */
.gallery-item.is-source { opacity: 0; transition: none; }

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img { transform: scale(1.04); }
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ===== AMENITIES ===== */
.amenities { background: var(--surface); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.amenity-card {
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.amenity-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-ink);
}

.amenity-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.amenity-card p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.47;
}

/* ===== GOLF ===== */
.golf {
  background: var(--dark);
  color: var(--on-dark);
}

.golf .section-subtitle { color: var(--gold-light); }
.golf .section-title { color: #fff; }
.golf .section-desc { color: var(--on-dark-2); }

.golf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}

.golf-card {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.golf-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.golf-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.golf-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  background: rgba(20, 20, 36, 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.golf-card-body { padding: 28px 28px 32px; }

.golf-card-body h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.golf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.golf-meta li {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

.golf-card-body > p {
  color: var(--on-dark-2);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 22px;
}

.golf-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.golf-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.golf-highlight svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}

.golf-highlight span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.golf-cta { text-align: center; }

.golf-cta p {
  color: var(--on-dark-2);
  max-width: 34em;
  margin: 0 auto 24px;
}

/* ===== PADEL ===== */
.padel {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--surface);
}

.padel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.padel-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--radius-lg);
  background: #2f4a37;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.padel-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft shade at the bottom so the glass chips stay legible over the courts */
.padel-visual::after {
  content: '';
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to top, rgba(10, 18, 12, 0.55), rgba(10, 18, 12, 0));
  pointer-events: none;
}

.padel-credit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 18, 12, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.padel-chips {
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

.padel-chips li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.padel-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.padel-lede {
  color: var(--ink-2);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.padel-facts {
  background: var(--surface-alt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.padel-facts li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
}

.padel-facts li + li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 68px;
  right: 0;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.14);
}

.padel-fact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.padel-fact-icon svg {
  width: 19px;
  height: 19px;
  color: var(--gold-ink);
}

.padel-facts strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.padel-facts li > span:last-child > span {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.padel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.padel-source {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.stay-ideas { margin-top: clamp(72px, 9vw, 112px); }

.stay-ideas-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 28px;
}

.stay-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stay-idea {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.stay-idea-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.stay-idea h4 {
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.stay-idea p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.stay-ideas-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ===== LOCATION ===== */
.location { background: var(--surface-alt); }

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

.location-info > p {
  color: var(--ink-2);
  margin-bottom: 28px;
}

/* Inset grouped list with hairline separators */
.distance-list {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.distance-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.distance-item + .distance-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 68px;
  right: 0;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.14);
}

.dist-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dist-icon svg {
  width: 19px;
  height: 19px;
  color: var(--gold-ink);
}

.dist-text {
  flex: 1;
  min-width: 0;
}

.dist-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.dist-text span {
  display: block;
  color: var(--ink-2);
  font-size: 0.875rem;
}

.dist-km {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 480px;
  background: #e9e6dc;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== REVIEWS ===== */
.reviews { background: var(--surface); }

.review-highlight {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 72px);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
}

.review-highlight .score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 8px 20px 8px 8px;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.score-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  display: grid;
  place-items: center;
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.score-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.score-text span {
  color: var(--ink-2);
  font-size: 0.8125rem;
}

.review-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}

.review-quote::before { content: '\201C'; }
.review-quote::after { content: '\201D'; }

.review-author {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.review-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
}

.review-cat dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.review-cat dd {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-bar {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.review-bar-fill {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(var(--score, 1));
}

html.js .review-highlight:not(.is-visible) .review-bar-fill { transform: scaleX(0); }

.review-highlight.is-visible .review-bar-fill {
  transition: transform 1.2s var(--ease-out) 0.3s;
}

.review-num {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.review-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 12px;
}

/* More reviews: a calm grid on wide screens, a swipeable row on phones */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.review-card-score {
  align-self: flex-start;
  min-width: 34px;
  padding: 4px 9px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--ink);
}

.review-card blockquote {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: pretty;
}

.review-card blockquote::before { content: '\201C'; }
.review-card blockquote::after { content: '\201D'; }

.review-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card-meta strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.review-card-meta > span:last-child > span {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.review-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.review-translated {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 1000px) {
  .review-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .review-grid {
    display: flex;
    gap: 10px;
    margin: 12px -24px 0;
    padding: 0 24px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

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

  .review-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .padel-chips { bottom: 16px; gap: 6px; }

  .padel-chips li { padding: 6px 12px; font-size: 0.75rem; }

  /* Cards off to the side shouldn't fade in mid-swipe */
  html.js .review-card.reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--surface-alt);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item + .faq-item { border-top: 0.5px solid rgba(0, 0, 0, 0.14); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

/* Chevron rotates to point at the answer it reveals */
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-top: -4px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-item summary:active { background: rgba(0, 0, 0, 0.03); }

@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover { background: rgba(0, 0, 0, 0.02); }
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--ink-2);
  max-width: 44em;
}

.faq-item a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Smooth disclosure where the browser supports animating to auto height */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }

  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      block-size 0.45s var(--ease-out),
      opacity 0.3s ease,
      content-visibility 0.45s allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

/* ===== BOOKING / INQUIRY ===== */
.booking {
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  color-scheme: dark;
}

.booking::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 169, 78, 0.12), rgba(200, 169, 78, 0));
  pointer-events: none;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking .section-subtitle { color: var(--gold-light); }

.booking-info h2 {
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.booking-info > p {
  color: var(--on-dark-2);
  margin-bottom: 32px;
}

.booking-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, transform 0.45s var(--ease-out), box-shadow 0.2s ease;
}

.booking-link:active {
  transform: scale(0.98);
  transition-duration: var(--press);
}

.booking-link-text { flex: 1; }

.booking-link-text strong {
  display: block;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.booking-link-text span {
  color: var(--on-dark-3);
  font-size: 0.875rem;
}

.booking-link-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .booking-link:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(200, 169, 78, 0.5);
  }
  .booking-link:hover .booking-link-arrow { transform: translate(2px, -2px); }
  .booking-link[href^="mailto"]:hover .booking-link-arrow { transform: translateX(3px); }
}

/* Inquiry form */
.inquiry-form {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}

.inquiry-form h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--on-dark-2);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark-2);
  margin-bottom: 6px;
}

.optional {
  color: var(--on-dark-3);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-text);
  font-size: 1rem; /* >=16px stops iOS zooming on focus */
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(200, 169, 78, 0.22);
}

.form-group select option {
  background: var(--dark);
  color: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 104px;
}

.form-group.is-invalid input {
  border-color: #ff8a7a;
  box-shadow: 0 0 0 4px rgba(255, 138, 122, 0.16);
}

.field-error {
  min-height: 0;
  font-size: 0.8125rem;
  color: #ffb4a8;
  margin-top: 6px;
}

.field-error:empty { display: none; }

.interests {
  border: 0;
  padding: 0;
  min-width: 0;
}

.interests legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-dark-2);
  margin-bottom: 8px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.4s var(--ease-out);
}

.chip:active span { transform: scale(0.95); transition-duration: var(--press); }

.chip input:checked + span {
  background: var(--gold);
  color: var(--dark);
  box-shadow: none;
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 3px solid rgba(200, 169, 78, 0.75);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span { background: rgba(255, 255, 255, 0.13); }
}

.stay-summary {
  margin: -4px 0 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.stay-summary:empty { display: none; }

.form-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
}

/* Off-screen spam trap (not display:none, which some bots skip) */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #ffd2cb;
  background: rgba(255, 138, 122, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.3);
}

.form-error a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(26, 26, 46, 0.25);
  border-top-color: var(--dark);
  animation: spin 0.8s linear infinite;
}

.is-sending .form-submit .spinner { display: inline-block; }

.form-submit:disabled {
  cursor: progress;
  opacity: 0.85;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .form-submit .spinner { animation-duration: 2.4s; }
}

.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}

.form-success {
  text-align: center;
  padding: 32px 8px;
}

.form-success:focus { outline: none; }

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin: 0 auto 16px;
}

.form-success h3 { margin-bottom: 10px; }

.form-success p {
  color: var(--on-dark-2);
  max-width: 26em;
  margin: 0 auto 12px;
}

.form-success .form-fallback {
  font-size: 0.875rem;
  color: var(--on-dark-3);
  margin-bottom: 24px;
}

.form-fallback a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Panel swap: the success state materialises in place of the form */
@media (prefers-reduced-motion: no-preference) {
  .form-panel.is-entering,
  .form-success.is-entering { animation: panelIn 0.55s var(--ease-out) both; }
}

@keyframes panelIn {
  from { opacity: 0; transform: scale(0.97); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--dark-deep);
  color: var(--on-dark-3);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 340px;
}

.footer-address {
  margin-top: 14px;
  font-style: normal;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--on-dark-3);
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: #fff; }
}

.footer-facts div {
  display: flex;
  gap: 6px;
  padding: 5px 0;
}

.footer-facts dt { color: var(--on-dark-2); }
.footer-facts dt::after { content: ':'; }

.footer-bottom {
  padding-top: 28px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* ===== LIGHTBOX =====
   Driven by springs in JS: the photo grows out of its thumbnail, pages 1:1
   with your finger, and can be flicked away (or caught mid-flight). */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  touch-action: none;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox[hidden] { display: none; }

.lb-scrim {
  position: absolute;
  inset: 0;
  background: #0b0b0f;
  opacity: 0;
}

.lb-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lb-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 88px 88px;
  pointer-events: none;
  will-change: transform;
}

.lb-frame {
  pointer-events: auto;
  will-change: transform;
  transform-origin: 50% 50%;
}

.lb-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 176px), 1600px);
  max-height: calc(100vh - 160px);
  max-height: calc(100svh - 160px);
  -webkit-user-drag: none;
  user-select: none;
  cursor: grab;
}

.lb-frame img:active { cursor: grabbing; }

.lb-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.lb-chrome.is-interactive > * { pointer-events: auto; }
.lb-chrome.is-interactive > .lb-caption { pointer-events: none; }

.lb-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px 24px;
  pointer-events: none;
}

.lb-top > * { pointer-events: auto; }

.lb-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* Light, interactive material over the dark scrim */
.lb-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease, transform 0.4s var(--ease-out);
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

.lb-btn:active {
  transform: scale(0.9);
  transition-duration: var(--press);
}

@media (hover: hover) and (pointer: fine) {
  .lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
}

.lb-nav {
  position: absolute;
  top: 50%;
  margin-top: -22px;
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom));
  padding: 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .about-grid,
  .location-grid,
  .booking-grid,
  .golf-grid,
  .padel-grid {
    grid-template-columns: 1fr;
  }

  .padel-visual { max-height: 460px; }

  .stay-ideas-grid { grid-template-columns: 1fr; }
}

/* Tablets: a wider crop so the photo doesn't dominate the single column */
@media (min-width: 641px) and (max-width: 1000px) {
  .padel-visual { aspect-ratio: 16 / 10; }

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

  .footer-brand { grid-column: 1 / -1; }

  .location-map { height: 360px; }
}

@media (max-width: 960px) {
  .mobile-toggle { display: block; }

  /* Dropdown sheet anchored to the toggle: it grows from (and returns to) the button */
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.18);
    transform-origin: calc(100% - 22px) -8px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    filter: blur(8px);
    transition:
      opacity 0.3s ease,
      transform 0.5s var(--ease-spring),
      filter 0.4s var(--ease-out),
      visibility 0s linear 0.5s;
  }

  .navbar.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    transition:
      opacity 0.25s ease,
      transform 0.5s var(--ease-spring),
      filter 0.4s var(--ease-out),
      visibility 0s;
  }

  .nav-links a,
  .navbar.scrolled .nav-links a:not(.nav-cta) {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 1.0625rem;
    color: var(--ink);
    border-radius: 14px;
  }

  .nav-links a:not(.nav-cta)::after { display: none; }

  .nav-links a[aria-current="true"],
  .navbar.scrolled .nav-links a[aria-current="true"] {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-cta-item { margin: 8px 0 0; }

  .nav-links .nav-cta {
    justify-content: center;
    min-height: 50px;
  }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }

  .hero { min-height: 560px; }

  .hero-buttons .btn { flex: 1 1 auto; }

  .about-images { grid-template-rows: repeat(2, minmax(140px, 190px)); }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: clamp(140px, 36vw, 220px);
    gap: 8px;
  }

  .gallery-item { border-radius: 14px; }

  .gallery-item:first-child { grid-row: span 1; }

  .golf-card-body { padding: 24px 22px 28px; }

  /* Lightbox goes edge to edge on small screens; swipe replaces arrows */
  .lb-slide { padding: 64px 0 72px; }

  .lb-frame img {
    max-width: 100vw;
    max-height: calc(100vh - 136px);
    max-height: calc(100svh - 136px);
  }

  .lb-nav { display: none; }
}

@media (pointer: coarse) {
  .lb-nav { display: none; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }

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

  .review-categories { grid-template-columns: 1fr 1fr; }

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

/* ===== ACCESSIBILITY PREFERENCES ===== */

/* Reduced motion: keep the feedback, drop the travel. Cross-fades only. */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    transform: none;
    transition: opacity 0.4s ease;
  }

  .btn:active,
  .booking-link:active,
  .gallery-item:active,
  .lb-btn:active,
  .nav-links a:active,
  .mobile-toggle:active { transform: none; }

  .gallery-item:hover img { transform: none; }

  .nav-links,
  .navbar.menu-open .nav-links {
    transform: none !important;
    filter: none !important;
  }

  .review-highlight.is-visible .review-bar-fill { transition: none; }

  .faq-item::details-content { transition: opacity 0.2s ease, content-visibility 0.2s allow-discrete !important; }
  .faq-item summary::after { transition: none; }
  .chip:active span { transform: none; }
}

/* Reduced transparency: frosted surfaces become solid */
@media (prefers-reduced-transparency: reduce) {
  .navbar::before { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .hero-badge,
  .btn-glass,
  .padel-chips li,
  .padel-credit,
  .golf-card-badge { background: rgba(20, 20, 36, 0.85); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lb-btn { background: #2a2a30; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Increased contrast: near-solid fills and defined edges */
@media (prefers-contrast: more) {
  :root {
    --ink-2: #3a3a3c;
    --gold-ink: #6b520f;
    --on-dark-2: rgba(255, 255, 255, 0.9);
    --on-dark-3: rgba(255, 255, 255, 0.8);
  }
  .navbar::before { background: #fff; box-shadow: 0 1px 0 #000; }
  .hero-badge,
  .btn-glass { background: rgba(0, 0, 0, 0.75); box-shadow: inset 0 0 0 1px #fff; }
  .about-feature,
  .amenity-card,
  .distance-list,
  .review-card,
  .stay-idea,
  .padel-facts,
  .faq-list,
  .review-highlight { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45); }
  .booking-link,
  .golf-card,
  .inquiry-form { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
  .form-group input,
  .form-group textarea,
  .form-group select { border-color: rgba(255, 255, 255, 0.7); }
}
