/* ==========================================================================
   NvaCba.ar — Landing
   Paleta Grafito / tipografía Jost — ver Brand Kit para referencia completa
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #1a1a1a;
}
a:hover {
  color: #6b6b6b;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px);
}

/* ---------- Header ---------- */
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid #e2e2e2;
}

.header__brand {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.header__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.header__link {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.6;
}

.header__link--cta {
  font-weight: 600;
  opacity: 1;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 3px;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a1a1a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__toggle.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.header__toggle.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e2e2e2;
    padding: 8px clamp(24px, 5vw, 72px) 20px;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__link {
    padding: 14px 0;
    border-bottom: 1px solid #e2e2e2;
  }

  .header__link--cta {
    border-bottom: 1px solid #e2e2e2;
  }

  .header__nav .header__link:last-child {
    border-bottom: none;
  }
}

.header__link--current {
  opacity: 1;
  font-weight: 600;
}

/* ---------- Page intro (subpages) ---------- */
.page-intro {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 40px) clamp(40px, 6vw, 56px);
  text-align: center;
}

.page-intro__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.5;
  margin-bottom: 32px;
}

.page-intro__back:hover {
  opacity: 0.8;
}

.page-intro__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  font-weight: 500;
  margin-bottom: 20px;
}

.page-intro__title {
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.page-intro__subtitle {
  font-size: 16px;
  opacity: 0.6;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 40px) clamp(48px, 7vw, 72px);
  text-align: center;
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__title {
  font-weight: 500;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.hero__subtitle {
  font-size: 16px;
  opacity: 0.6;
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
  padding: 16px 34px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn--link {
  color: #1a1a1a;
  background: none;
  text-transform: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #1a1a1a;
  padding: 0 0 3px;
  align-self: center;
}

.hero__image-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px);
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ---------- Stats ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.stats__item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 28px 12px;
  border-right: 1px solid #e2e2e2;
}

.stats__item:last-child {
  border-right: none;
}

.stats__number {
  font-size: 24px;
  font-weight: 500;
}

.stats__label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 6px;
}

/* ---------- Story ---------- */
.story {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(24px, 5vw, 32px);
  text-align: center;
}

.section-title {
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.story__text {
  font-size: 16px;
  opacity: 0.65;
  font-weight: 300;
  margin: 0 0 16px;
}
.story__text:last-child {
  margin-bottom: 0;
}

/* ---------- Amenities ---------- */
.amenities {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px) clamp(64px, 9vw, 110px);
}

.eyebrow-title {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin: 0 0 24px;
  text-align: center;
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #e2e2e2;
  border: 1px solid #e2e2e2;
}

.amenities__item {
  background: #fff;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: clamp(64px, 9vw, 110px) clamp(24px, 5vw, 72px);
  background: #f4f4f4;
}

.gallery__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery__title {
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  text-align: center;
}

.gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 40px;
}

.gallery__tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: none;
  border: 1px solid #e2e2e2;
  padding: 10px 20px;
  cursor: pointer;
  opacity: 0.5;
}

.gallery__tab:hover {
  opacity: 0.8;
}

.gallery__tab.is-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  opacity: 1;
}

.gallery__panel {
  display: none;
}

.gallery__panel.is-active {
  display: block;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.gallery__photo--featured {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (max-width: 600px) {
  .gallery__photo--featured {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  padding: 16px;
}

.lightbox__prev {
  left: 16px;
}
.lightbox__next {
  right: 16px;
}

.lightbox__image {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
  opacity: 0.6;
}

/* ---------- Availability ---------- */
.availability {
  padding: 0 clamp(24px, 5vw, 72px) clamp(64px, 9vw, 110px);
}

.availability__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.guests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.guests__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
}

.guests__options {
  display: flex;
  border: 1px solid #e2e2e2;
}

.guests__option {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  border: none;
  border-right: 1px solid #e2e2e2;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.guests__option:last-child {
  border-right: none;
}

.guests__option:hover {
  background: #f4f4f4;
}

.guests__option.is-active {
  background: #1a1a1a;
  color: #fff;
}

.calendar {
  border: 1px solid #e2e2e2;
  padding: 24px;
  text-align: left;
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar__month {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.calendar__nav {
  background: none;
  border: 1px solid #e2e2e2;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  color: #1a1a1a;
}

.calendar__nav:hover {
  opacity: 0.6;
}

.calendar__nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}

.calendar__weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.4;
  padding: 6px 0;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e2e2e2;
  border: 1px solid #e2e2e2;
}

.calendar__day {
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.calendar__day--empty {
  background: #fafafa;
}

.calendar__day--past {
  color: #1a1a1a;
  opacity: 0.25;
}

.calendar__day--unavailable {
  background: #f4f4f4;
  color: #1a1a1a;
  opacity: 0.35;
  text-decoration: line-through;
}

.calendar__day--today {
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #1a1a1a;
}

.calendar__day--selectable {
  cursor: pointer;
}

.calendar__day--selectable:hover {
  background: #f4f4f4;
}

.calendar__day--in-range {
  background: #e2e2e2;
}

.calendar__day--checkin,
.calendar__day--checkout {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}

.calendar__legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.6;
}

.calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar__dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border: 1px solid #1a1a1a;
}

.calendar__dot--unavailable {
  background: #c9c9c9;
  border-color: #c9c9c9;
}

.calendar__dot--selected {
  background: #1a1a1a;
  border-color: #1a1a1a;
}

.calendar__hint {
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
  margin: 16px 0 0;
}

.calendar__updated {
  font-size: 11px;
  opacity: 0.4;
  text-align: center;
  margin: 8px 0 0;
}

.booking-summary {
  border: 1px solid #e2e2e2;
  border-top: none;
  padding: 24px;
  text-align: left;
}

.booking-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e2e2e2;
  font-size: 14px;
}

.booking-summary__row span:first-child {
  opacity: 0.5;
}

.booking-summary__row--total {
  border-bottom: none;
  padding-top: 16px;
  font-size: 16px;
  font-weight: 600;
}

.booking-summary__row--total span:first-child {
  opacity: 1;
}

.booking-summary__continue {
  width: 100%;
  margin-top: 20px;
  border: none;
}

.booking-summary__continue:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-summary--standalone {
  border-top: 1px solid #e2e2e2;
}

.payment-pending {
  border: 1px solid #e2e2e2;
  border-top: none;
  padding: 32px 24px;
  text-align: center;
}

.payment-pending__mp {
  width: 100%;
  border: none;
  margin-bottom: 12px;
}

.payment-pending__mp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.payment-pending__error {
  font-size: 13px;
  color: #b91c1c;
  margin: 0 0 20px;
  min-height: 1em;
}

.payment-pending__text {
  font-size: 14px;
  opacity: 0.6;
  font-weight: 300;
  margin: 24px 0 12px;
}

.payment-pending__missing {
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
  padding: 40px 0;
}

/* ---------- Reviews ---------- */
.reviews {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(24px, 5vw, 32px);
}

.reviews__title {
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  text-align: center;
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.review {
  border-left: 2px solid #1a1a1a;
  padding-left: 20px;
}

.review__quote {
  font-size: 16px;
  opacity: 0.7;
  font-weight: 300;
  margin: 0 0 10px;
}

.review__author {
  font-weight: 600;
  font-size: 13px;
}

/* ---------- Location ---------- */
.location {
  padding: clamp(64px, 9vw, 110px) clamp(24px, 5vw, 72px);
  background: #141414;
  color: #fff;
}

.location__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
}

.location__eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.45;
  font-weight: 500;
  margin-bottom: 20px;
}

.location__title {
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 44px);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.location__text {
  font-size: 15px;
  opacity: 0.6;
  font-weight: 300;
  max-width: 400px;
  margin: 0;
}

.location__list {
  display: flex;
  flex-direction: column;
}

.location__row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.location__row:last-child {
  border-bottom: none;
}

.location__row-name {
  font-weight: 500;
}

.location__row-dist {
  opacity: 0.5;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(24px, 5vw, 32px);
}

.faq__title {
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  padding: 22px 0;
  border-bottom: 1px solid #e2e2e2;
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.faq__answer {
  font-size: 14px;
  opacity: 0.6;
  font-weight: 300;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(64px, 10vw, 140px) clamp(24px, 5vw, 72px);
  text-align: center;
}

.cta__title {
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  padding: 24px clamp(24px, 5vw, 72px);
  border-top: 1px solid #e2e2e2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  opacity: 0.5;
}
