:root {
  --ink: #12466b;
  --ink-deep: #082f4c;
  --lagoon: #08a7a5;
  --lagoon-light: #d8f6f3;
  --coral: #f0645a;
  --sun: #ffd04a;
  --cream: #fff9ec;
  --sand: #f3e2bd;
  --mauritius-red: #e63946;
  --mauritius-blue: #1d70b7;
  --mauritius-yellow: #ffd447;
  --mauritius-green: #2aa876;
  --white: #fff;
  --muted: #58717c;
  --line: rgba(18, 70, 107, 0.14);
  --shadow-sm: 0 12px 30px rgba(8, 47, 76, 0.1);
  --shadow-lg: 0 28px 70px rgba(8, 47, 76, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --container: 1180px;
  --header-height: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.35rem, 4.2vw, 4.75rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.025em;
}

::selection {
  color: var(--white);
  background: var(--coral);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(82px, 10vw, 145px) 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 45px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.language-switcher a:focus-visible,
.filter-button:focus-visible,
.stay-card:focus-visible,
.gallery-control:focus-visible,
.gallery-close:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #ff8b45);
  box-shadow: 0 10px 24px rgba(240, 100, 90, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #de4d4d, #f77b33);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button-icon {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.button:hover .button-icon {
  transform: translateX(4px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled,
.page-legal .site-header {
  height: 72px;
  color: var(--ink);
  background: rgba(255, 249, 236, 0.95);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: 245px;
  align-items: center;
  color: currentColor;
  text-decoration: none;
}

.brand img {
  width: 100%;
  transition: filter 0.3s ease;
}

body:not(.page-legal) .site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav > a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 0.2s ease;
}

.site-nav > a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.site-header.is-scrolled .site-nav > a:hover,
.page-legal .site-nav > a:hover {
  background: var(--lagoon-light);
}

.language-switcher {
  display: flex;
  gap: 3px;
  margin-left: 9px;
  padding-left: 12px;
  border-left: 1px solid currentColor;
}

.language-switcher a {
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--ink);
  background: var(--sun);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 94svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero::before {
  z-index: 0;
  background: url("../images/hero-horse-poster.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 51, 78, 0.74) 0%, rgba(6, 79, 101, 0.36) 48%, rgba(9, 137, 149, 0.04) 82%),
    linear-gradient(0deg, rgba(5, 48, 72, 0.52) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: clamp(115px, 12vw, 155px);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 890px;
  margin-bottom: 26px;
  text-shadow: 0 4px 22px rgba(4, 38, 60, 0.28);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.7vw, 1.33rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.request-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.request-note::before {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
  content: "";
}

.facts-wrap {
  position: relative;
  z-index: 3;
  height: 0;
}

.quick-facts {
  position: relative;
  display: grid;
  overflow: hidden;
  padding-top: 6px;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #fff 0%, #f2fcff 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%);
}

.quick-facts::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--mauritius-red) 0 25%,
    var(--mauritius-blue) 25% 50%,
    var(--mauritius-yellow) 50% 75%,
    var(--mauritius-green) 75% 100%);
  content: "";
}

.fact {
  position: relative;
  min-height: 140px;
  padding: 30px 28px;
}

.fact + .fact::before {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.fact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  place-items: center;
  background: var(--lagoon-light);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(18, 70, 107, 0.1);
}

.fact-emoji {
  font-size: 1.45rem;
  line-height: 1;
}

.fact:nth-child(1) .fact-icon {
  background: #dff7ff;
}

.fact:nth-child(2) .fact-icon {
  background: #dff7e8;
}

.fact:nth-child(3) .fact-icon {
  background: #fff2c8;
}

.fact:nth-child(4) .fact-icon {
  background: #ffe3df;
}

.fact strong,
.fact > span:not(.fact-icon) {
  display: block;
}

.fact strong {
  margin-bottom: 3px;
  font-size: 1.03rem;
}

.fact > span:not(.fact-icon) {
  color: var(--muted);
  font-size: 0.82rem;
}

.about {
  padding-top: clamp(155px, 17vw, 230px);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 208, 74, 0.25), transparent 25%),
    radial-gradient(circle at 7% 75%, rgba(8, 167, 165, 0.13), transparent 24%),
    var(--cream);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 115px);
}

.about-visual {
  position: relative;
  min-height: 610px;
}

.about-main-image {
  width: 82%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-small-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 265px;
  object-fit: cover;
  border: 9px solid var(--cream);
  border-radius: 29px;
  box-shadow: var(--shadow-sm);
}

.about-badge {
  position: absolute;
  top: 35px;
  right: 3%;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(145deg, var(--sun), #ff9f43);
  border: 8px solid var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transform: rotate(6deg);
}

.about-badge strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 25px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 750;
}

.about-list li::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--lagoon), var(--mauritius-blue));
  border-radius: 50%;
  content: "✓";
  font-size: 0.75rem;
}

.stays {
  background:
    radial-gradient(circle at 95% 8%, rgba(29, 112, 183, 0.08), transparent 18%),
    radial-gradient(circle at 5% 92%, rgba(42, 168, 118, 0.08), transparent 19%),
    var(--white);
}

.stays-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.stays-heading h2 {
  max-width: 720px;
  margin-bottom: 20px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 50px;
}

.filter-button {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--mauritius-blue), var(--lagoon));
  border-color: var(--lagoon);
}

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

.stay-card {
  position: relative;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 0 0 rgba(11, 42, 39, 0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stay-card[hidden] {
  display: none;
}

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

.stay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.stay-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 42, 68, 0.92) 0%, rgba(5, 42, 68, 0.04) 72%);
  content: "";
}

.stay-card-content {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 23px;
  left: 24px;
}

.stay-card-type {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--sun);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stay-card h3 {
  margin-bottom: 8px;
}

.stay-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.stay-card-meta svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.card-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.amenities {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, #0b4d73 0%, #087f91 48%, #08a7a5 100%);
}

.amenities::before {
  position: absolute;
  top: -250px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: rgba(255, 208, 74, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.amenities .section-kicker {
  color: var(--sun);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
}

.amenities-copy h2 {
  margin-bottom: 25px;
}

.amenities-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.67);
}

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.amenity {
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.amenity-emoji {
  display: grid !important;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 1.55rem !important;
  line-height: 1;
}

.amenity:nth-child(1) {
  border-top: 4px solid var(--mauritius-yellow);
}

.amenity:nth-child(2) {
  border-top: 4px solid #6ce5de;
}

.amenity:nth-child(3) {
  border-top: 4px solid #8fd5ff;
}

.amenity:nth-child(4) {
  border-top: 4px solid #ff9d93;
}

.amenity strong {
  display: block;
  margin-bottom: 5px;
}

.amenity span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.location {
  background:
    linear-gradient(90deg, rgba(255, 249, 236, 0.98) 0%, rgba(229, 250, 246, 0.88) 48%, rgba(229, 250, 246, 0.12) 76%),
    url("../images/pool.jpg") center / cover no-repeat;
}

.location-card {
  max-width: 610px;
  padding: clamp(35px, 5vw, 62px);
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.location-card h2 {
  margin-bottom: 22px;
}

.location-card > p {
  color: var(--muted);
}

.location-details {
  display: grid;
  margin: 28px 0 30px;
  gap: 15px;
}

.location-detail {
  display: flex;
  align-items: start;
  gap: 13px;
}

.location-detail svg,
.text-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
}

.text-icon {
  display: inline-grid !important;
  place-items: center;
  font-size: 1.15rem !important;
  line-height: 1;
}

.location-detail span {
  color: var(--muted);
  font-size: 0.9rem;
}

.inquiry {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 208, 74, 0.18), transparent 22%),
    radial-gradient(circle at 8% 88%, rgba(8, 167, 165, 0.12), transparent 25%),
    var(--cream);
}

.inquiry-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 115px);
}

.inquiry-copy {
  position: sticky;
  top: 115px;
}

.inquiry-copy h2 {
  margin-bottom: 24px;
}

.inquiry-copy > p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  gap: 17px;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--coral);
}

.contact-list svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-top: 2px;
  color: var(--coral);
}

.inquiry-panel {
  padding: clamp(28px, 5vw, 55px);
  background: var(--white);
  border-top: 6px solid transparent;
  border-image: linear-gradient(90deg, var(--mauritius-red), var(--mauritius-blue), var(--mauritius-yellow), var(--mauritius-green)) 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.inquiry-panel h3 {
  margin-bottom: 9px;
}

.form-note {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  margin-bottom: 24px;
  padding: 14px 17px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-status.is-success {
  color: #174f37;
  background: #dff2e6;
}

.form-status.is-error {
  color: #7d2f27;
  background: #f8dfda;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  background: var(--white);
  border-color: var(--lagoon);
  box-shadow: 0 0 0 4px rgba(25, 124, 116, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #96a09e;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 11px;
  margin: 5px 0 2px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--lagoon);
}

.checkbox-field a {
  color: var(--ink);
  font-weight: 750;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-submit {
  justify-self: start;
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.site-footer {
  position: relative;
  color: var(--white);
  background: var(--ink-deep);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--mauritius-red) 0 25%,
    var(--mauritius-blue) 25% 50%,
    var(--mauritius-yellow) 50% 75%,
    var(--mauritius-green) 75% 100%);
  content: "";
}

.footer-main {
  display: grid;
  padding: 65px 0 50px;
  grid-template-columns: 1.15fr 0.75fr 1fr;
  gap: 55px;
}

.footer-brand {
  width: 250px;
  margin-bottom: 20px;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-about {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--sun);
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  padding: 20px 0 24px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.footer-bottom a {
  text-decoration: none;
}

.gallery-dialog {
  width: min(96vw, 1380px);
  max-width: none;
  height: min(93svh, 920px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #061d1b;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

.gallery-dialog::backdrop {
  background: rgba(3, 18, 17, 0.86);
  backdrop-filter: blur(8px);
}

.gallery-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(rgba(3, 18, 17, 0.85), transparent);
}

.gallery-title-wrap {
  min-width: 0;
}

.gallery-title-wrap h2 {
  margin: 0 0 4px;
  overflow: hidden;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-counter {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.78rem;
}

.gallery-close,
.gallery-control {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.gallery-close:hover,
.gallery-control:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.gallery-close svg,
.gallery-control svg {
  width: 23px;
  height: 23px;
}

.gallery-close > span,
.gallery-control > span {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-control.previous {
  left: 18px;
}

.gallery-control.next {
  right: 18px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.legal-hero {
  padding: 165px 0 75px;
  color: var(--white);
  background: var(--ink);
}

.legal-hero h1 {
  max-width: 850px;
  margin-bottom: 15px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.7);
}

.legal-content {
  max-width: 850px;
  padding: 75px 0 110px;
}

.legal-content h2 {
  margin-top: 46px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--lagoon);
  font-weight: 750;
}

@media (max-width: 1050px) {
  .brand {
    width: 215px;
  }

  .site-nav > a {
    padding-inline: 8px;
  }

  .about-grid,
  .amenities-grid,
  .inquiry-grid {
    gap: 55px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    padding: 110px 30px 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    color: var(--white);
    background: var(--ink-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a {
    padding: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 7vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
  }

  .language-switcher {
    align-self: center;
    margin: 27px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .language-switcher a {
    min-width: 42px;
    height: 42px;
    font-family: inherit;
    font-size: 0.77rem;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(6, 51, 78, 0.82), rgba(6, 91, 111, 0.3)),
      linear-gradient(0deg, rgba(5, 48, 72, 0.7), transparent 60%);
  }

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

  .fact:nth-child(3)::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .fact:nth-child(4)::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--line);
    content: "";
  }

  .about {
    padding-top: 235px;
  }

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

  .about-copy {
    max-width: 690px;
  }

  .about-visual {
    max-width: 650px;
  }

  .amenities-copy {
    max-width: 700px;
  }

  .inquiry-copy {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-main > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    width: 190px;
  }

  .hero {
    min-height: 780px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-content {
    padding-bottom: 122px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.1rem);
  }

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

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

  .quick-facts {
    border-radius: 18px;
  }

  .fact {
    min-height: 132px;
    padding: 22px 18px;
  }

  .fact-icon {
    width: 40px;
    height: 40px;
  }

  .fact-emoji {
    font-size: 1.2rem;
  }

  .fact strong {
    font-size: 0.9rem;
  }

  .fact > span:not(.fact-icon) {
    font-size: 0.72rem;
  }

  .about {
    padding-top: 220px;
  }

  .about-visual {
    min-height: 450px;
  }

  .about-main-image {
    width: 90%;
    height: 410px;
  }

  .about-small-image {
    width: 53%;
    height: 190px;
    border-width: 6px;
  }

  .about-badge {
    top: 20px;
    width: 105px;
    height: 105px;
    border-width: 6px;
  }

  .about-badge strong {
    font-size: 1.35rem;
  }

  .about-list,
  .stays-grid,
  .amenity-list,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .stays-grid {
    gap: 16px;
  }

  .stay-card {
    min-height: 370px;
  }

  .amenity {
    min-height: 155px;
  }

  .location {
    background-position: 66% center;
  }

  .location-card {
    padding: 34px 25px;
    border-radius: 25px;
  }

  .inquiry-panel {
    padding: 30px 20px;
    border-radius: 25px;
  }

  .field-wide,
  .checkbox-field {
    grid-column: auto;
  }

  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .gallery-dialog {
    width: 100vw;
    height: 100svh;
    border-radius: 0;
  }

  .gallery-control {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .gallery-control.previous {
    left: calc(50% - 62px);
  }

  .gallery-control.next {
    right: calc(50% - 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }
}
