:root {
  --brown: #865131;
  --orange: #e4904e;
  --red: #ed3110;
  --cream: #fdfcfb;
  --cream2: #f7f3ef;
  --white: #ffffff;
  --text: #2c2420;
  --muted: #6b5e56;
  --border: rgba(134, 81, 49, 0.14);
  --shadow: 0 8px 32px rgba(44, 36, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(44, 36, 32, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

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

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

.container {
  width: min(var(--container), calc(100% - clamp(24px, 5vw, 40px)));
  margin: 0 auto;
}

.accent {
  color: var(--orange);
}

.section-title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brown);
}

.section-subtitle {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--cream2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  min-height: 44px;
  max-width: 100%;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: #c4280e;
  border-color: #c4280e;
}

.btn-secondary {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

.btn-secondary:hover {
  background: #6d4228;
  border-color: #6d4228;
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-gold {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-gold:hover {
  background: #d07d3e;
  border-color: #d07d3e;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(44, 36, 32, 0.04);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.1;
}

.brand-text span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navlinks a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.navlinks a:hover {
  color: var(--orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15px;
  white-space: nowrap;
  border-width: 1.5px;
}

.nav-cta .btn:hover {
  transform: none;
}

.nav-cta .btn-outline {
  background: var(--cream2);
  border-color: rgba(134, 81, 49, 0.22);
  color: var(--brown);
}

.nav-cta .btn-outline:hover {
  background: var(--white);
  border-color: var(--brown);
  color: var(--brown);
}

.nav-cta .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(228, 144, 78, 0.28);
}

.nav-cta .btn-primary:hover {
  background: #d07d3e;
  border-color: #d07d3e;
  box-shadow: 0 4px 14px rgba(228, 144, 78, 0.35);
}

.menu-btn {
  display: none;
  padding: 10px 14px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  color: var(--brown);
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 85svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/resort-exterior-night.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 36, 32, 0.75) 0%,
    rgba(44, 36, 32, 0.35) 45%,
    rgba(44, 36, 32, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 72px;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 8vw, 62px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  max-width: min(14ch, 100%);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-tagline {
  margin: 0 0 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 48ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-subtitle {
  text-align: left;
  margin-bottom: 24px;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: grid;
  place-items: center;
  color: var(--orange);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--brown);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.gallery-dome {
  position: relative;
  width: 100%;
  height: clamp(280px, 62svh, 680px);
  margin-top: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

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

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

/* Amenities split */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.amenities-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.amenity-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.amenity-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--red);
  margin-top: 2px;
}

.amenity-item strong {
  display: block;
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 4px;
}

.amenity-item span {
  font-size: 14px;
  color: var(--muted);
}

.amenities-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.amenities-image img {
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Rates */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.rates-main .btn-primary {
  margin-top: 4px;
}

.rules-panel {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 100%;
}

.rules-panel-title {
  margin: 0;
  padding: 20px 20px 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  color: var(--brown);
  border-bottom: 1px solid var(--border);
  background: var(--cream2);
}

.rules-list--scroll {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  max-height: min(420px, 52svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.rules-list--scroll .rule-item {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.rules-panel-note {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  background: var(--cream2);
}

.rules-list--scroll::-webkit-scrollbar {
  width: 6px;
}

.rules-list--scroll::-webkit-scrollbar-thumb {
  background: rgba(134, 81, 49, 0.25);
  border-radius: 999px;
}

.rules-list--scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(134, 81, 49, 0.4);
}

.rate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.rate-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: var(--brown);
}

.rate-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--red);
  margin: 16px 0;
}

.rate-price small {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.rate-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.rate-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.rate-package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.rate-package-card h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  color: var(--brown);
}

.rate-package-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}

.rate-package-prices {
  margin-bottom: 8px;
}

.rate-promo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 5vw, 28px);
  font-weight: 700;
  color: var(--red);
}

.rate-original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.rate-package-note {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.4;
}

.rate-inclusions {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--cream2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.rate-inclusions strong {
  color: var(--brown);
}

.rate-detail {
  text-align: center;
  padding: 14px;
  background: var(--cream2);
  border-radius: var(--radius);
}

.rate-detail strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.rate-detail span {
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
}

.rules-list {
  display: grid;
  gap: 12px;
}

.rule-item {
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
  font-size: 14px;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.rule-item b {
  color: var(--brown);
}

/* Location & nearby */
.location-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: 20px;
  align-items: stretch;
}

.location-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.location-resort-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.location-resort-card h3 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: var(--brown);
}

.location-region {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.location-kv {
  display: grid;
  grid-template-columns: minmax(72px, 90px) 1fr;
  gap: 8px 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.location-kv code {
  word-break: break-all;
}

.location-kv dt {
  font-weight: 600;
  color: var(--brown);
}

.location-kv dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.location-kv dd code {
  font-size: 13px;
  color: var(--text);
  background: var(--cream2);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-actions .btn {
  width: 100%;
  justify-content: center;
}

.copy-toast {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 13px;
  color: #2d6a4a;
}

.location-nearby-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.location-nearby-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  color: var(--brown);
}

.nearby-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nearby-filter {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 40px;
  touch-action: manipulation;
}

.nearby-filter:hover {
  border-color: var(--orange);
  color: var(--brown);
}

.nearby-filter.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.nearby-list-wrap {
  flex: 1;
  min-height: min(280px, 40svh);
  max-height: min(420px, 50svh);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.nearby-list-status {
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.nearby-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nearby-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 44px;
  touch-action: manipulation;
}

.nearby-list-item:hover {
  background: var(--cream2);
}

.nearby-list-item.active {
  background: rgba(134, 81, 49, 0.1);
  outline: 2px solid rgba(134, 81, 49, 0.22);
}

.nearby-list-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
}

.nearby-list-text {
  display: grid;
  gap: 2px;
}

.nearby-list-text strong {
  font-size: 14px;
  color: var(--brown);
  line-height: 1.35;
}

.nearby-list-text span {
  font-size: 12px;
  color: var(--muted);
}

.location-map-panel {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  min-height: clamp(320px, 55svh, 520px);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

button.map-legend-resort {
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(237, 49, 16, 0.35);
  border-radius: 50px;
  background: rgba(237, 49, 16, 0.08);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: var(--brown);
  cursor: pointer;
}

button.map-legend-resort:hover {
  background: rgba(237, 49, 16, 0.14);
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-legend-dot--resort {
  width: 12px;
  height: 12px;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 49, 16, 0.2);
}

.location-map {
  flex: 1;
  width: 100%;
  min-height: clamp(240px, 40svh, 400px);
  z-index: 1;
}

.location-selection {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.location-selection-default {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.location-selection-active {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}

.location-selection-active strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  color: var(--brown);
}

.location-selection-active span {
  font-weight: 600;
  color: var(--orange);
}

.map-marker-wrap {
  background: none !important;
  border: none !important;
}

.map-marker {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--marker-color);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(44, 36, 32, 0.3);
}

.map-marker-wrap--resort {
  width: auto !important;
  height: auto !important;
}

.resort-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.resort-marker-pin {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(237, 49, 16, 0.25), 0 3px 10px rgba(44, 36, 32, 0.35);
  transform: rotate(-45deg);
}

.resort-marker-label {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(44, 36, 32, 0.2);
}

.leaflet-container {
  font-family: Inter, system-ui, sans-serif;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cream2);
  color: var(--brown);
  margin-bottom: 16px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  color: var(--brown);
}

.contact-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 20px;
}

.contact-value:hover {
  color: var(--brown);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.contact-actions .btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

/* Footer */
footer {
  background: var(--brown);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.footer-brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-brand span {
  font-size: 13px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-contact strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(44, 36, 32, 0.88);
}

.lightbox.open {
  display: grid;
}

.lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.lightbox-inner img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: rgba(44, 36, 32, 0.5);
}

.drawer.open {
  display: block;
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--white);
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.drawer-panel a {
  padding: 14px 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}

.drawer-panel a:hover {
  background: var(--cream2);
  color: var(--orange);
}

.drawer-book {
  margin-bottom: 12px;
  text-align: center;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 600;
}

.drawer-book:hover {
  background: var(--brown) !important;
  color: var(--white) !important;
}

.drawer-close {
  justify-self: end;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--brown);
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transition:
      opacity 0.7s ease var(--reveal-delay, 0ms),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .reveal--fade-up {
    transform: translateY(32px);
  }

  .reveal--fade-left {
    transform: translateX(-32px);
  }

  .reveal--fade-right {
    transform: translateX(32px);
  }

  .reveal--scale-up {
    transform: translateY(24px) scale(0.97);
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .reveal--fade-left:not(.reveal--visible),
  .reveal--fade-right:not(.reveal--visible) {
    transform: translateY(32px);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .navlinks a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav-cta .btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 64px 0;
  }

  .about-grid,
  .amenities-grid,
  .rates-grid,
  .location-explorer {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rate-packages {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

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

  .gallery-item.span-2,
  .gallery-item.span-col-2 {
    grid-row: auto;
    grid-column: auto;
  }

  .gallery-item {
    height: 220px;
  }

  .amenities-image img,
  .about-image img {
    max-height: 360px;
  }

  .rates-main .btn-primary {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .navlinks {
    display: none;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 52px 0;
  }

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

  .section-subtitle {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .nav {
    gap: 12px;
    padding: 12px 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 19px;
  }

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

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

  .rate-details {
    grid-template-columns: 1fr;
  }

  .rate-packages {
    grid-template-columns: 1fr;
  }

  .rate-card,
  .rate-package-card {
    padding: 24px 20px;
  }

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

  .contact-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .hero-content {
    padding: 56px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-links {
    align-items: center;
    justify-content: center;
  }

  .footer-links {
    gap: 16px 20px;
  }

  .rules-list--scroll {
    max-height: min(360px, 45svh);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 44px 0;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .brand-text span {
    font-size: 10px;
    letter-spacing: 0.6px;
  }

  .hero {
    min-height: clamp(360px, 78svh, 720px);
  }

  .hero-content {
    padding: 48px 0 40px;
  }

  .hero-tagline {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 7px 12px;
    margin-bottom: 16px;
  }

  .location-resort-card {
    padding: 20px 18px;
  }

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

  .location-kv dt {
    margin-top: 8px;
  }

  .location-kv dt:first-child {
    margin-top: 0;
  }

  .nearby-filter {
    padding: 8px 12px;
    font-size: 11px;
  }

  .map-legend {
    gap: 8px 10px;
    padding: 10px 12px;
  }

  button.map-legend-resort {
    width: 100%;
    justify-content: center;
  }

  .rate-inclusions {
    padding: 14px 16px;
    font-size: 13px;
  }

  .drawer-panel {
    width: min(320px, 100vw);
    padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-inner img {
    max-height: 75svh;
  }
}

@media (max-width: 360px) {
  .brand-text strong {
    font-size: 17px;
  }

  .section-title {
    font-size: clamp(28px, 9vw, 34px);
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* Short viewports (landscape phones, small-height tablets) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero-content {
    padding: 32px 0 28px;
  }

  .hero-content h1 {
    font-size: clamp(28px, 6vw, 42px);
    margin-bottom: 10px;
  }

  .hero-tagline {
    margin-bottom: 16px;
    font-size: 15px;
  }

  .hero-badge {
    margin-bottom: 12px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 140px;
  }

  .gallery-dome {
    height: clamp(300px, 88vw, 460px);
  }

  .section {
    padding: 40px 0;
  }

  .location-map-panel {
    min-height: clamp(260px, 70svh, 400px);
  }

  .nearby-list-wrap {
    max-height: min(240px, 55svh);
    min-height: 180px;
  }

  .rules-list--scroll {
    max-height: min(280px, 60svh);
  }
}

/* Extra room for floating chat button on small screens */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }
}
