/* =====================================================
   ALTIPLANICO HOTEL — DISEÑO MODERNO
   ===================================================== */

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

/* ---- Variables ---- */
:root {
  --gold:       #c9a96e;
  --gold-light: #e8d5a8;
  --dark:       #0f0f0f;
  --dark-2:     #1a1a1a;
  --dark-3:     #2a2a2a;
  --cream:      #f7f3ed;
  --cream-2:    #ede8df;
  --white:      #ffffff;
  --text:       #3a3a3a;
  --text-light: #6b6b6b;
  --nav-h:      80px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* evitar desborde horizontal en móvil */
}

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body a {
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */

#page { display: block; }

#branding {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, height 0.4s ease;
}

#branding.scrolled {
  background: rgba(15, 15, 15, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  height: 65px;
}

/* Top bar */
#menu-top {
  display: none;
}

/* Main nav container */
#access {
  background: transparent !important;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nav-h);
  float: none;
  transition: height 0.4s ease;
}

.head-container.navcont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
#site-title {
  max-width: none;
  float: none;
  margin: 0;
  flex-shrink: 0;
}

#site-title h1 {
  margin: 0;
  letter-spacing: 0.3em;
}

#site-title h1 a {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--white) !important;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  transition: var(--transition);
}

#site-title h1 a:hover {
  color: var(--gold) !important;
}

/* Navigation menu */
#access ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

#access li {
  float: none;
  position: relative;
}

#access > div > ul > li > a,
#access a {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88) !important;
  padding: 10px 16px;
  line-height: 1;
  background: transparent !important;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

#access a:hover,
#access li:hover > a {
  color: var(--gold) !important;
  background: transparent !important;
  border-bottom-color: var(--gold);
}

/* Dropdown */
#access ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: rgba(15, 15, 15, 0.97);
  min-width: 200px;
  padding: 8px 0;
  border-top: 2px solid var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  float: none;
}

#access ul ul a {
  font-size: 11px;
  padding: 10px 20px !important;
  width: auto !important;
  height: auto !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.75) !important;
  white-space: nowrap;
  background: transparent !important;
}

#access ul ul a:hover {
  color: var(--gold) !important;
  padding-left: 28px !important;
  background: transparent !important;
}

#access ul li:hover > ul {
  display: block;
}

/* Reserve button in nav */
#menu-item-3744, #menu-item-3745, #menu-item-3746,
#menu-item-2389 {
  background: transparent !important;
  width: auto !important;
  text-align: left;
}

#menu-item-3744 a, #menu-item-3745 a, #menu-item-3746 a,
#menu-item-2389 a {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 22px !important;
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 10px;
  border: none !important;
}

#menu-item-3744 a:hover, #menu-item-3745 a:hover, #menu-item-3746 a:hover,
#menu-item-2389 a:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
}

/* WPML language selector */
#lang_sel_list {
  float: none;
  width: auto;
  margin: 0;
}

/* Assistive text */
.assistive-text, .screen-reader-text, .skip-link {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
}

/* =====================================================
   HERO / IMAGE CONTAINER
   ===================================================== */

#image-container {
  position: relative;
  width: 100%;
  max-width: 100% !important;
  max-height: 100vh !important;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  margin: 0 !important;
}

#image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.5) 70%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

#himgback {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Override style.css "#himgback img { height: auto }" que rompe object-fit */
#himgback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero overlay content */
.temp-title {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 80px;
  color: var(--white);
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
}

.home .temp-title {
  display: flex !important;
}

.hheader {
  float: none;
  width: auto;
  max-width: 600px;
  margin: 0 0 40px 60px;
  position: relative !important;
  bottom: auto !important;
}

.frase-header {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
  display: block;
}

.temp-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ---- Booking Widget ---- */
.hclock {
  float: none !important;
  width: calc(100% - 120px) !important;
  max-width: 900px;
  margin: 0 60px;
  background: rgba(10,10,10,0.75) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 28px 36px;
  font-size: 14px !important;
  height: auto !important;
  font-family: 'Raleway', sans-serif;
}

#resespacio {
  height: auto;
  margin-bottom: 16px;
}

#resespacio h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
}

#reservas {
  margin: 0;
}

.formulario_style {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.campo-reserva,
.campo-reserva-mini {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 130px;
}

.campo-reserva.fechas {
  min-width: 150px;
}

.campo-reserva-mini {
  min-width: 90px;
  max-width: 110px;
}

.campo-reserva label,
.campo-reserva-mini label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.campo-reserva input,
.campo-reserva select,
.campo-reserva-mini select,
.hclock select,
input.campo-fecha {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  padding: 10px 14px !important;
  width: 100% !important;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.campo-reserva input:focus,
.campo-reserva select:focus,
.campo-reserva-mini select:focus,
input.campo-fecha:focus {
  border-color: var(--gold) !important;
  background: rgba(255,255,255,0.12) !important;
}

.campo-reserva input::placeholder {
  color: rgba(255,255,255,0.3) !important;
}

.campo-reserva option,
.campo-reserva-mini option {
  background: var(--dark-2);
  color: var(--white);
}

input#btn-reserva,
input#aSearch {
  background: var(--gold) !important;
  border: none !important;
  color: var(--dark) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 28px !important;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-end;
  flex-shrink: 0;
  margin-top: 0 !important;
}

input#btn-reserva:hover,
input#aSearch:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */

.breadcrumbs {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-light);
  width: auto;
  margin-bottom: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-2);
}

.breadcrumbs a {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 400;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

/* =====================================================
   PAGE CONTAINER & CONTENT
   ===================================================== */

#page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px 80px;
}

/* For home/full-width pages, adjust top spacing since hero is full-height */
body.home #page-container,
body.page-template-a-inicio #page-container {
  padding-top: 60px;
}

/* Non-hero pages need top padding for fixed nav */
body:not(.home) #image-container {
  min-height: 60vh;
  max-height: 60vh !important;
}

/* Content columns */
#primary {
  float: none;
  width: 100%;
}

#content {
  margin: 0;
}

/* =====================================================
   INTERIOR PAGE LAYOUT: sidebar + contenido
   ===================================================== */

/* El article que contiene sidebar+contenido usa grid */
body:not(.home) #content > article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 56px;
  align-items: start;
}

#cont-ppal {
  float: none;
  width: 100%;
  max-width: 780px;
  padding: 0;
  min-width: 0; /* evita overflow en grid */
}

.home #cont-ppal {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#cont-sec {
  float: none;
  width: 100%;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

/* ── Sidebar: título de propiedad ── */
#cont-sec > h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  border: none !important;
  border-bottom: 1px solid var(--gold) !important;
  padding-bottom: 14px !important;
  margin-bottom: 0 !important;
}

/* ── Sidebar: lista de navegación ── */
#cont-sec ul {
  font-family: 'Raleway', sans-serif;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cont-sec ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--cream-2);
}

/* Botón de reserva destacado */
#cont-sec ul li:first-child {
  border-bottom: none;
  margin-bottom: 8px !important;
}

#cont-sec ul li:first-child a {
  display: block;
  background: var(--gold) !important;
  color: var(--dark) !important;
  text-align: center;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.25em;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
  margin: 16px 0 8px !important;
  transition: background 0.3s ease !important;
}

#cont-sec ul li:first-child a:hover {
  background: var(--gold-light) !important;
  padding-left: 16px !important;
}

/* Links normales del sidebar */
#cont-sec ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0 11px 4px !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  color: var(--text-light) !important;
  text-transform: none !important;
  transition: color 0.25s ease, padding-left 0.25s ease !important;
}

#cont-sec ul li a::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
  flex-shrink: 0;
}

#cont-sec ul li a:hover,
#cont-sec ul li.current-menu-item a,
#cont-sec ul li.current_page_item a {
  color: var(--dark) !important;
  padding-left: 4px !important;
}

#cont-sec ul li a:hover::before,
#cont-sec ul li.current-menu-item a::before,
#cont-sec ul li.current_page_item a::before {
  width: 14px;
}

#cont-sec ul li.current-menu-item a,
#cont-sec ul li.current_page_item a {
  font-weight: 600 !important;
  color: var(--dark) !important;
}

/* Typography */
.entry-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 400 !important;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--dark);
  text-transform: none !important;
  letter-spacing: 0;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-2);
}

.entry-content {
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
  font-weight: 300 !important;
}

.entry-content p {
  font-family: 'Raleway', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
  font-weight: 300 !important;
  margin-bottom: 1.4em;
}

.entry-content h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: var(--dark);
  margin: 2em 0 0.8em;
}

.entry-content h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  color: var(--dark);
  margin: 1.6em 0 0.6em;
}

.entry-content h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.5em 0 0.5em;
}

.entry-content a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.entry-content a:hover {
  border-bottom-color: var(--gold);
}

/* Tables */
.tbtarifas {
  border-collapse: collapse;
  width: 100%;
}

.tbtarifas th {
  background: var(--dark) !important;
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 16px !important;
  border: none !important;
  text-align: left;
}

.tbtarifas td {
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid var(--cream-2) !important;
  font-size: 14px;
  color: var(--text);
}

.tbtarifas tr:hover td {
  background: var(--cream);
}

/* Sidebar navigation */
#cont-sec h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--gold) !important;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

#cont-sec ul {
  font-family: 'Raleway', sans-serif;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#cont-sec ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--cream-2);
}

#cont-sec ul li a {
  display: block;
  padding: 12px 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  text-transform: none !important;
  transition: var(--transition);
}

#cont-sec ul li a:hover {
  color: var(--gold) !important;
  padding-left: 8px !important;
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Info blocks (habitaciones, servicios) */
.info-op {
  background: var(--cream);
  padding: 24px;
  border-top: 3px solid var(--gold);
  margin-bottom: 20px;
  transition: var(--transition);
}

.info-op:hover {
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* =====================================================
   FOOTER
   ===================================================== */

#colophon {
  display: none;
}

#footerpage {
  display: block; /* override style.css @media(max-width:600px){ display:none } */
  width: 100%;
  background: var(--dark);
  margin-top: 60px;
}

#footercont {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 0;
  color: rgba(255,255,255,0.65);
}

#footercont a {
  color: rgba(255,255,255,0.6) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  transition: var(--transition);
}

#footercont a:hover {
  color: var(--gold) !important;
}

/* Footer nav menu */
#menu-footer {
  width: 100%;
  height: auto !important;
  background: transparent !important;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 40px;
}

#menu-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

#menu-footer ul li {
  float: none;
  padding: 0;
}

#menu-footer ul li a {
  display: block;
  font-family: 'Raleway', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.25em;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.45) !important;
  padding: 8px 18px !important;
  transition: var(--transition);
}

#menu-footer ul li a:hover {
  color: var(--gold) !important;
}

/* Footer info bar */
#info-footer {
  width: 100%;
  height: auto !important;
  background: rgba(255,255,255,0.03) !important;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

#info-footer p {
  float: none;
  width: auto;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.5;
}

.logoscont {
  width: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logoscont img {
  margin: 0 !important;
  opacity: 0.7;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.logoscont img:hover {
  opacity: 1;
}

/* Footer brand section */
.footer-brand {
  text-align: center;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-brand-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

/* =====================================================
   FLOATIN NAV / MOBILE MENU
   ===================================================== */

#menu_flotante_hotel {
  display: none;
}

/* =====================================================
   RESPONSIVE MENU (plugin)
   ===================================================== */

#responsive-menu-container {
  background: rgba(15, 15, 15, 0.98) !important;
}

#responsive-menu-container #responsive-menu li a {
  color: rgba(255,255,255,0.8) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =====================================================
   CALENDAR (datepicker override)
   ===================================================== */

#calroot {
  background: var(--dark-2) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

#caltitle {
  color: var(--white) !important;
}

.calweek a {
  color: rgba(255,255,255,0.6) !important;
}

.calweek a:hover, .calfocus {
  background: rgba(201, 169, 110, 0.2) !important;
  color: var(--gold) !important;
}

#calcurrent {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

#caltoday {
  background: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
}

#caldays span {
  color: rgba(255,255,255,0.4) !important;
}

/* =====================================================
   JQUERY UI DATEPICKER (caja de reservas)
   ===================================================== */

.ui-datepicker {
  z-index: 9999 !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  background: #1a1a1a !important;
  border: 1px solid rgba(201,169,110,0.3) !important;
  border-radius: 2px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
  padding: 10px !important;
  width: 260px !important;
}

.ui-datepicker .ui-datepicker-header {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding-bottom: 8px !important;
  margin-bottom: 6px !important;
}

.ui-datepicker .ui-datepicker-title {
  color: var(--white) !important;
  font-family: 'Raleway', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: 2px !important;
  cursor: pointer !important;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  background-image: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  color: var(--gold) !important;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
  background: transparent !important;
  border: none !important;
}

.ui-datepicker table {
  width: 100% !important;
  font-size: 12px !important;
}

.ui-datepicker th {
  color: rgba(201,169,110,0.7) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  padding: 4px 0 !important;
}

.ui-datepicker td {
  padding: 2px !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,0.75) !important;
  text-align: center !important;
  padding: 5px 3px !important;
  border-radius: 2px !important;
  transition: background 0.15s, color 0.15s !important;
}

.ui-datepicker td a:hover {
  background: rgba(201,169,110,0.25) !important;
  color: var(--gold) !important;
}

.ui-datepicker td.ui-datepicker-today a {
  background: rgba(255,255,255,0.12) !important;
  color: var(--white) !important;
}

.ui-datepicker td.ui-datepicker-current-day a,
.ui-datepicker td .ui-state-active {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 600 !important;
}

.ui-datepicker td.ui-datepicker-unselectable span {
  color: rgba(255,255,255,0.2) !important;
}

/* =====================================================
   UTILITIES
   ===================================================== */

.clear { clear: both; }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 2em 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media screen and (max-width: 1024px) {
  .head-container.navcont {
    padding: 0 24px;
  }

  .hclock {
    width: calc(100% - 48px) !important;
    margin: 0 24px;
    padding: 22px 24px;
  }

  .hheader {
    margin-left: 24px;
    max-width: 500px;
  }

  #page-container {
    padding: 40px 24px 60px;
  }
}

@media screen and (max-width: 900px) {
  .menu-principal-container,
  .menu-principalpt-container,
  .menu-principaleng-container {
    display: none !important;
  }

  #site-title h1 a {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  #image-container {
    min-height: 85vh;
    max-height: 85vh !important;
    align-items: flex-end;
  }

  .temp-title {
    padding-bottom: 30px;
  }

  .hheader {
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .temp-title h2 {
    font-size: 2rem;
  }

  .hclock {
    width: calc(100% - 40px) !important;
    margin: 0 20px;
    padding: 18px 18px;
  }

  .formulario_style {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .campo-reserva.fechas {
    flex: 1 1 calc(50% - 5px);
    min-width: calc(50% - 5px);
    max-width: calc(50% - 5px);
  }

  .campo-reserva:not(.fechas),
  .campo-reserva-mini {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  input#btn-reserva, input#aSearch {
    width: 100%;
    text-align: center;
  }

  #footercont {
    padding: 40px 20px 0;
  }
}

@media screen and (max-width: 860px) {
  body:not(.home) #content > article {
    grid-template-columns: 190px 1fr;
    gap: 0 32px;
  }
}

@media screen and (max-width: 600px) {
  #branding { height: 60px; }

  #access { height: 60px; }

  .menu-barraprincipal-container,
  .menu-pcapl-container,
  .menu-barraprincipalpor-container {
    display: none !important;
  }

  /* Excepción: dentro del footer el menú usa las mismas clases que el nav
     del header — se deben mostrar igual */
  #menu-footer .menu-barraprincipal-container,
  #menu-footer .menu-pcapl-container,
  #menu-footer .menu-barraprincipalpor-container {
    display: block !important;
  }

  #image-container {
    min-height: 80vh;
    max-height: 80vh !important;
  }

  #page-container {
    padding: 30px 16px 50px;
  }

  /* Interior pages: colapsar a 1 columna en móvil */
  body:not(.home) #content > article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #cont-sec {
    width: 100%;
    padding: 0;
    position: static;
    border-bottom: 1px solid var(--cream-2);
    margin-bottom: 28px;
  }

  /* Sidebar nav horizontal en móvil */
  #cont-sec > h2 {
    display: none !important;
  }

  #cont-sec ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0;
    background: var(--cream);
    padding: 8px !important;
  }

  #cont-sec ul li {
    border: none !important;
    flex: 0 0 auto;
  }

  #cont-sec ul li:first-child {
    width: 100%;
    margin-bottom: 0 !important;
  }

  #cont-sec ul li:first-child a {
    margin: 0 0 8px !important;
  }

  #cont-sec ul li a {
    padding: 6px 12px !important;
    font-size: 11px !important;
    border-radius: 2px;
  }

  #cont-sec ul li a::before {
    display: none;
  }

  #cont-sec ul li.current-menu-item a,
  #cont-sec ul li.current_page_item a {
    background: var(--white);
    color: var(--gold) !important;
  }

  #cont-ppal {
    width: 100%;
    padding: 0;
  }

  #info-footer {
    padding: 20px 16px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  #info-footer p {
    float: none;
    width: auto;
  }

  .logoscont {
    justify-content: center;
  }

  .menu-barraprincipal-container,
  .menu-pcapl-container {
    display: none !important;
  }

  #menu-item-3937, #menu-item-3938, #menu-item-3939,
  #menu-item-3940, #menu-item-3941, #menu-item-3942,
  #menu-item-3944, #menu-item-3945, #menu-item-3946,
  #menu-item-3947, #menu-item-3948, #menu-item-3949 {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  #site-title h1 a {
    font-size: 17px;
    letter-spacing: 0.2em;
  }

  .temp-title h2 {
    font-size: 1.6rem;
  }
}

/* =====================================================
   HERO SLIDESHOW NATIVO
   ===================================================== */

/* Reemplaza el bloque anterior de #himgback img */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* Dots de navegación */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

.hero-dot:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.4);
}

/* =====================================================
   HERO: imagen estática y featured img (páginas internas)
   ===================================================== */

/* Home: #himgback actúa directamente como hero con Ken Burns */
#himgback.hero-static {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

/* Páginas internas: img destacada llena el contenedor */
.hero-featured-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes kenBurns {
  0%   { transform: scale(1)    translateX(0)      translateY(0); }
  100% { transform: scale(1.08) translateX(-1.5%)  translateY(-1%); }
}

@keyframes slowZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Santiago: zoom lento centrado, sin desplazamiento lateral */
body.page-template-a-santiago-php #himgback.hero-static {
  animation: slowZoom 25s ease-in-out infinite alternate;
}

/* Override: home page hero es full height */
body.page-template-a-inicio-php #image-container,
body.home #image-container {
  min-height: 100vh;
  max-height: 100vh !important;
}

/* Ocultar el título genérico de la página inicio en el hero */
body.page-template-a-inicio-php .temp-title .hheader h2,
body.home .temp-title .hheader h2 {
  display: none;
}

/* En home el hero ocupa pantalla completa sin espacio para el widget */
body.page-template-a-inicio-php .temp-title,
body.home .temp-title {
  display: none;
}

/* Box de reservas debajo del hero en la portada */
body.page-template-a-inicio-php .hclock,
body.home .hclock {
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  background: rgba(10,10,10,0.95) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 28px 60px;
}

/* En mobile, ajustar padding del box de reservas en la portada */
@media screen and (max-width: 900px) {
  body.page-template-a-inicio-php .hclock,
  body.home .hclock {
    display: block !important;
    padding: 22px 20px;
  }
}

/* =====================================================
   HOME: SECCIÓN INTRO
   ===================================================== */

.home-intro {
  padding: 90px 0 70px;
  text-align: center;
}

.home-intro-inner {
  max-width: 700px;
  margin: 0 auto;
}

.home-intro-label {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.home-intro-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.home-intro-text,
.home-intro-text p {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.3rem !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
  text-align: center;
  margin-bottom: 0.8em;
}

/* =====================================================
   HOME: SECCIÓN DESTINOS
   ===================================================== */

.home-destinations {
  padding: 0 0 110px;
}

/* Cabecera de sección */
.dest-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.dest-section-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}

.dest-section-rule {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.dest-section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.dest-section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Grid: 3 destinos ──
   [ FEATURED  ] [ 02 ]
   [ FEATURED  ] [ 03 ]
   gap 6px, featured = 2 filas
*/
.home-dest-grid {
  display: grid;
  grid-template-columns: 58% 1fr;
  grid-template-rows: 360px 360px;
  gap: 6px;
}

/* Card base */
.dest-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
  color: var(--white) !important;
  background: var(--dark-2);
  cursor: pointer;
}

/* Forzar color blanco en todos los textos dentro de las cards */
.dest-card *,
.dest-card:visited,
.dest-card:hover,
.dest-card:active {
  color: inherit;
  text-decoration: none;
}

/* Card featured: ocupa las 2 filas */
.dest-card--featured {
  grid-row: 1 / span 2;
}

/* Cards 2 y 3 en columna derecha */
.dest-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.dest-card:nth-child(3) { grid-column: 2; grid-row: 2; }

/* Imagen de fondo */
/* Z-index explícitos para garantizar orden de capas */
.dest-card-img            { z-index: 1; }
.dest-card-overlay-base   { z-index: 2; }
.dest-card-overlay-hover  { z-index: 3; }
.dest-card-num            { z-index: 4; }
.dest-card-content        { z-index: 5; }

.dest-card-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dest-card:hover .dest-card-img {
  transform: scale(1.07);
}

/* Overlays */
.dest-card-overlay-base {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.15) 100%
  );
}

.dest-card-overlay-hover {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.20);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dest-card:hover .dest-card-overlay-hover {
  opacity: 1;
}

/* Número decorativo */
.dest-card-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.02em;
  user-select: none;
  transition: color 0.4s ease;
}

.dest-card--featured .dest-card-num { font-size: 5.5rem; }
.dest-card:hover .dest-card-num     { color: rgba(201,169,110,0.25); }

/* Contenido inferior */
.dest-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px 26px;
}

.dest-card-region {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dest-card-region::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.dest-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white) !important;
  margin: 0 0 10px;
  line-height: 1.15;
}

.dest-card--featured .dest-card-title {
  font-size: 2.6rem;
}

.dest-card-desc {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 380px;
  opacity: 1;
  transition: color 0.3s ease;
}

.dest-card:hover .dest-card-desc {
  opacity: 1;
  color: rgba(255,255,255,0.92);
}

/* CTA con línea animada */
.dest-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  transition: color 0.3s ease;
}

.dest-card-cta-line {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}

.dest-card:hover .dest-card-cta {
  color: var(--gold) !important;
}

.dest-card:hover .dest-card-cta-line {
  width: 40px;
}

/* ── Responsive ── */
@media screen and (max-width: 900px) {
  .home-dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 260px;
  }

  .dest-card--featured {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .dest-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .dest-card:nth-child(3) { grid-column: 2; grid-row: 2; }

  .dest-card--featured .dest-card-title { font-size: 2rem; }
  .dest-card--featured .dest-card-num   { font-size: 4rem; }
}

@media screen and (max-width: 600px) {
  .home-intro  { padding: 56px 0 44px; }

  .home-intro-text,
  .home-intro-text p { font-size: 1.1rem !important; }

  .home-dest-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 240px 240px;
  }

  .dest-card--featured,
  .dest-card:nth-child(2),
  .dest-card:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .dest-card-title      { font-size: 1.5rem; }
  .dest-card--featured .dest-card-title { font-size: 1.8rem; }
  .dest-card--featured .dest-card-num   { font-size: 3.5rem; }
  .dest-card-num        { font-size: 2.5rem; }
}


/* ─────────────────────────────────────────────────────────────
   Native gallery (.alt-gallery) + lightbox
   ───────────────────────────────────────────────────────────── */

.alt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
  margin: 32px 0 40px;
}

.alt-gallery-item {
  display: block;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 4 / 3;
}

.alt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
  opacity: 0.88;
}

.alt-gallery-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

/* ── Lightbox global ── */
#alt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#alt-lightbox.active { display: flex; }

#alt-lb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  padding: 60px 80px;
  box-sizing: border-box;
}

#alt-lb-img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  box-shadow: 0 16px 64px rgba(0,0,0,0.7);
  transition: opacity 0.2s;
}

#alt-lb-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

#alt-lb-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 100000;
  padding: 8px;
}

#alt-lb-close:hover { color: #fff; }

#alt-lb-prev,
#alt-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  cursor: pointer;
  padding: 18px 14px;
  opacity: 1;
  transition: background 0.2s, color 0.2s;
  z-index: 100000;
  line-height: 1;
}

#alt-lb-prev { left: 16px; }
#alt-lb-next { right: 16px; }

#alt-lb-prev:hover,
#alt-lb-next:hover {
  background: rgba(201,169,110,0.25);
  color: var(--gold);
  border-color: var(--gold);
}

@media screen and (max-width: 600px) {
  .alt-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  #alt-lb-inner { padding: 50px 16px; }
  #alt-lb-prev  { left: 4px; padding: 14px 10px; }
  #alt-lb-next  { right: 4px; padding: 14px 10px; }
}

/* ─────────────────────────────────────────────────────────────
   SANTIAGO — SINGLE PAGE LAYOUT
   ───────────────────────────────────────────────────────────── */

/* Full-bleed: quitar padding del page-container y breadcrumbs para que
   el box de reserva quede pegado al hero */
body.page-template-a-santiago-php #page-container,
body.page-template-a-natales-php #page-container {
  max-width: 100%;
  padding: 0;
}

body.page-template-a-santiago-php .breadcrumbs,
body.page-template-a-natales-php .breadcrumbs,
body.page-template-a-santiago-php .banner-ad,
body.page-template-a-natales-php .banner-ad {
  display: none;
}

body.page-template-a-santiago-php #footerpage,
body.page-template-a-natales-php #footerpage {
  margin-top: 0;
}

body.page-template-a-santiago-php #primary,
body.page-template-a-santiago-php #content,
body.page-template-a-natales-php #primary,
body.page-template-a-natales-php #content {
  max-width: 100%;
  padding: 0;
}

/* ── Utilidades compartidas ── */
.stg-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}

.stg-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 28px;
}

.stg-rule-center {
  margin: 0 auto 28px;
}

.stg-body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: inherit;
}

.stg-body h2, .stg-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: inherit;
  margin-top: 1.5em;
}

.stg-body ul {
  padding-left: 1.2em;
  margin: 0.8em 0;
}

.stg-body li {
  margin-bottom: 0.4em;
}

.stg-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.stg-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.stg-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0;
  margin-top: 20px;
  transition: gap 0.3s;
}

.stg-more-btn:hover { gap: 20px; }

.stg-more-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.stg-more-btn:hover .stg-more-line { width: 52px; }

.stg-hidden { display: none !important; }

/* ── INTRO ── */
.stg-intro {
  background: var(--cream);
  padding: 88px 24px 80px;
  text-align: center;
}

.stg-intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.stg-intro-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 40px;
}

.stg-intro-text p { margin: 0 0 1em; }

.stg-scroll-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}

.stg-scroll-arrow {
  display: block;
  width: 1px;
  height: 36px;
  background: var(--gold);
}

/* ── SECCIONES GENERALES ── */
.stg-section {
  padding: 80px 0;
}

.stg-section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── HABITACIONES ── */
.stg-rooms {
  background: var(--white);
}

.stg-rooms-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Texto izquierda */
.stg-rooms-text {
  padding: 8px 0;
}

/* Intro */
.stg-rooms-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
}

.stg-rooms-intro p { margin: 0 0 0.6em; }

/* Amenidades */
.stg-amenities { margin-bottom: 32px; }

.stg-amenities h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.stg-amenities ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stg-amenities li {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.stg-amenities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* Foto hero junto al texto */
.stg-rp-hero {
  overflow: hidden;
  background: var(--dark-3);
}

.stg-rp-hero .alt-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
}

.stg-rp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stg-rp-hero:hover img { transform: scale(1.04); }

/* ── Slider de habitaciones ── */
.stg-rooms-slider {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  aspect-ratio: 4 / 3;
}

.stg-rooms-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.stg-rooms-slide {
  flex: 0 0 100%;
  height: 100%;
}

.stg-rooms-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stg-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}

.stg-slider-btn:hover { background: rgba(0, 0, 0, 0.75); }
.stg-slider-prev { left: 0; }
.stg-slider-next { right: 0; }

/* Grid uniforme de fotos de habitaciones */
.stg-rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 5px 0 0;
}

.stg-rg-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-3);
}

.stg-rg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.45s ease, opacity 0.3s;
}

.stg-rg-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.stg-rooms-grid-more {
  text-align: center;
  padding: 28px 0 8px;
  background: var(--white);
}

/* ── RESTAURANTE ── */
.stg-restaurant {
  background: var(--cream);
  padding: 0;
}

.stg-rest-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-width: 1400px;
  margin: 0 auto;
}

.stg-rest-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stg-rest-photo {
  overflow: hidden;
  position: relative;
}

.stg-rest-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.stg-rest-photo:hover img {
  transform: scale(1.04);
}

/* ── ARQUITECTURA ── */
.stg-arch {
  background: var(--dark);
  color: var(--white);
  padding: 0;
}

.stg-arch .stg-body { color: rgba(255,255,255,0.8); }
.stg-arch .stg-body h2,
.stg-arch .stg-body h3 { color: var(--white); }

.stg-arch-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0;
  gap: 0;
  max-width: 100%;
  min-height: 520px;
}

.stg-arch-wrap .stg-section-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stg-arch-photo {
  overflow: hidden;
  background: var(--dark-3);
  position: relative;
}

.stg-arch-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: slowZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

/* ── UBICACIÓN ── */
.stg-location {
  background: var(--dark);
  color: var(--white);
}

.stg-location .stg-eyebrow { color: var(--gold); }

.stg-location .stg-rule { background: var(--gold); }

.stg-location .stg-body p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.9;
}

.stg-loc-wrap {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.stg-map {
  height: 400px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ── GALERÍA ── */
.stg-gallery-section {
  background: var(--white);
  padding: 80px 0;
}

.stg-gallery-header {
  text-align: center;
  padding-bottom: 40px;
}

.stg-full-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.stg-gallery-foot {
  text-align: center;
  padding-top: 36px;
}

.stg-gallery-foot .stg-more-btn {
  margin: 0 auto;
  justify-content: center;
}

/* ── ANIMACIONES DE SCROLL ── */

/* Estado inicial — invisible */
.stg-reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

/* Variantes de entrada */
.stg-reveal[data-anim="up"]    { transform: translateY(36px); }
.stg-reveal[data-anim="left"]  { transform: translateX(-40px); }
.stg-reveal[data-anim="right"] { transform: translateX(40px); }
.stg-reveal[data-anim="fade"]  { transform: none; }

/* Estado visible */
.stg-reveal.stg-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays para escalonar elementos en grids */
.stg-reveal.stg-d1 { transition-delay: 0.10s; }
.stg-reveal.stg-d2 { transition-delay: 0.20s; }
.stg-reveal.stg-d3 { transition-delay: 0.30s; }
.stg-reveal.stg-d4 { transition-delay: 0.40s; }
.stg-reveal.stg-d5 { transition-delay: 0.50s; }
.stg-reveal.stg-d6 { transition-delay: 0.60s; }

/* Regla dorada que crece */
.stg-rule.stg-reveal {
  width: 0;
  opacity: 1;
  transform: none;
  transition: width 0.6s ease;
}
.stg-rule.stg-reveal.stg-in { width: 40px; }
.stg-rule.stg-rule-center.stg-reveal.stg-in { width: 40px; }

/* No animar si el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .stg-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════════════════
   SECCIÓN RESERVA (partial-reserva.php)
   ══════════════════════════════════════════════════════ */
.stg-reserva {
  background: var(--dark);
  padding: 64px 0;
}

.stg-reserva-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.stg-reserva-header {
  text-align: center;
  margin-bottom: 36px;
}

.stg-reserva-header .stg-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stg-reserva-header .stg-rule {
  margin-bottom: 0;
}

/* Horizontal form */
.stg-res-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
}

.stg-res-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 220px;
}

.stg-res-field--sm {
  flex: 0 1 100px;
  min-width: 80px;
  max-width: 120px;
}

.stg-res-field label {
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stg-res-field input,
.stg-res-field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  color: #fff;
  font-size: 0.9rem;
  padding: 10px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.stg-res-field input::placeholder {
  color: rgba(255,255,255,0.28);
}

.stg-res-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.stg-res-field input:focus,
.stg-res-field select:focus {
  border-color: var(--gold);
}

.stg-res-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  align-self: flex-end;
  flex-shrink: 0;
}

.stg-res-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* jQuery UI datepicker inside dark reserva section */
.stg-reserva .ui-datepicker {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.85rem;
}

.stg-reserva .ui-datepicker-header {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.stg-reserva .ui-datepicker td a,
.stg-reserva .ui-datepicker td span {
  color: #ccc;
}

.stg-reserva .ui-datepicker td a:hover {
  background: var(--gold);
  color: var(--dark);
}

.stg-reserva .ui-datepicker td.ui-datepicker-today a {
  background: rgba(180,140,80,0.2);
  color: var(--gold);
}

/* Variante superior: solo para móvil (en desktop el hero ya tiene .hclock) */
.stg-reserva--top {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* En desktop el .hclock del hero está visible → ocultar el box superior
   para evitar que aparezcan dos boxes de reserva consecutivos */
@media screen and (min-width: 901px) {
  .stg-reserva--top {
    display: none;
  }
}

/* ── Responsive reserva ── */
@media screen and (max-width: 720px) {
  .stg-reserva { padding: 40px 0; }

  .stg-reserva-inner { padding: 0 16px; }

  .stg-reserva-header { margin-bottom: 24px; }

  /* En móvil, no depender del IntersectionObserver para mostrar el formulario
     (iOS Safari con overflow-x:hidden en html/body puede impedir que dispare) */
  .stg-reserva .stg-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stg-reserva .stg-rule.stg-reveal {
    width: 40px !important;
  }

  /* row + wrap: fecha=100%, habitaciones+adultos=50%+50%, botón=100% */
  .stg-res-form {
    flex-direction: row;   /* NO column: column+wrap crea columnas múltiples y desborda horizontalmente */
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-start;
  }

  /* Fechas: ancho completo */
  .stg-res-field:not(.stg-res-field--sm) {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Habitaciones + Adultos: mitad cada uno */
  .stg-res-field--sm {
    flex: 1 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 0;
  }

  .stg-res-field input,
  .stg-res-field select {
    font-size: 1rem;
    padding: 12px 14px;
  }

  /* Botón: ancho completo */
  .stg-res-btn {
    flex: 1 1 100%;
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 0.8rem;
  }
}

/* ── Santiago & Natales: hero full-screen en desktop, reserva bajo el fold ── */
body.page-template-a-santiago-php #image-container,
body.page-template-a-natales-php #image-container {
  min-height: 100vh;
  max-height: 100vh !important;
}

body.page-template-a-santiago-php .hclock,
body.page-template-a-natales-php .hclock {
  display: none !important;
}

@media screen and (min-width: 901px) {
  body.page-template-a-santiago-php .stg-reserva--top,
  body.page-template-a-natales-php .stg-reserva--top {
    display: block;
  }
}

/* ── Mobile: reducir alto del hero para dejar ver que hay contenido debajo ── */
@media screen and (max-width: 600px) {
  body.page-template-a-santiago-php #image-container,
  body.page-template-a-natales-php #image-container {
    min-height: 60vh !important;
    max-height: 60vh !important;
  }

  body.page-template-a-santiago-php .temp-title,
  body.page-template-a-natales-php .temp-title {
    padding-bottom: 40px;
  }
}

/* ── RESPONSIVE ── */
@media screen and (max-width: 960px) {
  .stg-section-wrap,
  .stg-loc-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 32px;
  }

  .stg-arch-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stg-arch-wrap .stg-section-text {
    padding: 48px 32px;
  }

  .stg-rooms-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 32px;
  }

  .stg-amenities ul {
    grid-template-columns: 1fr 1fr;
  }

  .stg-rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stg-arch-photo { height: 360px; }

  .stg-map { height: 300px; }

  .stg-full-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .stg-rest-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stg-rest-text {
    padding: 48px 32px;
    order: 1;
  }

  .stg-rest-photo {
    order: 2;
    height: 320px;
    position: relative;
  }

  .stg-rest-photo img {
    position: absolute;
  }
}

@media screen and (max-width: 600px) {
  .stg-intro { padding: 56px 16px 48px; }
  .stg-intro-text { font-size: 1.1rem; }

  .stg-section { padding: 56px 0; }
  .stg-section-wrap,
  .stg-loc-wrap { padding: 0 16px; }

  .stg-arch-wrap .stg-section-text { padding: 40px 16px; }

  .stg-rooms-wrap { padding: 0 16px; gap: 32px; }

  .stg-amenities ul { grid-template-columns: 1fr; }

  .stg-rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stg-arch-photo { height: 280px; }

  .stg-full-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 0 8px;
  }

  .stg-rest-text { padding: 40px 16px; }

  .stg-rest-photo { height: 260px; }
}

/* Home page: permitir que el grid use más ancho */
body.page-template-a-inicio-php #page-container,
body.home #page-container {
  max-width: 1400px;
  padding-left: 48px;
  padding-right: 48px;
}

@media screen and (max-width: 768px) {
  body.page-template-a-inicio-php #page-container,
  body.home #page-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ══════════════════════════════════════════════════════
   MENÚ PRINCIPAL EN FOOTER — solo móvil (≤900px)
   Replica el nav de escritorio en el footer para móvil.
   ══════════════════════════════════════════════════════ */

/* Oculto en desktop */
#footer-mobile-nav {
  display: none;
}

@media screen and (max-width: 900px) {
  #footer-mobile-nav {
    display: block;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 32px 0 8px;
    margin-top: 0;
  }

  /* Forzar visibilidad sin importar qué clase asigne wp_nav_menu */
  #footer-mobile-nav > div {
    display: block !important;
  }

  #footer-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  /* Ocultar sub-menús */
  #footer-mobile-nav ul ul {
    display: none !important;
  }

  #footer-mobile-nav ul li {
    float: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  #footer-mobile-nav ul li:last-child {
    border-bottom: none;
  }

  #footer-mobile-nav ul li a {
    display: block !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.55) !important;
    padding: 14px 0 !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.2s !important;
  }

  #footer-mobile-nav ul li a:hover,
  #footer-mobile-nav ul li a:focus {
    color: var(--gold) !important;
  }
}

/* ══════════════════════════════════════════════════════
   CONTACTOS EN FOOTER
   ══════════════════════════════════════════════════════ */

.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0 48px;
  margin-top: 16px;
}

.footer-contact-hotel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  margin: 0 0 16px;
}

.footer-contact-name span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

.footer-contacts li {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.fct-label {
  display: inline-block;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}

.footer-contacts li a {
  color: rgba(255,255,255,0.55) !important;
  font-size: 11px !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contacts li a:hover {
  color: var(--gold) !important;
}

@media screen and (max-width: 640px) {
  .footer-contacts {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 40px;
  }
}
