/* ==========================================================================
   Guest House George — Main Stylesheet
   Replicates the Tailwind / Cormorant Garamond + Inter design in vanilla CSS
   ========================================================================== */

/* ─── Design tokens ──────────────────────────────────────────────────── */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bg:           hsl(40 33% 96%);
  --fg:           hsl(241 48% 23%);
  --card:         hsl(40 33% 98%);
  --card-fg:      hsl(200 8% 19%);
  --muted:        hsl(40 20% 92%);
  --muted-fg:     hsl(200 5% 40%);
  --secondary:    hsl(241 48% 23%);
  --secondary-fg: hsl(40 33% 96%);
  --accent:       hsl(30 35% 64%);
  --accent-fg:    hsl(0 0% 100%);
  --border:       hsl(40 15% 88%);
  --primary-fg:   hsl(40 33% 96%);
  --destructive:  hsl(0 84% 60%);

  --sidebar-bg:        hsl(0 0% 7%);
  --sidebar-fg:        hsl(0 0% 90%);
  --sidebar-muted:     hsl(0 0% 60%);
  --sidebar-accent:    hsl(0 0% 14%);
  --sidebar-border:    hsl(0 0% 18%);
  --sidebar-primary:   hsl(30 35% 64%);

  --radius:       0.375rem;
  --radius-sm:    calc(var(--radius) - 4px);

  --transition:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ─── Typography utilities ───────────────────────────────────────────── */
.font-display { font-family: var(--font-display); letter-spacing: -0.02em; }
.font-body    { font-family: var(--font-body); }
.italic       { font-style: italic; }
.uppercase    { text-transform: uppercase; }
.tracking-wide   { letter-spacing: 0.05em; }
.tracking-wider  { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.2em; }
.text-secondary { color: var(--secondary); }
.text-accent    { color: var(--accent); }
.text-muted     { color: var(--muted-fg); }
.text-white     { color: #fff; }

/* ─── Layout helpers ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover { background: var(--fg); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.btn-outline:hover { background: #fff; color: var(--fg); }
.btn-ghost { color: var(--fg); padding: 0.5rem 1rem; }
.btn-ghost:hover { color: var(--accent); }

/* Shimmer effect for CTAs */
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.btn-shimmer:hover::before { left: 100%; }

/* ─── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 500ms;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 hsl(40 15% 88% / 0.5);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.navbar .navbar-brand { color: #fff; transition: color var(--transition); }
.navbar.scrolled .navbar-brand { color: var(--fg); }
.navbar-links { display: none; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.navbar-link {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.navbar-link:hover { color: #fff; }
.navbar-link.active { color: var(--accent); font-weight: 500; }
.navbar.scrolled .navbar-link { color: hsl(241 48% 23% / 0.7); }
.navbar.scrolled .navbar-link:hover { color: var(--fg); }
.navbar.scrolled .navbar-link.active { color: var(--accent); }

.navbar-toggle { display: block; padding: 0.5rem; color: #fff; }
.navbar.scrolled .navbar-toggle { color: var(--fg); }
@media (min-width: 768px) { .navbar-toggle { display: none; } }

.navbar-mobile {
  display: none;
  background: rgba(245, 240, 230, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar-mobile.open { display: block; }
.navbar-mobile-inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.navbar-mobile-inner .navbar-link {
  color: hsl(241 48% 23% / 0.8);
  font-size: 1.125rem;
}

/* ─── Hero Split (home) ──────────────────────────────────────────────── */
.hero-split {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-split { flex-direction: row; }
}
.hero-half {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-half-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1200ms;
}
.hero-half:hover .hero-half-bg { transform: scale(1.05); }
.hero-half-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background 700ms;
}
@media (min-width: 768px) {
  .hero-split:hover .hero-half:not(:hover) { flex: 0.7; }
  .hero-split:hover .hero-half:hover { flex: 1.3; }
  .hero-split:hover .hero-half:not(:hover) .hero-half-overlay { background: rgba(0,0,0,0.6); }
}
.hero-half-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.hero-half-logo {
  height: 6rem;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
@media (min-width: 768px) { .hero-half-logo { height: 8rem; } }
.hero-half-label {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.hero-half-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  max-width: 18rem;
  margin-bottom: 2rem;
}
.hero-divider { display: none; width: 1px; background: rgba(255,255,255,0.2); z-index: 20; }
@media (min-width: 768px) { .hero-divider { display: block; } }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  animation: bob 2s ease-in-out infinite;
}
.scroll-indicator-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.scroll-indicator-mouse > div {
  width: 0.25rem;
  height: 0.5rem;
  background: rgba(255,255,255,0.6);
  border-radius: 9999px;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ─── Property hero (single property pages) ──────────────────────────── */
.property-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
.property-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.property-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.3), transparent);
}
.property-hero-content {
  position: relative; z-index: 10;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: 1.5rem;
}
.property-hero-logo {
  height: 6rem; width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
@media (min-width: 768px) { .property-hero-logo { height: 9rem; } }
.property-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .property-hero h1 { font-size: 4rem; } }
.property-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.75rem;
}

/* ─── Sections ───────────────────────────────────────────────────────── */
.section {
  padding: 6rem 1.5rem;
}
.section-muted { background: hsl(40 20% 92% / 0.5); }
.section-dark  { background: var(--fg); color: var(--primary-fg); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
  .section-title-lg { font-size: 4rem; }
}
.section-title-lg { font-family: var(--font-display); font-weight: 300; font-size: 2.5rem; letter-spacing: -0.02em; line-height: 1.1; }

.intro-section { padding: 6rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .intro-section { padding: 8rem 1.5rem; } }
.intro-section p.lead {
  color: var(--muted-fg);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 42rem;
  margin: 2rem auto 0;
}

/* ─── Grids ──────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.grid-2.reversed { direction: rtl; }
.grid-2.reversed > * { direction: ltr; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (min-width: 768px)  { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ─── Cards ──────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-pad { padding: 2rem; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.card p { color: var(--muted-fg); font-size: 0.875rem; line-height: 1.6; }

.amenity-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius-sm);
}
.amenity-icon {
  display: inline-flex;
  padding: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  color: var(--accent);
}
.amenity-card h3 { font-weight: 500; font-family: var(--font-body); font-size: 1rem; margin-bottom: 0.5rem; }
.amenity-card p { font-size: 0.875rem; }

/* ─── Room cards ─────────────────────────────────────────────────────── */
.room-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.room-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.room-card-image {
  aspect-ratio: 3 / 2;
  background: var(--muted);
  overflow: hidden;
}
.room-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms;
}
.room-card:hover .room-card-image img { transform: scale(1.05); }
.room-card-body { padding: 1.5rem; }
.room-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.room-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 0.75rem;
}
.room-card p.desc {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.room-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.room-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--muted);
  color: var(--muted-fg);
  border-radius: var(--radius-sm);
}
.room-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}
.room-card-cta:hover { color: var(--fg); }

/* ─── Feature grid (image + text) ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-grid.reversed > div:first-child { order: 1; }
@media (min-width: 1024px) {
  .feature-grid.reversed > div:first-child { order: 2; }
}
.feature-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.feature-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-image-tall img { aspect-ratio: 3 / 4; }

/* ─── Property showcase (home) ───────────────────────────────────────── */
.property-showcase { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .property-showcase { padding: 6rem 1.5rem; } }
.property-showcase-item { margin-bottom: 6rem; }
.property-showcase-item:last-child { margin-bottom: 0; }
.property-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .property-showcase-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.property-showcase-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.property-showcase-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1200ms;
}
.property-showcase-img-wrap:hover img { transform: scale(1.05); }
.property-showcase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}
.property-showcase-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.property-showcase-feature .icon-bg {
  padding: 0.5rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  display: flex;
}
.property-showcase-feature span { font-size: 0.875rem; }

/* ─── Stats bar ──────────────────────────────────────────────────────── */
.stats-bar { padding: 4rem 1.5rem; background: var(--fg); color: var(--primary-fg); }
.stats-bar-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .stats-bar-inner { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }

/* ─── Booking bar ────────────────────────────────────────────────────── */
.booking-bar-section { padding: 4rem 1.5rem; }
.booking-bar {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--fg);
  color: var(--primary-fg);
  border-radius: 0.5rem;
  padding: 2rem;
}
@media (min-width: 768px) { .booking-bar { padding: 2.5rem; } }
.booking-bar h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 2rem;
}
.booking-bar-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .booking-bar-controls { flex-direction: row; gap: 1.5rem; }
}
.booking-toggle {
  display: flex;
  background: rgba(245,240,230,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.booking-toggle button {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245,240,230,0.6);
  transition: all var(--transition);
}
.booking-toggle button:hover { color: var(--primary-fg); }
.booking-toggle button.active { background: var(--accent); color: #fff; }

/* ─── Forms ──────────────────────────────────────────────────────────── */
.form {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-fg);
  margin-bottom: 0.375rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--fg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsl(30 35% 64% / 0.15);
}
.form-input.error, .form-textarea.error, .form-select.error { border-color: var(--destructive); }
.form-error-msg { color: var(--destructive); font-size: 0.8125rem; margin-top: 0.375rem; }

/* Custom checkbox */
.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-mark {
  display: inline-block;
  width: 1.125rem; height: 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  transition: all var(--transition);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}
.checkbox input:checked + .checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox input:checked + .checkbox-mark::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ─── Contact page ───────────────────────────────────────────────────── */
.contact-section { padding: 8rem 1.5rem 6rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  padding: 0.75rem;
  background: var(--muted);
  border-radius: var(--radius-sm);
  color: var(--accent);
  display: flex;
}
.contact-info-label { font-size: 0.875rem; color: var(--muted-fg); }
.contact-info-value { font-weight: 500; transition: color var(--transition); }
.contact-info-item:hover .contact-info-value { color: var(--accent); }
.contact-success {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 3rem;
  text-align: center;
}
.contact-success-icon {
  display: inline-flex;
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: hsl(120 50% 90%);
  color: hsl(120 50% 35%);
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--fg);
  color: var(--primary-fg);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
@media (min-width: 1024px) { .footer-inner { padding: 4rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 4rem; width: auto; margin-bottom: 1rem; filter: brightness(2); }
.footer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245,240,230,0.6);
  margin-bottom: 1rem;
}
.footer h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(245,240,230,0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(245,240,230,0.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.4);
}
.footer-bottom .credit:hover { color: #fff; }
.footer-bottom .admin-link {
  display: inline-flex;
  padding: 0.5rem;
  color: rgba(245,240,230,0.2);
  border-radius: 9999px;
  transition: all var(--transition);
}
.footer-bottom .admin-link:hover {
  color: var(--accent);
  box-shadow: 0 0 8px hsl(30 35% 64% / 0.4);
}
.footer-bottom-end { display: flex; align-items: center; gap: 0.75rem; }
.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-row a {
  padding: 0.5rem;
  color: rgba(245,240,230,0.4);
  display: inline-flex;
}
.social-row a:hover { color: var(--accent); }
.social-row svg { width: 1.25rem; height: 1.25rem; }

/* ─── Scroll reveal ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { transform: translateX(-30px); }
.reveal-left.visible  { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.visible { transform: translateX(0); }

/* ─── Modal (success / dialogs) ──────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 300ms;
}
.modal-backdrop.open .modal { transform: scale(1); }

/* ─── Map embed ──────────────────────────────────────────────────────── */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* ─── Tabs (rooms/units listing) ─────────────────────────────────────── */
.tab-row {
  display: inline-flex;
  background: var(--muted);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  margin: 0 auto 2.5rem;
}
.tab-row button {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--muted-fg);
  transition: all var(--transition);
}
.tab-row button.active { background: var(--accent); color: #fff; }

/* ─── Utility ────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* ─── Alerts ─────────────────────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.alert-success { background: hsl(120 50% 92%); color: hsl(120 50% 25%); border: 1px solid hsl(120 50% 80%); }
.alert-error   { background: hsl(0 84% 95%);   color: hsl(0 70% 35%);   border: 1px solid hsl(0 84% 85%); }
.alert-info    { background: hsl(210 80% 95%); color: hsl(210 80% 30%); border: 1px solid hsl(210 80% 85%); }

/* ─── Loading spinner ────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 1rem; height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Admin Panel — Dark theme
   ========================================================================== */
.admin-page {
  background: var(--sidebar-bg);
  color: var(--sidebar-fg);
  min-height: 100vh;
  display: flex;
  font-family: var(--font-body);
}
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--sidebar-border);
}
.admin-sidebar-header h1 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sidebar-fg);
}
.admin-sidebar-nav { padding: 0.5rem; flex: 1; overflow-y: auto; }
.admin-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  margin-bottom: 0.25rem;
}
.admin-tab:hover { background: var(--sidebar-accent); color: var(--sidebar-fg); }
.admin-tab.active { background: var(--sidebar-accent); color: var(--sidebar-primary); font-weight: 500; }
.admin-tab svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.admin-sidebar-footer { padding: 0.5rem; border-top: 1px solid var(--sidebar-border); }
.admin-logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: hsl(0 70% 65%);
  transition: all var(--transition);
}
.admin-logout:hover { background: hsl(0 70% 30% / 0.15); }
.admin-main {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
}
.admin-main h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--sidebar-fg);
}
.admin-card {
  background: var(--sidebar-accent);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--sidebar-fg);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .admin-grid { grid-template-columns: 1fr 1fr; } }
.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--sidebar-bg);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--sidebar-fg);
  transition: border-color var(--transition);
}
.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
  outline: 0;
  border-color: var(--sidebar-primary);
}
.admin-input::placeholder, .admin-textarea::placeholder { color: rgba(255,255,255,0.3); }
.admin-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.375rem;
}
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--sidebar-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.admin-btn:hover { background: hsl(30 35% 55%); }
.admin-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.admin-btn-ghost { background: transparent; color: var(--sidebar-fg); }
.admin-btn-ghost:hover { background: var(--sidebar-accent); }
.admin-btn-danger { background: hsl(0 70% 50%); color: #fff; }
.admin-btn-danger:hover { background: hsl(0 70% 40%); }
.admin-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--sidebar-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.admin-row-meta { display: flex; align-items: center; gap: 0.875rem; }
.admin-row-meta img { width: 3rem; height: 3rem; border-radius: var(--radius-sm); object-fit: cover; }
.admin-row-meta .label { font-size: 0.875rem; font-weight: 500; color: var(--sidebar-fg); }
.admin-row-meta .sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.admin-row-actions { display: flex; gap: 0.5rem; }

.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px)  { .admin-image-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .admin-image-grid { grid-template-columns: repeat(4, 1fr); } }
.admin-image-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--sidebar-accent);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.admin-image-tile img { width: 100%; height: 100%; object-fit: cover; }
.admin-image-tile .tile-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  opacity: 0;
}
.admin-image-tile:hover .tile-overlay { background: rgba(0,0,0,0.5); opacity: 1; }
.admin-image-tile .tile-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.375rem 0.5rem;
  background: rgba(0,0,0,0.6);
  font-size: 0.75rem;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}
.admin-image-tile:hover .tile-label { opacity: 1; }

.admin-upload-zone {
  border: 2px dashed var(--sidebar-border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.admin-upload-zone:hover, .admin-upload-zone.drag-over {
  border-color: var(--sidebar-primary);
  background: hsl(30 35% 64% / 0.05);
}
.admin-upload-zone p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 0.75rem; }

.admin-status-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-new     { background: var(--accent); color: #fff; }
.badge-read    { background: var(--sidebar-border); color: var(--sidebar-fg); }
.badge-replied { background: hsl(120 50% 30% / 0.3); color: hsl(120 50% 60%); }
.badge-ok      { background: hsl(120 50% 30%); color: #fff; }
.badge-warn    { background: hsl(40 70% 40%); color: #fff; }
.badge-err     { background: hsl(0 70% 40%); color: #fff; }

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sidebar-bg);
  padding: 1.5rem;
}
.admin-login-card {
  width: 100%;
  max-width: 24rem;
  background: var(--sidebar-accent);
  border: 1px solid var(--sidebar-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.admin-login-card h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--sidebar-fg);
}
.admin-login-card .sub { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }

/* Mobile admin */
@media (max-width: 767px) {
  .admin-page { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-sidebar-nav { display: flex; overflow-x: auto; padding: 0.5rem; gap: 0.25rem; }
  .admin-sidebar-nav .admin-tab { white-space: nowrap; flex-shrink: 0; }
  .admin-main { padding: 1.5rem; }
}
