/* ============================================
   LA DATCHA DU PARC — Editorial Botanica
   A luxury boutique gîte experience
   ============================================ */

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

:root {
  /* Palette — Forest & Linen */
  --sage: #5C6B54;
  --sage-dark: #3E4A38;
  --sage-deep: #2D3628;
  --sage-light: #7A8E70;
  --sage-mist: #A8B8A0;
  --warm: #C9956B;
  --warm-light: #E8D5C0;
  --warm-pale: #F5EDE4;
  --linen: #FAF8F5;
  --linen-dark: #F2EFEB;
  --cream: #FFFDF9;
  --ink: #1A1A1A;
  --ink-soft: #2C2C2C;
  --text: #3D3D3D;
  --text-light: #6B6B6B;
  --text-muted: #9A9A9A;
  --border: #E8E4DF;
  --border-light: #F0ECE7;

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  /* Spatial */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-dramatic: 0 24px 80px rgba(0, 0, 0, 0.14);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1240px;
  --header-h: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 36px);
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--linen);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--sage-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- GRAIN TEXTURE OVERLAY --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  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");
  background-repeat: repeat;
  background-size: 200px;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

.header-top {
  background: var(--sage-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  padding: 7px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-tagline {
  font-weight: 300;
}

.header-address {
  text-align: right;
  font-weight: 300;
}

.lang-switcher {
  display: flex;
  gap: 0;
  justify-self: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 2px;
}
.lang-switcher a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 100px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lang-switcher a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.lang-switcher a.active {
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  position: relative;
}
.nav-logo::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  transition: background var(--transition);
}
.header.scrolled .nav-logo::after {
  background: var(--border);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  font-style: italic;
  color: var(--warm-light);
  transition: color var(--transition);
  margin-top: 1px;
}

.header.scrolled .nav-logo-text { color: var(--sage-deep); }
.header.scrolled .nav-logo-sub { color: var(--warm); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: 0;
  transition: all 0.3s ease;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--warm-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #fff;
  background: none;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-link.active {
  color: #fff;
  background: none;
}
.nav-link.active::after {
  transform: scaleX(1);
  background: var(--warm);
}

.header.scrolled .nav-link {
  color: var(--text-light);
}
.header.scrolled .nav-link:hover {
  color: var(--sage-deep);
  background: none;
}
.header.scrolled .nav-link:hover::after {
  background: var(--warm);
}
.header.scrolled .nav-link.active {
  color: var(--sage-deep);
  background: none;
}
.header.scrolled .nav-link.active::after {
  transform: scaleX(1);
  background: var(--warm);
}

.nav-link--cta {
  background: var(--warm) !important;
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 100px;
  margin-left: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 12px rgba(201, 149, 107, 0.25);
  transition: all 0.35s ease;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--sage-dark) !important;
  box-shadow: 0 4px 20px rgba(92, 107, 84, 0.3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  position: relative;
  z-index: 1002;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: all var(--transition);
  border-radius: 1px;
}
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 0; width: 100%; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.nav-toggle span:nth-child(3) { bottom: 0; width: 85%; }
.nav-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background: var(--ink); width: 100%; }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 100%; }
.nav-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); background: var(--ink); width: 100%; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 54, 40, 0.25);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

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

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide.zoom {
  transform: scale(1.06);
  transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1), transform 7s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.35) 40%,
    rgba(26, 26, 26, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px;
  max-width: 860px;
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.3s forwards;
}
.hero-badge-text {
  color: var(--warm-light);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.hero-badge-line {
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.5s forwards;
}
.hero-title-line {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-title-line--italic {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--warm-light);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

.hero-slide-counter {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.counter-current {
  color: #fff;
  font-weight: 600;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(92, 107, 84, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--sage-dark);
  border-color: #fff;
}

.btn-block { width: 100%; }

/* --- SECTIONS --- */
.section {
  padding: 120px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 300;
}

.section-author {
  color: var(--warm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  margin-top: 16px;
}

/* --- FEATURES GRID — editorial numbered --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--cream);
  padding: 40px 32px;
  transition: background var(--transition);
}
.feature-card:hover {
  background: #fff;
}

.feature-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--sage-mist);
  line-height: 1;
  margin-bottom: 24px;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- PRESENTATION GALLERY --- */
.presentation-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 80px;
}

.gallery-main, .gallery-side > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-main img, .gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-main:hover img, .gallery-side div:hover img {
  transform: scale(1.04);
}
.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-main:hover .gallery-caption,
.gallery-side div:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* --- EQUIPMENTS --- */
.equipments {
  background: #fff;
  padding: 56px 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.equip-header {
  text-align: center;
  margin-bottom: 32px;
}
.equip-header h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 500;
}
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}
.equip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
}
.equip-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}
.equip-check::before {
  content: "\2713";
}

/* --- ROOMS --- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.room-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-dramatic);
}

.room-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.room-card:hover .room-img img { transform: scale(1.06); }

.room-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--sage-dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.room-info {
  padding: 32px;
}
.room-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.room-info p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.room-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.room-features li {
  background: var(--linen);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 24px;
  letter-spacing: 0.02em;
}

/* --- PARALLAX DIVIDER --- */
.parallax-divider {
  position: relative;
  height: 480px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 54, 40, 0.6);
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 32px;
}
.parallax-quote {
  font-family: var(--font-display);
  font-style: italic;
  color: #fff;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  max-width: 680px;
  line-height: 1.7;
  font-weight: 400;
  margin: 0 auto;
}
.quote-mark {
  color: var(--warm-light);
  font-size: 1.5em;
  vertical-align: -0.1em;
}

/* --- PARC --- */
.parc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.parc-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.parc-text strong { color: var(--sage-dark); font-weight: 600; }
.parc-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.parc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.parc-image:hover img { transform: scale(1.04); }

.parc-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.highlight-card {
  text-align: center;
  padding: 48px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}
.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.highlight-card h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.highlight-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- ACTIVITIES --- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.activity-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-dramatic);
  border-color: transparent;
}

.activity-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.activity-card:hover .activity-img img { transform: scale(1.06); }

.activity-info {
  padding: 28px;
}
.activity-tag {
  display: inline-block;
  background: var(--warm-pale);
  color: var(--warm);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.activity-info h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.activity-info p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* --- PHOTO GRID --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
}
.photo-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
}
.photo-item:hover img { transform: scale(1.06); }
.photo-item:hover::after { background: rgba(0, 0, 0, 0.1); }

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lightbox.active .lightbox-img {
  opacity: 1;
  transform: scale(1);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 16px;
  transition: all var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  color: #fff;
}
.lightbox-close {
  top: 24px; right: 32px;
  font-size: 2rem;
  font-weight: 300;
}
.lightbox-prev {
  left: 32px; top: 50%; transform: translateY(-50%);
}
.lightbox-next {
  right: 32px; top: 50%; transform: translateY(-50%);
}
.lightbox-counter {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* --- PRICING --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 36px;
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-dramatic);
  border-color: transparent;
}

.price-card--featured {
  border: 2px solid var(--sage);
  transform: scale(1.04);
  box-shadow: var(--shadow-medium);
}
.price-card--featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-dramatic);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-header h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.price-currency {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: 400;
}
.price-period {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.price-features {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}
.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.9rem;
}
.price-features li:last-child { border: none; }
.price-features li::before {
  content: "\2713";
  color: var(--sage);
  font-weight: 700;
  margin-right: 12px;
}

.booking-platforms {
  text-align: center;
}
.booking-platforms > p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.platforms {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: all var(--transition);
}
a.platform-badge:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--linen-dark);
  border-radius: 50%;
  color: var(--sage);
}
.contact-item h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}
.contact-item a { color: var(--sage); }

.contact-map { margin-top: 8px; }

.contact-form {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--linen);
  color: var(--text);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 107, 84, 0.1);
}

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

/* --- FOOTER --- */
.footer {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-brand h3 em {
  font-weight: 400;
  color: var(--warm-light);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a {
  color: var(--warm-light);
}
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 28px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* --- REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for grid children */
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.rooms-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.rooms-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

.activities-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.activities-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.activities-grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.activities-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.activities-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.parc-highlights .reveal:nth-child(2) { transition-delay: 0.15s; }
.parc-highlights .reveal:nth-child(3) { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { gap: 20px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  html { font-size: 16px; }

  .header-top {
    display: flex;
    justify-content: center;
    padding: 7px 16px;
    text-align: center;
  }
  .header-tagline { display: none; }
  .header-address { display: none; }

  .nav { padding: 0 20px; }
  .nav-logo::after { display: none; }
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    padding: 100px 28px 40px;
    gap: 2px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }
  .nav-menu.open { right: 0; }
  .nav-menu .nav-link {
    color: var(--text);
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    text-transform: none;
    letter-spacing: 0.02em;
    border-left: 2px solid transparent;
    border-radius: 0;
  }
  .nav-menu .nav-link::after { display: none; }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: var(--linen-dark);
    color: var(--sage-dark);
    border-left-color: var(--warm);
  }
  .nav-menu .nav-link--cta {
    margin-top: 16px;
    color: #fff !important;
    text-align: center;
    border-left: none;
    border-radius: 100px;
    padding: 14px 24px;
  }

  .container { padding: 0 20px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .hero-title-line { font-size: 2.8rem; }
  .hero-title-line--italic { font-size: 1.8rem; }
  .hero-desc { font-size: 1rem; }
  .hero-badge-line { width: 30px; }
  .hero-slide-counter { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding: 28px 20px; }
  .feature-number { font-size: 1.6rem; margin-bottom: 16px; }

  .presentation-gallery { grid-template-columns: 1fr; gap: 16px; }
  .gallery-side { flex-direction: row; }

  .equipments { padding: 32px 20px; }
  .equip-grid { grid-template-columns: 1fr; gap: 12px; }

  .rooms-grid { grid-template-columns: 1fr; gap: 24px; }
  .room-info { padding: 24px; }

  .parc-content { grid-template-columns: 1fr; gap: 32px; }
  .parc-highlights { grid-template-columns: 1fr; gap: 20px; }
  .highlight-card { padding: 32px 24px; }

  .activities-grid { grid-template-columns: 1fr; gap: 20px; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photo-item--wide { grid-column: span 2; }

  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card { padding: 36px 28px; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer { padding: 56px 0 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }

  .parallax-divider {
    background-attachment: scroll;
    height: 320px;
  }
  .parallax-quote { font-size: 1.1rem; }

  .platforms { flex-direction: column; align-items: center; }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .gallery-side { flex-direction: column; }

  .photo-grid { grid-template-columns: 1fr; }
  .photo-item--wide { grid-column: span 1; aspect-ratio: 4/3; }

  .price-amount { font-size: 2.5rem; }
}

/* --- TOUCH — no hover animations on mobile --- */
@media (hover: none) {
  .feature-card:hover,
  .room-card:hover,
  .activity-card:hover,
  .price-card:hover,
  .highlight-card:hover { transform: none; }
  .room-card:hover .room-img img,
  .activity-card:hover .activity-img img,
  .photo-item:hover img,
  .gallery-main:hover img,
  .gallery-side div:hover img,
  .parc-image:hover img { transform: none; }
  .price-card--featured:hover { transform: scale(1.04); }
  .gallery-caption { opacity: 1; transform: translateY(0); }
  .photo-item:hover::after { background: none; }
}

/* --- SAFE AREA (notch) --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .nav-menu { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

/* --- SELECTION COLOR --- */
::selection {
  background: var(--sage-light);
  color: #fff;
}
