/* ============================================================
   PENSION SCHÖNAICH — MAIN STYLESHEET
   Design: Refined Organic — Forest Green × Warm Cream × Gold
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-forest:     #1E3A2F;
  --clr-forest-mid: #2C5040;
  --clr-sage:       #5A8A74;
  --clr-sage-light: #A8C5B8;
  --clr-cream:      #F5F0E8;
  --clr-cream-warm: #EDE6D6;
  --clr-gold:       #C4973B;
  --clr-gold-light: #E8C882;
  --clr-text:       #1A1712;
  --clr-text-mid:   #3D3830;
  --clr-text-muted: #7A7060;
  --clr-white:      #FFFFFF;
  --clr-border:     rgba(30,58,47,0.12);

  /* Spacing (8dp scale) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

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

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(30,58,47,0.08);
  --shadow-md:  0 8px 32px rgba(30,58,47,0.12);
  --shadow-lg:  0 20px 60px rgba(30,58,47,0.18);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --t-fast:     150ms;
  --t-mid:      250ms;
  --t-slow:     400ms;

  /* Z-index scale */
  --z-base:     0;
  --z-above:    10;
  --z-nav:      40;
  --z-modal:    100;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--clr-text);
  background-color: var(--clr-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
address { font-style: normal; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-2);
  z-index: 1000;
  padding: var(--sp-1) var(--sp-2);
  background: var(--clr-forest);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-2); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--clr-forest);
}
h1 em, h2 em { font-style: italic; color: var(--clr-sage); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-1);
}
.section-eyebrow.light { color: var(--clr-gold-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--sp-2);
}
.section-title.light { color: var(--clr-cream); }
.section-title.light em { color: var(--clr-gold-light); }

.section-desc {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.body-text {
  font-size: 1rem;
  color: var(--clr-text-mid);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
  max-width: 540px;
}
.body-text.light { color: rgba(245,240,232,0.8); max-width: 100%; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section {
  padding: var(--sp-12) 0;
}
.section-alt { background-color: var(--clr-cream-warm); }
.section-dark {
  background-color: var(--clr-forest);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.section-header .section-desc { margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background var(--t-mid) var(--ease-out),
              color var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--clr-forest);
  color: var(--clr-cream);
  border: 2px solid var(--clr-forest);
}
.btn-primary:hover {
  background: var(--clr-forest-mid);
  border-color: var(--clr-forest-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-cream);
  border: 2px solid rgba(245,240,232,0.4);
}
.btn-ghost:hover {
  background: rgba(245,240,232,0.1);
  border-color: rgba(245,240,232,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--clr-forest);
  border: 2px solid var(--clr-forest);
}
.btn-outline:hover {
  background: var(--clr-forest);
  color: var(--clr-cream);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; min-height: 44px; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: var(--sp-3) 0;
  transition: background var(--t-slow) var(--ease-out),
              padding var(--t-mid) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
}
.nav-header.scrolled {
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--sp-2) 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--clr-cream);
  transition: color var(--t-mid);
}
.nav-header.scrolled .nav-logo { color: var(--clr-forest); }

.logo-mark {
  width: 38px; height: 38px;
  background: var(--clr-gold);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}
.logo-text em { font-style: italic; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245,240,232,0.85);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  min-height: 44px;
  display: flex; align-items: center;
}
.nav-link:hover { color: var(--clr-cream); background: rgba(245,240,232,0.1); }
.nav-header.scrolled .nav-link { color: var(--clr-text-mid); }
.nav-header.scrolled .nav-link:hover { color: var(--clr-forest); background: var(--clr-cream-warm); }

.nav-cta {
  background: var(--clr-gold);
  color: var(--clr-white) !important;
  border-radius: var(--radius-md);
  padding: 9px 20px;
}
.nav-cta:hover { background: var(--clr-forest) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-1);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-cream);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-fast);
}
.nav-header.scrolled .nav-toggle span { background: var(--clr-forest); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg-img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 18, 10, 0.82) 0%,
    rgba(12, 35, 22, 0.75) 50%,
    rgba(8, 28, 18, 0.70) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 0C17.9 0 0 17.9 0 40s17.9 40 40 40 40-17.9 40-40S62.1 0 40 0zm0 70C23.4 70 10 56.6 10 40S23.4 10 40 10s30 13.4 30 30-13.4 30-30 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: var(--z-above);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-16) var(--sp-3) var(--sp-10);
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--clr-cream);
  line-height: 1.08;
  margin-bottom: var(--sp-3);
}
.hero-title em {
  font-style: italic;
  color: var(--clr-gold-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(245,240,232,0.75);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.hero-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: var(--radius-md);
  color: var(--clr-cream);
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
}
.hero-badge strong { color: var(--clr-gold-light); font-weight: 600; }
.hero-badge svg { width: 16px; height: 16px; color: var(--clr-gold-light); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-above);
  color: rgba(245,240,232,0.5);
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--t-fast);
}
.hero-scroll:hover { color: var(--clr-cream); }
.hero-scroll svg { width: 28px; height: 28px; }

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

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ── BOOKING SECTION ─────────────────────────────────────── */
.booking-section {
  background: var(--clr-cream);
  border-bottom: 1px solid var(--clr-border);
}

.booking-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
}

.booking-header .section-desc {
  margin: 0 auto;
}

.booking-widget-wrap {
  width: 100%;
  max-width: 860px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-md);
  /* Ensure Sirvoy widget renders inside the box */
  overflow: hidden;
}

/* Sirvoy widget overrides — keep it on-brand */
.booking-widget-wrap iframe,
.booking-widget-wrap > div,
.booking-widget-wrap form {
  max-width: 100% !important;
  width: 100% !important;
}

.booking-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}
.booking-note svg {
  width: 15px; height: 15px;
  color: var(--clr-sage);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-widget-wrap {
    padding: var(--sp-3);
    border-radius: var(--radius-lg);
  }
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.about-img-frame {
  position: relative;
}

.about-img-real {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-sign-badge {
  position: absolute;
  top: -16px;
  right: -20px;
  width: 160px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--clr-white);
  z-index: 2;
}
.about-sign-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--clr-gold);
  color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-3);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.accent-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}
.accent-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-3);
}
.about-highlights li {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.9rem;
  color: var(--clr-text-mid);
}
.about-highlights li svg {
  width: 16px; height: 16px;
  color: var(--clr-sage);
  flex-shrink: 0;
}

/* ── ROOMS ───────────────────────────────────────────────── */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.rooms-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.room-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out);
  position: relative;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.room-card-featured {
  outline: 2px solid var(--clr-sage);
  outline-offset: -2px;
}

.room-badge {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  z-index: var(--z-above);
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.room-img {
  height: 220px;
  overflow: hidden;
}
.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.room-card:hover .room-img img { transform: scale(1.05); }

.room-content { padding: var(--sp-3); }

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-1);
  gap: var(--sp-1);
}
.room-title {
  font-size: 1.3rem;
}
.room-price {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-align: right;
  white-space: nowrap;
}
.room-price strong {
  font-size: 1.05rem;
  color: var(--clr-forest);
  font-family: var(--font-display);
  font-weight: 600;
}

.room-desc {
  font-size: 0.875rem;
  color: var(--clr-text-mid);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.room-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  background: var(--clr-cream);
  padding: 5px 10px;
  border-radius: 100px;
}
.room-features li svg { width: 13px; height: 13px; }

/* ── LOCATION ────────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: start;
}

/* Real Leaflet map */
.map-real-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  height: 480px;
}

#pension-map {
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Leaflet tile attribution overrides */
.leaflet-container {
  font-family: var(--font-body) !important;
}
.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(245,240,232,0.85) !important;
}

/* Rose marker */
.rose-marker-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.rose-marker-icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: transform var(--t-fast) var(--ease-out);
}
.rose-marker-wrap:hover .rose-marker-icon { transform: scale(1.15) translateY(-2px); }
.rose-marker-pin {
  width: 2px;
  height: 14px;
  background: var(--clr-forest);
  border-radius: 2px;
  margin-top: -2px;
}

/* Leaflet popup custom style */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid var(--clr-border) !important;
  padding: 0 !important;
  overflow: hidden;
}
.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
}
.leaflet-popup-tip-container { display: none; }
.map-popup {
  padding: 14px 18px;
  min-width: 200px;
}
.map-popup-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-forest);
  font-weight: 500;
  margin-bottom: 4px;
}
.map-popup-addr {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}
.map-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--clr-forest);
  background: var(--clr-cream);
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.map-popup-link:hover {
  background: var(--clr-forest);
  color: var(--clr-cream);
  border-color: var(--clr-forest);
}

/* Click-to-scroll overlay hint */
.map-overlay-hint {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(245,240,232,0.55);
  backdrop-filter: blur(2px);
  color: var(--clr-forest);
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.map-overlay-hint svg { width: 24px; height: 24px; }
.map-overlay-hint.hidden { opacity: 0; }

@media (max-width: 768px) {
  .map-real-wrap { height: 320px; }
  .map-overlay-hint { display: none; }
}

.location-distances {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.distance-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--sp-2);
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.distance-item:hover {
  border-color: var(--clr-sage-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.distance-icon {
  width: 44px; height: 44px;
  background: var(--clr-cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-forest);
}
.distance-icon svg { width: 20px; height: 20px; }

.distance-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: 2px;
}
.distance-detail {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.distance-value {
  text-align: right;
  flex-shrink: 0;
}
.dist-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--clr-forest);
  line-height: 1;
}
.dist-unit {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* ── AMENITIES ───────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.amenity-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  border: 1px solid var(--clr-border);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), transform var(--t-slow) var(--ease-out);
}
.amenity-item:hover {
  border-color: var(--clr-sage-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.amenity-icon {
  width: 48px; height: 48px;
  background: var(--clr-cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2);
  color: var(--clr-forest);
  transition: background var(--t-mid);
}
.amenity-item:hover .amenity-icon { background: var(--clr-forest); color: var(--clr-cream); }
.amenity-icon svg { width: 22px; height: 22px; }

.amenity-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.amenity-item p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: var(--sp-2);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 0;
  cursor: zoom-in;
}

.gallery-item-wide {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.gallery-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-2) var(--sp-2) var(--sp-1);
  background: linear-gradient(to top, rgba(5,18,10,0.7) 0%, transparent 100%);
  color: var(--clr-cream);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-mid), transform var(--t-mid) var(--ease-out);
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(5, 18, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.gallery-lightbox-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 44px; height: 44px;
  background: rgba(245,240,232,0.15);
  border: 1px solid rgba(245,240,232,0.25);
  border-radius: 50%;
  color: var(--clr-cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
  font-size: 1.4rem;
  line-height: 1;
}
.gallery-lightbox-close:hover { background: rgba(245,240,232,0.25); }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item-wide { grid-column: 1 / 3; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .gallery-item figcaption { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }
  .gallery-item,
  .gallery-item-wide,
  .gallery-item:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ── SIGHTS ──────────────────────────────────────────────── */
.sights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.sight-card {
  padding: var(--sp-3);
  background: var(--clr-cream-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: background var(--t-mid), border-color var(--t-mid), transform var(--t-slow) var(--ease-out);
}
.sight-card:hover {
  background: var(--clr-white);
  border-color: var(--clr-sage-light);
  transform: translateY(-3px);
}

.sight-icon {
  width: 44px; height: 44px;
  background: var(--clr-forest);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2);
  color: var(--clr-gold-light);
}
.sight-icon svg { width: 20px; height: 20px; }

.sight-title {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.sight-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--clr-gold);
  font-weight: 500;
  margin-bottom: var(--sp-1);
}
.sight-location svg { width: 12px; height: 12px; }

.sight-desc {
  font-size: 0.85rem;
  color: var(--clr-text-mid);
  line-height: 1.55;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
  position: relative;
  z-index: var(--z-above);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
}
.contact-details li svg {
  width: 20px; height: 20px;
  color: var(--clr-gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-details strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-gold-light);
  margin-bottom: 3px;
}
.contact-details span,
.contact-details a {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.5;
}
.contact-details a:hover { color: var(--clr-cream); text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  backdrop-filter: blur(8px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-2);
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245,240,232,0.7);
  letter-spacing: 0.03em;
}
.form-group label span { color: var(--clr-gold-light); }

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(245,240,232,0.07);
  border: 1px solid rgba(245,240,232,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--clr-cream);
  outline: none;
  transition: border-color var(--t-mid), background var(--t-mid);
  min-height: 48px;
  width: 100%;
}
.form-group select { color: rgba(245,240,232,0.7); }
.form-group select option { background: var(--clr-forest); color: var(--clr-cream); }

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,240,232,0.3);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-gold);
  background: rgba(245,240,232,0.12);
  outline: 2px solid rgba(196,151,59,0.3);
  outline-offset: 2px;
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e05050;
}

.form-error {
  font-size: 0.78rem;
  color: #ff8080;
  min-height: 18px;
}

.form-required-note {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.4);
  margin-bottom: var(--sp-2);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(90,138,116,0.2);
  border: 1px solid var(--clr-sage);
  border-radius: var(--radius-md);
  color: var(--clr-sage-light);
  margin-top: var(--sp-2);
}
.form-success svg { width: 20px; height: 20px; color: var(--clr-sage-light); flex-shrink: 0; }
.form-success p { font-size: 0.9rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--clr-forest);
  border-top: 1px solid rgba(245,240,232,0.08);
  padding: var(--sp-8) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.footer .nav-logo { color: var(--clr-cream); margin-bottom: var(--sp-2); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.5);
  line-height: 1.5;
}

.footer-nav-title,
.footer-contact .footer-nav-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-2);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.6);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--clr-cream); }

.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.footer-contact p {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.5;
}
.footer-contact a {
  color: rgba(245,240,232,0.6);
  transition: color var(--t-fast);
}
.footer-contact a:hover { color: var(--clr-cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(245,240,232,0.08);
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.35);
}
.footer-bottom nav {
  display: flex;
  gap: var(--sp-3);
}
.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.35);
  transition: color var(--t-fast);
}
.footer-bottom a:hover { color: rgba(245,240,232,0.7); }

.footer-credit {
  text-align: center;
  padding-top: var(--sp-2);
}
.footer-credit p {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.2);
}
.footer-credit a {
  color: rgba(245,240,232,0.35);
  transition: color var(--t-fast);
}
.footer-credit a:hover { color: var(--clr-gold-light); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
.br-desktop { display: block; }

@media (max-width: 1024px) {
  .rooms-grid,
  .rooms-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .sights-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .map-placeholder { aspect-ratio: auto; min-height: 300px; }
  .about-grid { gap: var(--sp-5); }
}

@media (max-width: 768px) {
  :root {
    --sp-12: 64px;
    --sp-10: 56px;
  }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--clr-forest);
    padding: var(--sp-16) var(--sp-3) var(--sp-5);
    flex-direction: column;
    gap: var(--sp-1);
    z-index: calc(var(--z-nav) - 1);
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: var(--clr-cream) !important; width: 100%; padding: 12px var(--sp-2); }
  .nav-link:hover { background: rgba(245,240,232,0.1) !important; }
  .nav-cta { text-align: center; justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .about-img-placeholder { aspect-ratio: 3/2; }

  .rooms-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .sights-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--sp-3); }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .hero-subtitle .br-desktop { display: none; }
  .hero-badges { gap: var(--sp-1); }

  .distance-item { grid-template-columns: 44px 1fr auto; }
}

@media (max-width: 480px) {
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-highlights { grid-template-columns: 1fr; }

  .distance-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .distance-value {
    display: none;
  }
  .distance-title::after {
    content: attr(data-dist);
  }
}
