/* ============================================
   San Luis Loft — Estilos principales
   ============================================ */

:root {
  --color-bg: #faf8f5;
  --color-bg-dark: #1a1612;
  --color-surface: #ffffff;
  --color-primary: #8b6914;
  --color-primary-light: #c4a035;
  --color-primary-dark: #6b5010;
  --color-accent: #2d4a3e;
  --color-text: #2c2419;
  --color-text-muted: #6b635a;
  --color-text-light: #f5f0e8;
  --color-border: #e8e0d4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(26, 22, 18, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 22, 18, 0.1);
  --shadow-lg: 0 20px 60px rgba(26, 22, 18, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2000;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary-light);
  display: block;
  margin-bottom: 24px;
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--color-primary-light);
  animation: preload 1.2s ease-in-out infinite;
}

@keyframes preload {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link,
.header.scrolled .logo-text {
  color: var(--color-text);
}

.header.scrolled .nav-cta {
  background: var(--color-primary);
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.header:not(.scrolled) .logo-text {
  color: var(--color-text-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-light);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  background: white;
  color: var(--color-text) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

.header.scrolled .nav-toggle span {
  background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: white;
  color: var(--color-text);
  border-color: white;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg #heroImage {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 22, 18, 0.75) 0%,
    rgba(26, 22, 18, 0.45) 50%,
    rgba(45, 74, 62, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.info-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.building-section {
  margin-bottom: 28px;
}

.building-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.building-section .about-features li {
  padding: 6px 0;
  font-size: 0.9rem;
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

.hero-stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-light);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  z-index: 2;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--color-accent);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* ---- About ---- */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-img-1 {
  grid-row: span 2;
}

.about-img-1 img {
  height: 100%;
  min-height: 400px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  color: white;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}

.about-text {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-features {
  margin-top: 32px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
}

.about-features svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---- Spaces ---- */
.spaces {
  background: var(--color-bg);
}

.space-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.space-card-image {
  position: relative;
  min-height: 400px;
}

.space-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--color-accent);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.space-card-content {
  padding: 48px 48px 48px 0;
}

.space-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.space-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.space-location svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.space-desc {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.space-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.spec svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.amenities h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.amenity {
  background: var(--color-bg);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

/* ---- Gallery ---- */
.gallery {
  padding-bottom: 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 8px;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 16px;
  transition: opacity var(--transition);
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close {
  top: 20px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---- Experience ---- */
.experience {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.experience .section-tag {
  color: var(--color-primary-light);
}

.experience .section-title em {
  color: var(--color-primary-light);
}

.experience .section-desc {
  color: rgba(255,255,255,0.7);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.experience-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.step {
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}

.step:hover {
  background: rgba(255,255,255,0.08);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  opacity: 0.5;
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* ---- Reviews ---- */
.reviews {
  background: var(--color-surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background: var(--color-bg);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card--featured {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.review-stars {
  color: var(--color-primary-light);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card--featured .review-stars {
  color: #ffd700;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card--featured .review-text {
  color: rgba(255,255,255,0.9);
}

.review-big-rating {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.review-card--stats .review-text {
  font-style: normal;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-source {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.review-card--featured .author-source {
  color: rgba(255,255,255,0.6);
}

.reviews-cta {
  text-align: center;
}

.reviews-cta .btn-outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

.reviews-cta .btn-outline:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ---- Location ---- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.location-text {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.location-points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.location-points li:last-child {
  border-bottom: none;
}

.point-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.location-points strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.location-points span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.location-map {
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  color: white;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner .btn-primary {
  background: white;
  color: var(--color-primary-dark);
  border-color: white;
}

.cta-banner .btn-primary:hover {
  background: var(--color-bg);
}

.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.5);
}

.cta-banner .btn-outline:hover {
  background: white;
  color: var(--color-primary-dark);
}

/* ---- Contact ---- */
.contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  padding: 12px 0;
  transition: color var(--transition);
}

.contact-link svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-form {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 16px;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-links h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ---- Instagram section ---- */
.instagram-section {
  background: var(--color-bg);
  padding-top: 0;
}

.instagram-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.instagram-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.instagram-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.instagram-preview img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-note {
  margin-top: 24px;
  text-align: center;
}

.gallery-note p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.gallery-note code {
  background: var(--color-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.map-btn {
  margin-top: 24px;
  color: var(--color-text);
  border-color: var(--color-border);
}

.map-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.location-content .btn-outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

.location-content .btn-outline:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ---- Nav actions & lang toggle ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}

.header:not(.scrolled) .lang-toggle {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

.lang-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ---- Responsive images in containers ---- */
.hero-bg picture,
.hero-bg picture img,
#heroImage picture,
#heroImage picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img picture,
.about-img picture img,
.space-card-image picture,
.space-card-image picture img,
#aboutImage1 picture img,
#aboutImage2 picture img,
#spaceImage picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img picture,
.about-img picture img {
  min-height: inherit;
}

#heroImage,
#aboutImage1,
#aboutImage2,
#spaceImage {
  width: 100%;
  height: 100%;
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--color-surface);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 12px;
  color: var(--color-text-muted);
  padding-right: 32px;
}

/* ---- Sticky booking bar ---- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(26, 22, 18, 0.1);
  transform: translateY(100%);
  transition: transform var(--transition);
  padding: 12px 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-bar-info strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.sticky-bar-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.sticky-bar .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 480px;
  margin: 0 auto;
  z-index: 10000;
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.cookie-banner .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.4);
}

/* ---- Instagram preview links ---- */
.instagram-preview-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.instagram-preview-item:hover {
  transform: scale(1.03);
}

.instagram-preview-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* ---- Legal pages ---- */
.legal-page {
  padding: calc(var(--header-height) + 48px) 0 80px;
  min-height: 60vh;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-primary);
  line-height: 1;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .preloader,
  .reveal,
  .sticky-bar,
  .whatsapp-float,
  .gallery-item,
  .btn,
  .nav-menu {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Animations on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-grid,
  .space-card,
  .experience-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .space-card-content {
    padding: 32px;
  }

  .space-card-image {
    min-height: 300px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-row: auto;
    grid-column: auto;
  }

  .gallery-item {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-top: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-img-1 {
    grid-row: auto;
  }

  .about-img-1 img {
    min-height: 280px;
  }

  .about-badge {
    right: 16px;
    bottom: -16px;
  }

  .experience-steps {
    grid-template-columns: 1fr;
  }

  .space-specs {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-stats {
    gap: 32px;
  }

  .location-map {
    height: 320px;
  }

  .contact-form {
    padding: 28px;
  }

  .instagram-banner {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .instagram-preview img {
    height: 120px;
  }

  .sticky-bar-info span {
    font-size: 0.75rem;
  }

  .sticky-bar .btn {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  body:has(.sticky-bar.visible) .whatsapp-float {
    bottom: 88px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 200px;
  }
}
