/* =========================================================
   Sitio de departamentos — estilos públicos
   ========================================================= */
:root {
  --color-bg: #faf9f7;
  --color-bg-warm: #f5f1ec;
  --color-surface: #fff;
  --color-text: #1a1a1a;
  --color-text-soft: #6b6560;
  --color-text-muted: #a09890;
  --color-accent: #c0715a;
  --color-accent-light: #e8c4b8;
  --color-accent-dark: #9a5542;
  --color-navy: #1e3a4a;
  --color-navy-light: #2d5168;
  --color-sand: #e8ddd0;
  --color-sand-light: #f0e9e0;
  --color-border: #e2dbd4;
  --color-success: #4caf7d;
  --color-danger: #d95f5f;
  --color-special: #e8a85a;
  --color-turn: #5a8fc0;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--header-h) + 8px); }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---- Íconos ---- */
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ico--sm { width: .9em; height: .9em; }
.ico--wa { color: #25a85a; }
.btn-primary .ico--wa { color: currentColor; }
.ico-img { display: inline-block; width: 1.4em; height: 1.4em; flex-shrink: 0; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-img--raw { background: none; -webkit-mask: none; mask: none; object-fit: contain; }

/* ---- Tipografía y layout ---- */
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; margin-bottom: .4em; }
.section-subtitle { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-accent); margin-bottom: .8em; font-weight: 500; }
.section-text { color: var(--color-text-soft); font-size: 1.05rem; max-width: 640px; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-text { margin-inline: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--first { padding-top: calc(96px + var(--header-h)); }
.section--warm { background: var(--color-bg-warm); }

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 100px; font-size: .9rem; font-weight: 500; transition: all var(--transition); border: 1.5px solid transparent; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--color-navy); }
.btn-navy { background: var(--color-navy); color: #fff; }
.btn-navy:hover { background: var(--color-navy-light); transform: translateY(-2px); }
.btn-ghost { border-color: var(--color-border); color: var(--color-text); background: #fff; }
.btn-ghost:hover { border-color: var(--color-navy); }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: var(--header-h); transition: background var(--transition), box-shadow var(--transition); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.logo-main { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link { padding: 8px 16px; border-radius: 100px; font-size: .875rem; transition: all var(--transition); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-socials { display: flex; align-items: center; gap: 4px; }
.header-social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; transition: background var(--transition); font-size: 1.1rem; }
.header-social-link--txt { width: auto; padding: 0 10px; font-size: .8rem; border-radius: 100px; }
.btn-wa-header { display: flex; align-items: center; gap: 7px; background: #25d366; color: #fff; padding: 8px 18px; border-radius: 100px; font-size: .825rem; font-weight: 500; transition: all var(--transition); }
.btn-wa-header:hover { background: #1db954; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: all var(--transition); }
.nav-drop { position: relative; }
.nav-drop__menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; color: var(--color-text); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px; display: none; flex-direction: column; }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { display: flex; }
.nav-drop__menu .nav-link:hover, .nav-drop__menu .nav-link.active { background: var(--color-sand-light); }

/* Con portada: transparente y blanco; al bajar o sin portada: sólido */
.has-hero .site-header:not(.scrolled) { color: #fff; }
.has-hero .site-header:not(.scrolled) .nav-link:hover, .has-hero .site-header:not(.scrolled) .nav-link.active { background: rgba(255,255,255,.18); }
.has-hero .site-header:not(.scrolled) .header-social-link:hover { background: rgba(255,255,255,.18); }
.site-header.scrolled, .no-hero .site-header { background: rgba(250,249,247,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); color: var(--color-navy); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active, .no-hero .site-header .nav-link:hover, .no-hero .site-header .nav-link.active { background: var(--color-sand); color: var(--color-text); }
.site-header.scrolled .header-social-link:hover, .no-hero .site-header .header-social-link:hover { background: var(--color-sand-light); }
.site-header .logo-img { transition: filter var(--transition); }
.site-main { min-height: 60vh; }
.no-hero .site-main { padding-top: var(--header-h); }

/* ---- Portada ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--color-navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,58,74,.85) 0%, rgba(30,58,74,.4) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px 24px 80px; color: #fff; }
.hero-eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 22px; animation: fadeUp .8s .2s both; }
.hero-title { font-size: clamp(3rem, 7.5vw, 6.2rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.04; max-width: 14ch; animation: fadeUp .8s .35s both; }
.hero-subtitle { margin-top: 24px; font-size: 1.15rem; max-width: 520px; color: rgba(255,255,255,.85); font-weight: 300; animation: fadeUp .8s .5s both; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp .8s .65s both; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.fade-in { transition: opacity .7s ease, transform .7s ease; }
.js .fade-in:not(.visible) { opacity: 0; transform: translateY(24px); }

/* ---- Tarjetas de departamentos ---- */
.deptos-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.deptos-grid--1 { grid-template-columns: minmax(0, 620px); justify-content: center; }
.deptos-grid--3 { grid-template-columns: repeat(3, 1fr); }
.deptos-grid--4 { grid-template-columns: repeat(2, 1fr); }
.depto-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow var(--transition), transform var(--transition); }
.depto-card:hover { box-shadow: var(--shadow-md); }
.depto-card__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-sand-light); }
.depto-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.depto-card:hover .depto-card__img img { transform: scale(1.04); }
.depto-card__badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95); color: var(--color-navy); padding: 5px 14px; border-radius: 100px; font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.depto-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.depto-card__floor { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-accent); font-weight: 500; }
.depto-card__title { font-size: 2rem; font-weight: 400; }
.depto-card__subtitle { color: var(--color-text-soft); font-size: .95rem; }
.depto-card__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin: 6px 0; }
.spec-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 6px; background: var(--color-bg-warm); border-radius: var(--radius-md); font-size: .78rem; color: var(--color-text-soft); line-height: 1.3; }
.spec-item .ico-img { color: var(--color-accent); width: 1.5rem; height: 1.5rem; margin-bottom: 4px; }
.spec-item strong { font-size: 1.05rem; color: var(--color-text); font-weight: 500; }
.depto-card__price { font-family: var(--font-display); font-size: 1.9rem; color: var(--color-navy); }
.depto-card__price small { font-family: var(--font-body); font-size: .8rem; color: var(--color-text-soft); }
.mini-calendar { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.depto-card__footer { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.depto-card__footer .btn { flex: 1; padding: 12px 18px; }

/* ---- Bloques de la ciudad ---- */

/* ---- Mapa ---- */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); width: 100%; height: clamp(300px, 38vw, 460px); background: var(--color-sand-light); }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Reseñas (carrusel adaptable: el JS fija --per) ---- */
.reviews-summary { text-align: center; margin: -24px 0 36px; color: var(--color-text-soft); font-size: .95rem; }
.reviews-summary .stars { color: var(--color-special); letter-spacing: 2px; }
.reviews-track-wrapper { overflow: hidden; --per: 3; --gap: 24px; }
.reviews-track { display: flex; gap: var(--gap); transition: transform .6s cubic-bezier(.4,0,.2,1); }
.reviews-track.is-static { justify-content: center; transition: none; transform: none !important; }
.review-card { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); max-width: 460px; background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.reviews-track:not(.is-static) .review-card { max-width: none; }
.review-stars { color: var(--color-special); letter-spacing: 2px; }
.review-text { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; color: var(--color-text); flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--color-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 500; flex-shrink: 0; }
.review-name { display: block; font-weight: 500; font-size: .9rem; }
.review-date { display: block; font-size: .78rem; color: var(--color-text-muted); }
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.reviews-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--color-border); background: #fff; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.reviews-btn:hover { border-color: var(--color-navy); background: var(--color-navy); color: #fff; }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); transition: all var(--transition); padding: 0; }
.reviews-dots button.active { background: var(--color-accent); width: 24px; border-radius: 8px; }
.reviews-cta { text-align: center; margin-top: 36px; }

/* ---- La ciudad: una fila por bloque, foto circular + texto, alternando lados ---- */
.city-rows { display: flex; flex-direction: column; gap: clamp(48px, 8vw, 96px); }
.city-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.city-row--rev .city-row__img { order: 2; }
.city-row--solo { grid-template-columns: minmax(0, 820px); justify-content: center; }
.city-row__img { width: 100%; max-width: 480px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; justify-self: center; box-shadow: var(--shadow-md); }
.city-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 400; margin: 1.2em 0 .6em; }
.rich h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 400; margin: 1.3em 0 .5em; }
.rich h4 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.rich p { color: var(--color-text-soft); margin: 0 0 1em; }
.rich ul, .rich ol { margin: 0 0 1.2em; padding: 0; color: var(--color-text-soft); }
.rich ul { list-style: none; }
.rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .6em; line-height: 1.55; }
.rich ul li { position: relative; padding-left: 1.5em; }
.rich ul li::before { content: ""; position: absolute; left: .15em; top: .42em; width: .38em; height: .68em; border: solid var(--color-accent); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.rich ul.cols { column-count: 2; column-gap: 2.5rem; }
.rich ul.cols li { break-inside: avoid; }
.rich a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.rich strong { color: var(--color-text); font-weight: 600; }

/* ---- Página del departamento ---- */
.depto-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; background: var(--color-navy); overflow: hidden; }
.depto-hero--plain { min-height: 34vh; }
.depto-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.depto-hero__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,58,74,.88) 0%, rgba(30,58,74,.25) 55%, rgba(30,58,74,.35) 100%); }
.depto-hero__content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 24px 52px; color: #fff; }
.depto-hero__floor { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 10px; }
.depto-hero__title { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 300; letter-spacing: -.02em; }
.depto-hero__subtitle { margin-top: 12px; max-width: 620px; color: rgba(255,255,255,.88); font-size: 1.1rem; font-weight: 300; }
.booking-main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.unit-block--line { padding-top: 48px; border-top: 1px solid var(--color-border); }
.unit-h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300; margin-bottom: 20px; }
.unit-desc p { color: var(--color-text-soft); margin-bottom: 1em; font-size: 1.02rem; }
.unit-note { color: var(--color-text-soft); font-size: .92rem; margin-bottom: 18px; }
.unit-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 28px; }
.spec-item--row { flex-direction: row; text-align: left; align-items: center; gap: 14px; padding: 16px 18px; font-size: .85rem; }
.spec-item--row .ico-img { margin: 0; }
.spec-item--row strong { display: block; font-size: 1rem; }
.spec-item--row small { font-size: .78rem; color: var(--color-text-soft); }
.amenities-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 24px; }
.amenity-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: .95rem; color: var(--color-text-soft); }
.amenity-item .ico-img { color: var(--color-accent); width: 1.5rem; height: 1.5rem; }
.amenity-item:not(:has(.ico-img))::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }

.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.gallery-grid--n1 { grid-template-columns: 1fr; }
.gallery-grid--n2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; display: block; padding: 0; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3; background: var(--color-sand-light); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-grid--feature .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.booking-card { margin-top: 28px; background: var(--color-bg-warm); border-radius: var(--radius-lg); padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.booking-card > .btn { margin-left: auto; }
.unit-desc { max-width: 820px; }
.booking-card__price { font-family: var(--font-display); font-size: 2.3rem; color: var(--color-navy); line-height: 1; }
.booking-card__price small { font-family: var(--font-body); font-size: .85rem; color: var(--color-text-soft); }
.booking-card__price--ask { font-size: 1.6rem; }
.booking-card__week { margin: 10px 0 0; font-size: .85rem; color: var(--color-text-soft); display: flex; gap: 6px; align-items: center; }
.booking-card__week--muted { font-size: .78rem; color: var(--color-text-muted); align-items: flex-start; }
.price-estimate { background: var(--color-bg-warm); border-radius: var(--radius-md); padding: 14px 16px; font-size: .85rem; color: var(--color-text-soft); }
.price-estimate strong { color: var(--color-navy); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.price-estimate small { display: block; margin-top: 4px; font-size: .75rem; color: var(--color-text-muted); }
.booking-card__sel { font-size: .88rem; color: var(--color-text-soft); flex-basis: 100%; order: 4; }
.price-estimate { background: #fff; flex-basis: 100%; order: 5; }

/* ---- Calendarios ---- */
.cal-wrap { display: flex; flex-direction: column; gap: 16px; }
.cal-months { display: grid; gap: 28px; grid-template-columns: 1fr; }
.full-calendar .cal-months { grid-template-columns: repeat(2, 1fr); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; }
.cal-nav__title { font-family: var(--font-display); font-size: 1.25rem; text-transform: capitalize; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--color-border); background: #fff; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cal-nav button:hover:not(:disabled) { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-month__title { text-align: center; font-family: var(--font-display); font-size: 1.15rem; text-transform: capitalize; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-muted); padding: 4px 0; }
.cal-day { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: .8rem; border-radius: 8px; background: #edf6f0; color: #2d6a4a; border: 0; padding: 0; overflow: hidden; }
.cal-day.empty { background: none; }
.cal-day.past { background: transparent; color: var(--color-text-muted); opacity: .55; }
.cal-day.available { cursor: pointer; transition: all .15s; }
.cal-day.available:hover { background: var(--color-navy); color: #fff; }
.cal-day.reserved { background: #f6dede; color: #a65a5a; text-decoration: line-through; cursor: not-allowed; }
/* checkout-half: la noche anterior está ocupada (se puede llegar) · checkin-half: la noche siguiente está ocupada (se puede salir) */
.cal-day.checkout-half { background: linear-gradient(135deg, #f6dede 50%, #edf6f0 50%); color: var(--color-text); }
.cal-day.checkin-half { background: linear-gradient(135deg, #edf6f0 50%, #f6dede 50%); color: var(--color-text); }
.cal-day.checkin-half, .cal-day.checkout-half { cursor: pointer; }
.cal-day.special::after { content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--color-special); }
.cal-day.in-range { background: #d9e6ef; color: var(--color-navy); }
.cal-day.selected { background: var(--color-navy) !important; color: #fff !important; text-decoration: none; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--color-navy); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .75rem; color: var(--color-text-soft); }
.cal-legend-item { display: flex; align-items: center; gap: 7px; }
.cal-legend-dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dot-available { background: #edf6f0; border: 1px solid #b5d9c4; }
.dot-reserved { background: #f6dede; border: 1px solid #e6b5b5; }
.dot-turn { background: linear-gradient(135deg, #f6dede 50%, #edf6f0 50%); border: 1px solid #ddd; }
.dot-special { background: #fff; border: 1px solid var(--color-border); position: relative; }
.dot-special::after { content: ""; position: absolute; inset: 0; margin: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--color-special); }
.mini-calendar .cal-day { font-size: .7rem; border-radius: 6px; cursor: default !important; }
.mini-calendar .cal-day.available:hover { background: #edf6f0; color: #2d6a4a; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; background: rgba(10,18,24,.94); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(255,255,255,.1); }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---- Pie minimalista y burbuja ---- */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,.75); padding: 30px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-copy { font-size: .85rem; }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: all var(--transition); font-size: 1.05rem; }
.footer-social a:hover { background: #fff; color: var(--color-navy); }
.footer-social .footer-social__txt { padding: 0 14px; font-size: .78rem; border-radius: 100px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 6px 22px rgba(37,211,102,.45); transition: transform var(--transition); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 1.05em; height: 1.05em; }
.wa-tooltip { position: absolute; right: 70px; background: #fff; color: var(--color-text); font-size: .8rem; padding: 8px 14px; border-radius: 10px; white-space: nowrap; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateX(6px); transition: all var(--transition); }
.wa-float:hover .wa-tooltip { opacity: 1; transform: none; }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-pulse { animation: none; } html { scroll-behavior: auto; } .fade-in { transition: none; } }

.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 60px 24px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 300; }
.notfound p { color: var(--color-text-soft); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
      .deptos-grid--3 { grid-template-columns: repeat(2, 1fr); }
  }
@media (max-width: 900px) {
  .city-row, .city-row--solo { grid-template-columns: 1fr; }
  .city-row--rev .city-row__img { order: 0; }
  .city-row__img { max-width: 340px; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; color: var(--color-text); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all var(--transition); margin: 0; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav .nav-link { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav-drop__menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .header-actions { margin-left: auto; }
  .header-socials { display: none; }
  .has-hero .site-header.nav-open:not(.scrolled) { background: rgba(250,249,247,.96); color: var(--color-navy); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--first { padding-top: calc(64px + var(--header-h)); }
  .section-head { margin-bottom: 34px; }
  .deptos-grid, .deptos-grid--3, .deptos-grid--4 { grid-template-columns: 1fr; }
    .full-calendar .cal-months { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid--n2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--feature .gallery-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .btn-wa-header span { display: none; }
  .btn-wa-header { padding: 9px 11px; font-size: 1.1rem; }
  .depto-card__body { padding: 22px; }
  .booking-card { padding: 22px; } .booking-card > .btn { width: 100%; margin-left: 0; }
  .lightbox { padding: 60px 12px; }
  .footer-inner { justify-content: center; text-align: center; }
  .hero-title { max-width: none; }
  .wa-tooltip { display: none; }
}

.mini-calendar .cal-month__title { display: none; }
