/* ============================================
   HOTEL MINIMAL — Design System
   Paleta: Verde bosque · Salvia · Beige piedra · Hueso · Terracota
   Tipo: Playfair Display + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* --- TOKENS --- */
:root {
  --white:    #F7F5F0;   /* Blanco hueso */
  --cream:    #EDE8DE;   /* Beige piedra claro (tono derivado) */
  --cream-2:  #D9CBB3;   /* Beige piedra */
  --ink:      #2F5D50;   /* Verde bosque */
  --ink-soft: #3D6B5E;   /* Verde bosque suavizado */
  --muted:    #5E7A5C;   /* Verde salvia oscura — legible sobre hueso */
  --gold:     #B56A4D;   /* Terracota */
  --gold-lt:  #CA907A;   /* Terracota claro */
  --border:   #D9CBB3;   /* Beige piedra */

  --radius-sm:  0.75rem;
  --radius-md:  1.25rem;
  --radius-lg:  2rem;
  --radius-xl:  2.5rem;

  --shadow-float: 0 8px 32px rgba(47,93,80,0.12);
  --shadow-card:  0 4px 20px rgba(47,93,80,0.08);
  --shadow-hover: 0 16px 48px rgba(47,93,80,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --gap:   2rem;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }

/* --- DOTS BACKGROUND PATTERN --- */
.dots-bg {
  background-color: var(--cream);
  background-image: radial-gradient(circle, #C0B49E 1px, transparent 1px);
  background-size: 22px 22px;
}

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(47,93,80,0.08);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.btn-nav {
  background: var(--ink);
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  -webkit-font-smoothing: antialiased;
}
.nav-links a.btn-nav,
.nav-links a.btn-nav:hover,
.nav-links a.btn-nav:active {
  color: #FFFFFF;
}
.btn-nav:hover { background: #1E3D34; transform: translateY(-1px); }
/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #1E3D34;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,93,80,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.8125rem 2rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-gold:hover {
  background: #924F36;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,106,77,0.35);
}

/* --- LAYOUT HELPERS --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* --- TYPOGRAPHY --- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
.display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: 1.375rem;
  font-weight: 600;
}
.body-lg { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.7; }
.body-sm { font-size: 0.875rem; color: var(--muted); }

/* --- FLOATING CARD --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
}
.card-body { padding: 1.5rem; }

/* --- BADGE --- */
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.badge-dark {
  background: var(--ink);
  color: var(--white);
}
.badge-gold {
  background: var(--gold);
  color: var(--white);
}

/* --- STAT PILL (floating) --- */
.stat-pill {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 1rem 1.5rem;
  display: inline-flex; align-items: center; gap: 0.875rem;
}
.stat-pill-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.stat-pill-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.125rem;
}
.stat-pill-label { font-size: 0.75rem; color: var(--muted); }

/* --- DIVIDER --- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- FOOTER --- */
footer {
  background: #1E3D34;
  color: rgba(247,245,240,0.75);
  padding: 4rem 0 2rem;
}
footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
footer .footer-logo span { color: var(--gold-lt); }
footer p { font-size: 0.875rem; line-height: 1.7; }
footer a { color: rgba(247,245,240,0.65); transition: color 0.2s; font-size: 0.875rem; }
footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,245,240,0.12);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247,245,240,0.40);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(247,245,240,0.35);
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(247,245,240,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,245,240,0.55);
  font-size: 0.875rem;
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* --- IMAGE SHAPES --- */
.img-rounded { border-radius: var(--radius-lg); object-fit: cover; }
.img-xl { border-radius: var(--radius-xl); }

/* --- FORM --- */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--ink);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233D6B5E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* --- AMENITY ICON --- */
.amenity {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.9rem; color: var(--ink-soft);
}
.amenity i { color: var(--gold); font-size: 0.875rem; width: 18px; text-align: center; }

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- NAV SCROLL JS --- */

/* --- COMPARTIDOS MULTI-PÁGINA --- */

/* CTA Band — index, nosotros */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 4rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(247,245,240,0.80); margin-top: 0.5rem; max-width: 420px; }

/* Section Header — index, nosotros, habitacion-single */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.section-header-left { max-width: 540px; }

/* Page Hero base — habitaciones, nosotros */
.page-hero {
  background-color: var(--cream);
  background-image: radial-gradient(circle, #C0B49E 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Breadcrumb — habitacion-single */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--muted);
  padding: 1.25rem 0 0.5rem;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb i { font-size: 0.6rem; }