/* ============================================================
   CASA PLAYA VARADERO — Quiet Luxury / Awwwards Style
   Design: Minimalist, Editorial, High-Contrast, Fluid
   ============================================================ */

/* ==================== DESIGN TOKENS ==================== */
:root {
  /* ── Quiet Luxury Palette ── */
  --bg-primary:   #F8F7F5; /* Crisp Off-White */
  --bg-secondary: #EBE7DF; /* Cream / Stone */
  --bg-dark:      #121212; /* Deep Charcoal, almost black */

  --text-primary: #121212;
  --text-secondary: #5C5C5C;
  --text-light:   #FFFFFF;

  --accent:       #A38B71; /* Muted Clay/Sand */

  /* ── Typography ── */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, sans-serif;

  /* ── Layout & Spacing ── */
  --container-max: 1400px;
  --pad-section:   160px;
  --pad-mobile:    80px;

  /* ── Motion ── */
  --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-slow:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:     0.3s var(--ease-fluid);
  --t-base:     0.6s var(--ease-fluid);
  --t-slow:     1.2s var(--ease-slow);
}

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

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: auto; }
button { font-family: inherit; cursor: auto; border: none; background: none; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--bg-dark);
  color: var(--bg-primary);
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out, width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Hover state classes */
body.hovering .cursor-dot {
  width: 0; height: 0; opacity: 0;
}
body.hovering .cursor-outline {
  width: 60px; height: 60px;
  background-color: #ffffff;
  border-color: #ffffff;
  /* removed backdrop-filter to ensure mix-blend-mode difference works perfectly */
}

body.hovering-dark .cursor-dot { background-color: var(--text-light); }
body.hovering-dark .cursor-outline { border-color: rgba(255,255,255,0.4); background-color: rgba(255,255,255,0.1); }

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  body, a, button, html { cursor: auto; }
  .cursor-dot, .cursor-outline { display: none; }
}

/* ==================== PRELOADER ==================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
  transform-origin: top;
  opacity: 1;
}

.preloader-text {
  font-family: var(--font-serif);
  color: var(--text-light);
  font-size: 2rem;
  letter-spacing: 0.2em;
}

.preloader.is-loaded {
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
}

/* ==================== SPLIT TEXT ==================== */
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em; /* prevent descender cutoff */
  margin-right: 0.25em; /* space between words */
}

.split-text .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.split-text.is-visible .word-inner {
  transform: translateY(0);
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference; /* Highly editorial effect */
  color: var(--text-light);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: translateX(-101%);
  transition: transform var(--t-base);
}

.nav-link:hover::after { transform: translateX(0); }

/* Hamburger */
.nav-toggle { display: none; color: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; background: transparent; border: none; padding: 0; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7; /* Darken for text legibility */
  transform: scale(1.05);
  animation: heroZoom 14s linear forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  z-index: 10;
  padding: 0 40px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp var(--t-slow) 0.5s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}

.hero-title i {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 300;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp var(--t-slow) 0.9s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  opacity: 0;
  animation: fadeUp var(--t-slow) 1.2s forwards;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--text-light);
  animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==================== STICKY BOOKING WIDGET ==================== */
.sticky-widget {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sticky-book {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 100px;
  transition: transform var(--t-base), background-color var(--t-fast);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: none;
}

.sticky-book:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.sticky-book svg.btn-icon {
  width: 16px; height: 16px;
  transition: transform var(--t-fast);
}

.sticky-book:hover svg.btn-icon { transform: translateX(4px) rotate(-45deg); }

.sticky-book .btn-close {
  display: none;
  font-size: 1.2rem;
  line-height: 1;
}

/* Expanded Menu */
.booking-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  width: 340px;
  transform-origin: bottom right;
  transform: scale(0.8) translate(20px, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-fluid), opacity 0.3s ease;
  border: 1px solid rgba(18,18,18,0.08);
}

.sticky-widget.is-open .booking-menu {
  transform: scale(1) translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-widget.is-open .sticky-book {
  background: var(--accent);
}

.sticky-widget.is-open .sticky-book .btn-text,
.sticky-widget.is-open .sticky-book .btn-icon {
  display: none;
}

.sticky-widget.is-open .sticky-book .btn-close {
  display: block;
}

.promo-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.promo-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.booking-option {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(18,18,18,0.04);
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background var(--t-fast), transform var(--t-fast);
}

.booking-option:hover {
  background: rgba(18,18,18,0.08);
  transform: translateX(-4px);
}

.booking-divider {
  height: 1px;
  background: rgba(18,18,18,0.1);
  margin: 20px 0;
}

/* ==================== SECTIONS & TYPOGRAPHY ==================== */
.section { padding: var(--pad-section) 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-cream { background: var(--bg-secondary); }

.heading-lg {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.heading-md {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
}

.text-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
}

.section-dark .text-lead { color: rgba(255,255,255,0.7); }

/* ==================== EDITORIAL LA CASA ==================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.editorial-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-list-minimal {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(18,18,18,0.1);
  padding-top: 40px;
}

.feature-list-minimal li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18,18,18,0.1);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.feature-list-minimal span {
  font-weight: 300;
  color: var(--text-secondary);
}

.feature-list-minimal strong {
  font-weight: 500;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* Image Reveal Mask */
.img-mask {
  position: relative;
  overflow: hidden;
  width: 100%;
}

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

.reveal-mask {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Starts hidden top */
  transition: clip-path var(--t-slow);
}

.reveal-mask.is-visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-mask.is-visible img { transform: scale(1); }

/* Parallax helper */
.parallax-img {
  will-change: transform;
}

/* ==================== SERVICES (Minimal) ==================== */
.services-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 80px;
}

.service-item {
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 30px;
}

.service-item h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.service-item p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* ==================== GALLERY (Asymmetrical) ==================== */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(18,18,18,0.1);
  padding-bottom: 40px;
}

.gallery-tabs {
  display: flex;
  gap: 30px;
}

.gallery-tab {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 5px;
}

.gallery-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}

.gallery-tab.active { color: var(--text-primary); }
.gallery-tab.active::after { transform: scaleX(1); }

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 20px;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px; /* subtle softening */
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.masonry-item:hover img { transform: scale(1.05); }

/* Collage logic: dynamically resize certain items to create an interlocking puzzle */
.masonry-item:nth-child(4n+1) {
  grid-column: span 2;
  grid-row: span 2;
}

.masonry-item:nth-child(5n+3) {
  grid-column: span 2;
}

.masonry-item:nth-child(7n) {
  grid-row: span 2;
}

/* ==================== BIG MARQUEE ==================== */
.marquee-container {
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg-primary);
  white-space: nowrap;
  display: flex;
  border-top: 1px solid rgba(18,18,18,0.1);
  border-bottom: 1px solid rgba(18,18,18,0.1);
}

.marquee-text {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  font-style: italic;
  text-transform: uppercase;
  display: inline-block;
  padding-right: 50px;
  animation: marquee 20s linear infinite;
  color: var(--bg-primary);
  -webkit-text-stroke: 1px var(--text-primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 120px 40px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 120px;
}

.footer-brand h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-brand p {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  font-size: 1.1rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 30px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-col a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

body {
  top: 0 !important;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.lightbox[aria-hidden="false"] {
  opacity: 1; pointer-events: auto;
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 24px;
}

.admin-panel.hidden {
  display: none;
}

.admin-panel__dialog {
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  box-shadow: 0 36px 120px rgba(0,0,0,0.18);
}

.admin-panel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #111;
  font-size: 1.3rem;
  cursor: pointer;
}

.admin-panel__section {
  margin-top: 28px;
}

.admin-panel__section h3 {
  margin-bottom: 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
}

.admin-panel__section label {
  display: block;
  margin-bottom: 16px;
  color: #222;
  font-size: 0.95rem;
}

.admin-panel__section input,
.admin-panel__section select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.admin-panel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

.admin-panel__image-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.admin-image-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px;
  background: #fafafa;
}

.admin-image-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-image-meta {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
  color: #444;
}

.admin-review-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background: #f7f7f7;
  margin-bottom: 12px;
  align-items: flex-start;
}

.admin-review-item p {
  margin: 8px 0 0;
}

.admin-review-delete {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: #111;
  cursor: pointer;
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.review-form-card {
  background: rgba(255,255,255,0.98);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.08);
}

.review-form-card h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.review-form label {
  display: block;
  color: #222;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.review-form textarea,
.review-form input,
.review-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.reviews-list {
  display: grid;
  gap: 18px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.08);
}

.review-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-weight: 600;
}

.review-stars {
  color: #f2b01e;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.review-card__comment {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

.review-card__footer {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #777;
}

.review-card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

.review-empty,
.admin-empty {
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  color: #555;
}

#secretContactTrigger {
  cursor: default;
}

.lightbox img {
  max-width: 85vw; max-height: 85vh;
  object-fit: contain;
}

.lb-close {
  position: absolute; top: 40px; right: 40px;
  color: var(--text-light); font-size: 1.5rem;
}

/* ==================== ANIMATION HELPERS ==================== */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 60px; }
  .services-minimal { grid-template-columns: 1fr; gap: 40px; }
  .service-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-left: 0; padding-top: 30px; }
  .masonry-grid { column-count: 2; }
  .footer-top { grid-template-columns: 1fr; gap: 60px; margin-bottom: 80px; }
}

@media (max-width: 768px) {
  .section { padding: var(--pad-mobile) 0; }
  .container { padding: 0 20px; }
  .site-header { padding: 20px; }
  .nav { display: none; position: absolute; top: 100%; right: 20px; left: 20px; padding: 20px; gap: 18px; background: rgba(248,247,245,0.98); backdrop-filter: blur(18px); border-radius: 24px; box-shadow: 0 28px 80px rgba(0,0,0,0.12); }
  .nav.is-open { display: flex; }
  .nav.is-open .nav-link { color: var(--text-dark); }
  .nav-toggle { display: block; }
  .sticky-widget { bottom: 20px; right: 20px; }
  .sticky-book { padding: 10px 20px; }
  .booking-menu { width: calc(100vw - 40px); bottom: 60px; padding: 20px; }
  .masonry-grid { 
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    grid-auto-rows: 120px; 
    gap: 10px; 
  }
  .gallery-controls { flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .site-header {
    padding: 18px 18px;
    gap: 16px;
  }

  .brand { font-size: 1.2rem; }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 0 18px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 8px;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .sticky-widget {
    bottom: 16px;
    right: 16px;
    left: auto;
    width: auto;
  }

  .booking-menu {
    width: calc(100vw - 36px);
    right: 0;
    left: 0;
    margin: 0 auto;
    padding: 22px;
  }

  .promo-text {
    font-size: 0.95rem;
  }

  .section { padding: 80px 0; }

  .feature-list-minimal li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 16px;
  }

  .gallery-controls {
    gap: 24px;
  }

  .gallery-tabs {
    flex-wrap: wrap;
    gap: 16px;
  }

  .masonry-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    grid-auto-rows: auto;
  }

  .masonry-item:nth-child(4n+1),
  .masonry-item:nth-child(5n+3),
  .masonry-item:nth-child(7n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .marquee-container {
    padding: 40px 0;
  }

  .marquee-text {
    font-size: clamp(1.6rem, 12vw, 2.8rem);
  }

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

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

  .review-form-card,
  .reviews-list {
    width: 100%;
  }

  .admin-panel__dialog {
    width: min(100%, 100%);
    max-height: 100vh;
    padding: 24px;
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  .admin-panel {
    align-items: flex-end;
    padding: 0;
  }

  .admin-panel__image-preview {
    grid-template-columns: 1fr;
  }

  .admin-image-item img {
    height: 140px;
  }

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

  .site-footer {
    padding: 80px 18px 24px;
  }
}
