/* ============================================================
   AHIMSA VILLA — style.css
   Design system, all sections, responsive styles
   ============================================================ */

/* ────────────────────────────────────────────
   1. DESIGN SYSTEM — Custom Properties
   ──────────────────────────────────────────── */
:root {
  /* Colors */
  --sand:            #F5F0E8;
  --sand-dark:       #E8DFD0;
  --terracotta:      #C67B5C;
  --terracotta-dark: #A8614A;
  --olive:           #7A8B6F;
  --olive-light:     #9AAB8F;
  --charcoal:        #2C2C2C;
  --white:           #FFFFFF;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* Nav height */
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--sand);
  position: relative;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ────────────────────────────────────────────
   3. UTILITIES
   ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

.section--alt {
  background-color: var(--sand-dark);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(198, 123, 92, 0.3);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 123, 92, 0.45);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn--large {
  padding: 1.1rem 3rem;
  font-size: 1rem;
}

/* ────────────────────────────────────────────
   4. NAVIGATION
   ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: rgba(245, 240, 232, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Logo */
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-base);
  margin-right: auto;
  white-space: nowrap;
}

.nav--scrolled .nav__logo {
  color: var(--charcoal);
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links li a {
  color: var(--white);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.9;
}

.nav__links li a:hover {
  opacity: 1;
}

.nav--scrolled .nav__links li a {
  color: var(--charcoal);
}

/* Nav CTA button */
.nav__links .nav__cta {
  background-color: var(--terracotta);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  opacity: 1;
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.nav__links .nav__cta:hover {
  background-color: var(--terracotta-dark);
  transform: translateY(-1px);
}

/* Language toggle */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav--scrolled .nav__lang {
  color: var(--charcoal);
}

.nav__lang-option {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.nav__lang-option--active,
.nav__lang-option:hover {
  opacity: 1;
}

.nav__lang-divider {
  opacity: 0.4;
}

/* Hamburger — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  order: 3;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: background-color var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
}

.nav--scrolled .nav__hamburger span {
  background-color: var(--charcoal);
}

/* Hamburger open state */
.nav__hamburger--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ────────────────────────────────────────────
   5. HERO
   ──────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-inline: var(--space-md);
  max-width: 700px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 300;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ────────────────────────────────────────────
   6. ABOUT
   ──────────────────────────────────────────── */
.about__intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--charcoal);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

/* About details */
.about__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about__detail {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.about__detail-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.about__detail p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 1024px) {
  .about__details {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Location secondary row */
.location__pois--secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .location__pois--secondary {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Facts row */
.facts {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 90px;
}

.fact__icon {
  width: 36px;
  height: 36px;
  color: var(--olive);
  margin-bottom: 0.25rem;
}

.fact__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.fact__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  text-align: center;
}

/* Highlights grid */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.highlight {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.highlight__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--olive);
}

/* ────────────────────────────────────────────
   7. GALLERY
   ──────────────────────────────────────────── */
/* Tab bar */
.gallery__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.gallery__tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--olive);
  color: var(--olive);
  font-size: 0.9rem;
  font-weight: 700;
  background-color: transparent;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
  white-space: nowrap;
}

.gallery__tab:hover {
  background-color: var(--olive-light);
  color: var(--white);
  border-color: var(--olive-light);
  transform: translateY(-1px);
}

.gallery__tab--active {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.gallery__tab--active:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

/* Photo grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: var(--sand-dark);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.gallery__item:hover::after {
  opacity: 1;
}

/* ────────────────────────────────────────────
   8. LIGHTBOX
   ──────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox--open {
  display: flex;
}

.lightbox__img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Lightbox buttons */
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.6rem;
}

.lightbox__prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox__next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ────────────────────────────────────────────
   9. LOCATION
   ──────────────────────────────────────────── */
.location__intro {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.location__map {
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.location__map iframe {
  display: block;
}

/* POI grid */
.location__pois {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.location__col {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.location__col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location__col-icon {
  width: 20px;
  height: 20px;
  color: var(--olive);
  flex-shrink: 0;
}

.location__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--sand-dark);
  padding-bottom: 0.5rem;
  color: var(--charcoal);
}

.location__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.location__time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--olive);
  white-space: nowrap;
  margin-left: var(--space-sm);
}

/* ────────────────────────────────────────────
   10. REVIEWS
   ──────────────────────────────────────────── */
.reviews__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: var(--space-lg);
}

.reviews__score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.reviews__stars {
  font-size: 1.4rem;
  color: #F5A623;
  letter-spacing: 2px;
}

.reviews__count {
  font-size: 0.9rem;
  color: var(--charcoal);
  opacity: 0.7;
}

/* Carousel */
.reviews__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.reviews__track {
  display: flex;
  width: 100%;
  transition: transform var(--transition-slow);
}

/* Review cards */
.review-card {
  min-width: 100%;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-card__quote {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.25;
  position: absolute;
  top: 0.3rem;
  left: 1.5rem;
}

.review-card__stars {
  font-size: 1rem;
  color: var(--terracotta);
  letter-spacing: 3px;
}

.review-card__text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--charcoal);
  font-style: italic;
  font-weight: 400;
}

.review-card__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--olive);
  margin-top: auto;
}

/* Arrow buttons */
.reviews__arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviews__arrow:hover {
  background-color: var(--terracotta);
  color: var(--white);
  transform: scale(1.05);
}

/* Dot indicators */
.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--sand-dark);
  border: 2px solid var(--olive-light);
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.reviews__dot--active {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.2);
}

.reviews__link {
  display: block;
  text-align: center;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  margin-top: var(--space-sm);
}

.reviews__link:hover {
  color: var(--terracotta-dark);
}

/* ────────────────────────────────────────────
   11. CTA / BOOKING
   ──────────────────────────────────────────── */
.cta {
  position: relative;
  padding-block: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cta__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-inline: var(--space-md);
  max-width: 600px;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ────────────────────────────────────────────
   12. FOOTER
   ──────────────────────────────────────────── */
.footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-lg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__managed {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__lang-btn {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.footer__lang-btn:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.55;
}

/* ────────────────────────────────────────────
   WAVE DIVIDERS
   ──────────────────────────────────────────── */
.wave-divider {
  line-height: 0;
  margin-top: -1px;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider--flip {
  transform: scaleY(-1);
  margin-top: 0;
  margin-bottom: -1px;
}

.wave-divider--up {
  margin-top: 0;
  margin-bottom: -1px;
}

/* Animated waves */
.wave {
  animation: wave-drift 8s ease-in-out infinite alternate;
}

.wave--1 {
  animation-duration: 7s;
}

.wave--2 {
  animation-duration: 5s;
  animation-delay: -2s;
}

.wave--3 {
  animation-duration: 6s;
  animation-delay: -4s;
}

@keyframes wave-drift {
  0% {
    d: path("M0,50 C240,90 480,10 720,50 C960,90 1200,10 1440,50 L1440,100 L0,100 Z");
  }
  100% {
    d: path("M0,50 C200,10 440,90 720,50 C1000,10 1240,90 1440,50 L1440,100 L0,100 Z");
  }
}

/* ────────────────────────────────────────────
   13. SCROLL ANIMATIONS (staggered)
   ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside sections */
.fade-in--visible .fact,
.fade-in--visible .highlight,
.fade-in--visible .about__detail,
.fade-in--visible .location__col {
  animation: stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fade-in--visible .fact:nth-child(1),
.fade-in--visible .highlight:nth-child(1),
.fade-in--visible .about__detail:nth-child(1),
.fade-in--visible .location__col:nth-child(1) { animation-delay: 0s; }

.fade-in--visible .fact:nth-child(2),
.fade-in--visible .highlight:nth-child(2),
.fade-in--visible .about__detail:nth-child(2),
.fade-in--visible .location__col:nth-child(2) { animation-delay: 0.08s; }

.fade-in--visible .fact:nth-child(3),
.fade-in--visible .highlight:nth-child(3),
.fade-in--visible .about__detail:nth-child(3),
.fade-in--visible .location__col:nth-child(3) { animation-delay: 0.16s; }

.fade-in--visible .fact:nth-child(4),
.fade-in--visible .highlight:nth-child(4) { animation-delay: 0.24s; }

.fade-in--visible .highlight:nth-child(5) { animation-delay: 0.32s; }
.fade-in--visible .highlight:nth-child(6) { animation-delay: 0.4s; }
.fade-in--visible .highlight:nth-child(7) { animation-delay: 0.48s; }
.fade-in--visible .highlight:nth-child(8) { animation-delay: 0.56s; }

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ────────────────────────────────────────────
   LEGAL MODALS
   ──────────────────────────────────────────── */
.footer__legal {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}

.footer__legal-link:hover {
  color: var(--white);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.modal:target {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal__content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.modal__content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  color: var(--terracotta);
}

.modal__content p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  color: #444;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color var(--transition-base);
}

.modal__close:hover {
  color: var(--charcoal);
}

/* ────────────────────────────────────────────
   ACCESSIBILITY
   ──────────────────────────────────────────── */

/* Keyboard focus ring */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.btn--glass:focus-visible,
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg {
    transform: none !important;
  }
  .hero__content {
    transform: none !important;
    opacity: 1 !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ────────────────────────────────────────────
   BACK TO TOP BUTTON
   ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 900;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* ────────────────────────────────────────────
   FOOTER INSTAGRAM LINK
   ──────────────────────────────────────────── */
.footer__instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-top: 6px;
  transition: color var(--transition-base);
}

.footer__instagram:hover {
  color: var(--white);
}

.footer__instagram svg {
  flex-shrink: 0;
}

/* ────────────────────────────────────────────
   14. RESPONSIVE — TABLET (≤ 1024px)
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .highlights {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .location__col:last-child {
    grid-column: 1 / -1;
  }
}

/* ────────────────────────────────────────────
   15. RESPONSIVE — MOBILE (≤ 768px)
   ──────────────────────────────────────────── */
@media (max-width: 768px) {

  /* --- Nav --- */
  .nav__hamburger {
    display: flex;
  }

  .nav__lang {
    order: 2;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-sm) 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links li a {
    color: var(--charcoal) !important;
    display: block;
    padding: 0.75rem var(--space-md);
    font-size: 1rem;
    opacity: 1;
    border-bottom: 1px solid var(--sand-dark);
  }

  .nav__links li a:hover {
    background-color: var(--sand);
  }

  .nav__links .nav__cta {
    margin: var(--space-sm) var(--space-md) var(--space-xs);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    width: calc(100% - var(--space-md) * 2);
    text-align: center;
  }

  /* --- About: facts horizontal scroll --- */
  .facts {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--space-sm);
    gap: var(--space-md);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .facts::-webkit-scrollbar {
    display: none;
  }

  .fact {
    flex-shrink: 0;
    min-width: 80px;
  }

  /* Highlights 1-col */
  .highlights {
    grid-template-columns: 1fr;
  }

  /* --- Gallery tabs: horizontal scroll --- */
  .gallery__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--space-xs);
    gap: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery__tabs::-webkit-scrollbar {
    display: none;
  }

  /* Gallery 1-col */
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  /* --- Location 1-col --- */
  .location__pois {
    grid-template-columns: 1fr;
  }

  .location__col:last-child {
    grid-column: auto;
  }

  /* --- Reviews: hide arrows on very small screens --- */
  .reviews__carousel {
    gap: var(--space-xs);
  }

  /* --- Footer stacked --- */
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer__brand {
    align-items: center;
  }

  /* --- Section spacing reduction --- */
  .section {
    padding-block: var(--space-xl);
  }

  .cta {
    min-height: 300px;
    padding-block: var(--space-xl);
  }
}
