/* ============================================================
   SANDALU — Design tokens y base global
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  /* Colores de marca */
  --sd-teal: #328e9d;
  --sd-sand: #e6e4d1;
  --sd-white: #f8fdff;
  --sd-ink: #1c2a2d;
  --sd-muted: #6b7a7d;
  --sd-teal-dark: #25707c;

  /* Tipografía */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Bordes */
  --border-thin: 1px solid var(--sd-sand);
  --radius: 4px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-slow: 1.4s;
  --dur-mid: 1s;

  --navbar-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--sd-white);
  color: var(--sd-ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
}

/* ============================================================
   Preloader
   ============================================================ */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--sd-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: clamp(220px, 32vw, 420px);
  margin: 0 auto;
  opacity: 0;
}

.preloader-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.preloader-line {
  width: 160px;
  height: 1px;
  background: rgba(248, 253, 255, 0.3);
  margin: var(--space-md) auto 0;
  overflow: hidden;
}

.preloader-line-fill {
  width: 0%;
  height: 100%;
  background: var(--sd-white);
}

/* cortina que se abre desde el centro hacia afuera (efecto telon) */
.preloader-curtain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

.preloader-curtain span {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--sd-teal);
}

.preloader-curtain span:first-child { left: 0; }
.preloader-curtain span:last-child { right: 0; }

/* ============================================================
   Cortina de transicion entre paginas
   ============================================================ */

#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: var(--sd-teal);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ============================================================
   Navbar
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.navbar.is-scrolled {
  background: var(--sd-teal);
  box-shadow: 0 4px 20px rgba(28, 42, 45, 0.15);
}

.navbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sd-white);
}

.navbar-book-btn {
  border: 1px solid var(--sd-white);
  padding: 0.7em 1.6em;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: var(--sd-white);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.navbar-book-btn:hover {
  background: var(--sd-white);
  border-color: var(--sd-white);
  color: var(--sd-teal-dark);
}

.navbar-toggle {
  display: none;
}

@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }

  .navbar-toggle {
    display: block;
    background: none;
    border: none;
  }
}

/* ============================================================
   Secciones placeholder (Fase 1 — contenido real en Fase 2)
   ============================================================ */

.section-stub {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: var(--border-thin);
}

.section-stub .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-stub-label {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--sd-muted);
  text-align: center;
}

#hero.section-stub {
  background: var(--sd-ink);
  color: var(--sd-white);
}

#hero .eyebrow { color: rgba(248,253,255,0.6); }
#hero .section-stub-label { color: var(--sd-white); }

#contact.section-stub {
  background: var(--sd-sand);
}

/* ============================================================
   Cursor personalizado (solo desktop)
   ============================================================ */

.sd-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--sd-ink);
  pointer-events: none;
  z-index: 9000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sd-white);
  opacity: 0;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.sd-cursor.is-visible {
  opacity: 1;
}

.sd-cursor.is-active {
  width: 64px;
  height: 64px;
  background: var(--sd-ink);
  border-color: var(--sd-ink);
}

@media (max-width: 900px), (pointer: coarse) {
  .sd-cursor {
    display: none;
  }
}

/* ============================================================
   Grano de pelicula
   ============================================================ */

#film-grain {
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Accesibilidad: prefers-reduced-motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .sd-cursor {
    display: none;
  }

  #film-grain {
    opacity: 0.02;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Botones y utilidades compartidas
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em 2.2em;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sd-teal);
  color: var(--sd-white);
  border-color: var(--sd-teal);
}

.btn-primary:hover {
  background: var(--sd-teal-dark);
  border-color: var(--sd-teal-dark);
}

.btn-outline {
  background: transparent;
  color: var(--sd-ink);
  border-color: var(--sd-ink);
}

.btn-outline:hover {
  background: var(--sd-ink);
  color: var(--sd-white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}

.section-head .eyebrow {
  display: block;
  margin-bottom: var(--space-xs);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.reveal-mask {
  overflow: hidden;
  position: relative;
}

.reveal-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reveal-mask-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--sd-sand);
  pointer-events: none;
}

.split-line {
  overflow: hidden;
  display: block;
}

/* ============================================================
   Hero
   ============================================================ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--sd-white);
  overflow: hidden;
  background: var(--sd-teal);
}

.hero-media {
  position: absolute;
  inset: -5%;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,45,0.35) 0%, rgba(28,42,45,0.15) 45%, rgba(28,42,45,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md) var(--space-xl);
  width: 100%;
}

.hero-content .eyebrow {
  color: rgba(248,253,255,0.75);
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 16ch;
  margin: var(--space-sm) 0 var(--space-md);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(248,253,255,0.5);
}

@media (max-width: 768px) {
  .hero-cta { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .scroll-cue { display: none; }
}

/* ============================================================
   About
   ============================================================ */

#about {
  padding: var(--space-xl) 0;
  text-align: center;
}

.about-lines {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--sd-ink);
  line-height: 1.5;
}

.about-lines .split-line {
  opacity: 1;
}

/* ============================================================
   Stays
   ============================================================ */

#stays {
  padding: var(--space-xl) 0;
  background: var(--sd-white);
}

.stays-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: 0 var(--space-md);
}

@media (max-width: 900px) {
  .stays-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stay-card {
  position: relative;
  display: block;
}

.stay-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sd-sand);
}

.stay-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.stay-card:hover .stay-card-media img {
  transform: scale(1.08);
}

.stay-card-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--sd-white);
  color: var(--sd-ink);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5em 1em;
  z-index: 2;
}

.stay-card-badge-soon {
  background: var(--sd-teal);
  color: var(--sd-white);
}

.stay-card-body {
  padding-top: var(--space-sm);
}

.stay-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.2em;
}

.stay-card-location {
  color: var(--sd-muted);
  font-size: 0.85rem;
  margin-bottom: 0.6em;
}

.stay-card-specs {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.8em;
}

.stay-card-link {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sd-ink);
  padding-bottom: 2px;
}

@media (max-width: 560px) {
  .stays-track {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Featured stay
   ============================================================ */

#featured {
  padding: var(--space-xl) 0;
  background: var(--sd-ink);
  color: var(--sd-white);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.featured-gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.featured-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.featured-slide.is-active {
  opacity: 1;
}

.featured-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.featured-info .eyebrow {
  color: rgba(248,253,255,0.6);
}

.featured-info h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: var(--space-xs) 0 var(--space-sm);
}

.featured-info p {
  color: rgba(248,253,255,0.8);
  max-width: 46ch;
  margin-bottom: var(--space-md);
}

.featured-info .btn-outline {
  color: var(--sd-white);
  border-color: rgba(248,253,255,0.6);
}

.featured-info .btn-outline:hover {
  background: var(--sd-white);
  color: var(--sd-ink);
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Experience
   ============================================================ */

#experience {
  padding: var(--space-xl) 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.experience-item {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  border: var(--border-thin);
}

.experience-item svg {
  width: 32px;
  height: 32px;
  color: var(--sd-teal);
  margin-bottom: var(--space-sm);
}

.experience-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.experience-item p {
  color: var(--sd-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Superhost badge (animacion oficial de Airbnb)
   ============================================================ */

.superhost-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-lg) auto 0;
  padding: var(--space-lg) var(--space-md);
  border: var(--border-thin);
  max-width: 560px;
  text-align: center;
}

.superhost-strip video {
  width: 260px;
  height: 325px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .superhost-strip video {
    width: 200px;
    height: 250px;
  }
}

.superhost-strip-text .eyebrow {
  display: block;
}

.superhost-strip-text p {
  margin: 0.5em 0 0;
  color: var(--sd-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Testimonials
   ============================================================ */

#testimonials {
  padding: var(--space-xl) 0;
  background: var(--sd-sand);
}

.testimonial-stack {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 220px;
  text-align: center;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.testimonial-slide.is-active {
  opacity: 1;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.3em;
  margin-bottom: var(--space-sm);
  color: var(--sd-teal);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  margin-bottom: var(--space-sm);
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after { content: '\201D'; }

.testimonial-meta {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--sd-muted);
  text-transform: uppercase;
}

.testimonial-verified {
  display: inline-block;
  margin-top: 0.6em;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sd-teal-dark);
  border: 1px solid var(--sd-teal-dark);
  padding: 0.3em 0.8em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-top: var(--space-md);
}

.testimonial-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--sd-muted);
  opacity: 0.4;
  padding: 0;
}

.testimonial-dots button.is-active {
  opacity: 1;
  background: var(--sd-teal-dark);
}

/* ============================================================
   Contact
   ============================================================ */

#contact {
  padding: var(--space-xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.contact-info p {
  color: var(--sd-muted);
  margin-bottom: var(--space-md);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.contact-direct a {
  font-size: 0.95rem;
  border-bottom: 1px solid var(--sd-sand);
  padding-bottom: 0.6em;
}

.sd-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.sd-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.4em;
}

.sd-form input,
.sd-form select,
.sd-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--sd-sand);
  background: transparent;
  padding: 0.6em 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--sd-ink);
}

.sd-form input:focus,
.sd-form select:focus,
.sd-form textarea:focus {
  outline: none;
  border-color: var(--sd-teal);
}

.sd-form textarea {
  resize: vertical;
  min-height: 90px;
}

.sd-form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.8rem;
  color: var(--sd-muted);
}

.sd-form-privacy input {
  width: auto;
  margin-top: 0.2em;
}

.sd-form-privacy a {
  color: var(--sd-teal-dark);
  border-bottom: 1px solid currentColor;
}

.sd-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.sd-form-message {
  font-size: 0.85rem;
  padding: 0.8em 1em;
  border: 1px solid var(--sd-teal);
  color: var(--sd-teal-dark);
  display: none;
}

.sd-form-message.is-error {
  border-color: #b3554a;
  color: #b3554a;
}

.sd-form-message.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .sd-form .row-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--sd-ink);
  color: rgba(248,253,255,0.75);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(248,253,255,0.15);
  margin-bottom: var(--space-sm);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--sd-white);
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(248,253,255,0.6);
  margin-top: 0.4em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(248,253,255,0.45);
  flex-wrap: wrap;
  gap: 0.5em;
}

.dev-credit {
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(248, 253, 255, 0.08);
  font-size: 0.72rem;
  color: rgba(248, 253, 255, 0.35);
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dev-credit:hover {
  color: var(--sd-teal);
}

/* ============================================================
   Property page
   ============================================================ */

.property-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--sd-white);
  overflow: hidden;
  background: var(--sd-teal);
}

.property-hero-media {
  position: absolute;
  inset: -5%;
}

.property-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,42,45,0.25) 0%, rgba(28,42,45,0.75) 100%);
}

.property-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md) var(--space-lg);
}

.property-hero-content .eyebrow {
  color: rgba(248, 253, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.coming-soon-badge {
  display: inline-block;
  background: var(--sd-teal);
  color: var(--sd-white);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5em 1em;
  margin-bottom: var(--space-sm);
}

.coming-soon-note {
  color: var(--sd-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.property-hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin: 0.2em 0;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: var(--border-thin);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

.property-specs span strong {
  color: var(--sd-ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: block;
  text-transform: none;
  letter-spacing: 0;
}

.property-body {
  padding-bottom: var(--space-xl);
}

.property-section {
  padding: var(--space-lg) 0;
  border-top: var(--border-thin);
}

.property-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
}

.property-description p {
  max-width: 70ch;
  color: var(--sd-ink);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.property-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6em 1.5em;
}

.property-highlights li {
  padding-left: 1.4em;
  position: relative;
  color: var(--sd-muted);
  font-size: 0.92rem;
}

.property-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--sd-teal);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.5rem;
}

.gallery-grid button {
  border: none;
  padding: 0;
  background: none;
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-grid button:hover img {
  transform: scale(1.05);
}

.gallery-grid button:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid button:nth-child(6n+4) { grid-column: span 2; }

.gallery-more {
  position: relative;
}

.gallery-more::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  background: rgba(28,42,45,0.55);
  color: var(--sd-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid button:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(17, 24, 26, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
}

#lightbox.is-open {
  display: flex;
}

#lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--sd-white);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.lightbox-close {
  top: var(--space-md);
  right: var(--space-md);
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 0.5em;
}

.lightbox-prev { left: var(--space-sm); }
.lightbox-next { right: var(--space-sm); }

.lightbox-counter {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(248,253,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Amenities */

.amenities-featured {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  margin-bottom: var(--space-lg);
}

.amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: var(--border-thin);
  padding: 0.6em 1em;
  font-size: 0.82rem;
}

.amenity-pill svg {
  width: 18px;
  height: 18px;
  color: var(--sd-teal);
  flex-shrink: 0;
}

.amenities-groups {
  column-count: 3;
  column-gap: var(--space-lg);
}

.amenity-group {
  break-inside: avoid;
  margin-bottom: var(--space-md);
}

.amenity-group h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.8em;
  font-family: var(--font-body);
  font-weight: 500;
}

.amenity-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.amenity-group li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.9rem;
}

.amenity-group svg {
  width: 18px;
  height: 18px;
  color: var(--sd-teal);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .amenities-groups { column-count: 2; }
}
@media (max-width: 560px) {
  .amenities-groups { column-count: 1; }
  .property-highlights { grid-template-columns: 1fr; }
}

/* Rules / location */

.rules-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.rules-checkinout {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.rules-checkinout div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.map-placeholder {
  height: 360px;
  background: var(--sd-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sd-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Other stays (reutiliza estilos de stay-card) */

.other-stays-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 700px) {
  .other-stays-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Caja de reserva
   ============================================================ */

.property-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-lg);
  align-items: start;
}

.property-main {
  min-width: 0;
}

.booking-box {
  position: sticky;
  top: calc(var(--navbar-h) + var(--space-md));
  border: var(--border-thin);
  padding: var(--space-md);
  background: var(--sd-white);
}

.booking-box h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.booking-field {
  margin-bottom: var(--space-sm);
}

.booking-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.3em;
}

.booking-field input {
  width: 100%;
  border: 1px solid var(--sd-sand);
  padding: 0.6em 0.7em;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.booking-field input:focus {
  outline: none;
  border-color: var(--sd-teal);
}

.booking-error {
  font-size: 0.75rem;
  color: #b3554a;
  margin-top: 0.5em;
  display: none;
}

.booking-error.is-visible { display: block; }

.booking-box .btn {
  width: 100%;
  margin-top: 0.5em;
  white-space: normal;
  line-height: 1.3;
}

.booking-box .btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.booking-note {
  font-size: 0.72rem;
  color: var(--sd-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

.booking-mobile-bar {
  display: none;
}

@media (max-width: 1000px) {
  .property-layout {
    grid-template-columns: 1fr;
  }

  .booking-box {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 700;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    max-height: 85vh;
    overflow-y: auto;
    border-top: var(--border-thin);
    border-left: none;
    border-right: none;
    border-bottom: none;
  }

  .booking-box.is-open {
    transform: translateY(0);
  }

  .booking-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 650;
    background: var(--sd-white);
    border-top: var(--border-thin);
    padding: var(--space-sm) var(--space-md);
    align-items: center;
    justify-content: space-between;
  }

  .property-body {
    padding-bottom: 110px;
  }
}

/* ============================================================
   Concierge
   ============================================================ */

.sd-chat-toggle {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 3000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sd-teal);
  color: var(--sd-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 112, 124, 0.4);
  animation: sd-pulse 2.4s infinite;
}

.sd-chat-toggle svg { width: 24px; height: 24px; }

@keyframes sd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(50,142,157,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(50,142,157,0); }
  100% { box-shadow: 0 0 0 0 rgba(50,142,157,0); }
}

.sd-chat-bubble-hint {
  position: fixed;
  right: calc(var(--space-md) + 68px);
  bottom: calc(var(--space-md) + 18px);
  z-index: 2999;
  background: var(--sd-white);
  border: var(--border-thin);
  padding: 0.7em 2em 0.7em 1.1em;
  font-size: 0.82rem;
  max-width: 220px;
  box-shadow: 0 6px 24px rgba(28,42,45,0.12);
  cursor: pointer;
}

.sd-chat-hint-close {
  position: absolute;
  top: 0.3em;
  right: 0.4em;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  color: var(--sd-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.sd-chat-hint-close:hover {
  color: var(--sd-ink);
}

.sd-chat-panel {
  position: fixed;
  right: var(--space-md);
  bottom: calc(var(--space-md) + 74px);
  z-index: 3000;
  width: 360px;
  max-height: 70vh;
  background: var(--sd-white);
  border: var(--border-thin);
  box-shadow: 0 10px 40px rgba(28,42,45,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.sd-chat-panel.is-open { display: flex; }

.sd-chat-header {
  background: var(--sd-ink);
  color: var(--sd-white);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sd-chat-header strong {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.sd-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.sd-chat-restart-btn {
  font-size: 1.2rem;
  line-height: 1;
}

.sd-chat-header button {
  background: none;
  border: none;
  color: var(--sd-white);
  cursor: pointer;
  font-size: 1.1rem;
}

.sd-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.sd-msg {
  max-width: 85%;
  padding: 0.6em 0.9em;
  font-size: 0.88rem;
  border-radius: 2px;
  line-height: 1.45;
}

.sd-msg-bot {
  background: var(--sd-sand);
  align-self: flex-start;
}

.sd-msg-user {
  background: var(--sd-teal);
  color: var(--sd-white);
  align-self: flex-end;
}

.sd-chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.sd-chat-options button {
  text-align: left;
  border: 1px solid var(--sd-teal);
  color: var(--sd-teal-dark);
  background: transparent;
  padding: 0.6em 0.9em;
  font-size: 0.85rem;
}

.sd-chat-options button:hover {
  background: var(--sd-teal);
  color: var(--sd-white);
}

.sd-chat-footer {
  border-top: var(--border-thin);
  padding: var(--space-sm);
  display: flex;
  gap: 0.5em;
}

.sd-chat-footer input {
  flex: 1;
  border: 1px solid var(--sd-sand);
  padding: 0.6em 0.8em;
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.sd-chat-footer input:focus { outline: none; border-color: var(--sd-teal); }

.sd-chat-footer button {
  border: none;
  background: var(--sd-teal);
  color: var(--sd-white);
  padding: 0 1em;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sd-chat-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-size: 0.75rem;
  color: var(--sd-muted);
  padding: 0 var(--space-sm) 0.4em;
}

.sd-chat-privacy a { color: var(--sd-teal-dark); border-bottom: 1px solid currentColor; }

.sd-chat-restart {
  font-size: 0.72rem;
  color: var(--sd-muted);
  text-align: center;
  padding: 0.4em 0 0.8em;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 640px) {
  .sd-chat-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 100vh;
    height: 100%;
  }

  .sd-chat-bubble-hint {
    right: var(--space-sm);
  }

  body[data-property] .sd-chat-toggle {
    bottom: calc(var(--space-md) + 60px);
  }
}
