/* ============================================================
   S&T Morales — Stays & Travel | Stylesheet
   Mobile-first. Variables → Base → Components → Sections → Pages → Queries
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --ocean:       #1a6b8a;
  --ocean-dark:  #0d3b52;
  --ocean-light: #2e8fa8;
  --ocean-pale:  #e4f2f8;
  --sand:        #d4a85c;
  --sand-light:  #f5e8c8;
  --pearl:       #faf9f6;
  --coral:       #bf6b5e;
  --tropical:    #4a7c5f;
  --charcoal:    #2a2a2a;
  --text-mid:    #556066;
  --text-light:  #8a9096;
  --white:       #ffffff;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.13);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.18);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease:        cubic-bezier(.4,0,.2,1);
  --transition:  .25s var(--ease);
  --nav-height:  64px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--pearl);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== BASE TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-mid); }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section {
  padding-block: 4rem;
}
.section--dark {
  background: var(--ocean-dark);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--white); }

.section--sand {
  background: var(--sand-light);
}
.section--ocean-pale {
  background: var(--ocean-pale);
}
.text-center { text-align: center; }
.text-ocean  { color: var(--ocean); }
.text-sand   { color: var(--sand); }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .5rem;
}
.section-title {
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
}
.section-header {
  margin-bottom: 2.5rem;
}
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,107,138,.35);
}
.btn--primary:hover {
  background: var(--ocean-dark);
  box-shadow: 0 6px 24px rgba(26,107,138,.45);
  transform: translateY(-1px);
}
.btn--sand {
  background: var(--sand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212,168,92,.35);
}
.btn--sand:hover {
  background: #b8913a;
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--ocean);
  border: 2px solid var(--ocean);
}
.btn--outline:hover {
  background: var(--ocean);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.22);
}
.btn--disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding-inline: 1.25rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, transparent 100%);
}
.navbar:not(.scrolled) .navbar__brand-name,
.navbar:not(.scrolled) .nav-menu a {
  text-shadow: 0 1px 5px rgba(0,0,0,.35);
}
.navbar.scrolled {
  background: rgba(13,59,82,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.navbar__inner {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.navbar__logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.3));
  transition: transform var(--transition);
}
.navbar__logo:hover img { transform: scale(1.04); }
.navbar__brand {
  display: flex;
  flex-direction: column;
}
.navbar__brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.navbar__brand-sub {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  line-height: 1;
  margin-top: .2rem;
}
.nav-menu {
  display: none;
  gap: .25rem;
}
.nav-menu a {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-menu a.active { color: var(--sand); }

.nav-cta {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(13,59,82,.97);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: .25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}
.nav-mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-mobile-menu .btn { margin-top: .5rem; width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img_compress/alberca lejos.webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.hero.loaded .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(13,59,82,.72) 0%,
    rgba(13,59,82,.55) 40%,
    rgba(13,59,82,.40) 70%,
    rgba(13,59,82,.60) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 6rem;
  width: 100%;
}
.hero__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero__title span { color: var(--sand); }
.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.8);
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
}
.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 3;
}
.hero__wave svg { display: block; width: 100%; }

/* ===== WAVE DIVIDER ===== */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* ===== BRAND INTRO ===== */
.brand-intro {
  padding-block: 4rem;
  background: var(--pearl);
}
.brand-intro__grid {
  display: grid;
  gap: 3rem;
}
.brand-intro__text .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
}
.brand-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.brand-stat {
  background: var(--ocean-pale);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.brand-stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1;
}
.brand-stat__label {
  font-size: .8rem;
  color: var(--text-mid);
  margin-top: .25rem;
}

/* ===== PROPERTY CARDS ===== */
.properties-grid {
  display: grid;
  gap: 1.5rem;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.property-card__photo {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.property-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.property-card:hover .property-card__photo img { transform: scale(1.04); }
.property-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--sand);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}
.property-card__badge--available { background: var(--tropical); }
.property-card__body {
  padding: 1.5rem;
}
.property-card__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: .3rem;
}
.property-card__location {
  font-size: .8rem;
  color: var(--text-light);
  letter-spacing: .04em;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.property-card__desc {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.property-card__stats {
  display: flex;
  gap: 1.25rem;
  padding: .85rem 0;
  border-top: 1px solid #f0ede8;
  border-bottom: 1px solid #f0ede8;
  margin-bottom: 1.25rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
}
.stat-item svg { flex-shrink: 0; }
.property-card__actions { display: flex; flex-direction: column; gap: .6rem; }
.property-card__actions .btn { justify-content: center; width: 100%; }

/* ===== EXPERIENCE HIGHLIGHTS ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-2px); }
.feature-card__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--charcoal);
}
.feature-card__desc {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--text-mid);
}

/* ===== LOCATION ===== */
.location-inner {
  display: grid;
  gap: 2rem;
}
.location-info h3 {
  margin-bottom: .75rem;
}
.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
}
.location-tag {
  background: var(--ocean-pale);
  color: var(--ocean);
  font-size: .8rem;
  font-weight: 500;
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ocean-pale);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--ocean); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ocean-pale);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--ocean);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p {
  padding: 0 1.25rem 1.1rem;
  font-size: .88rem;
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-inner {
  display: grid;
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.contact-card h4 { margin-bottom: .5rem; }
.contact-card p { font-size: .9rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ocean-dark);
  color: rgba(255,255,255,.75);
  padding-block: 3rem 2rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .2rem;
}
.footer__brand-sub {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .85rem;
}
.footer__brand-desc { font-size: .85rem; line-height: 1.7; }
.footer__col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .85rem;
}
.footer__links { display: flex; flex-direction: column; gap: .4rem; }
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--sand); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer__bottom a { color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: var(--sand); }

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}
.float-btn:hover { transform: scale(1.04) translateY(-1px); }
.float-btn--whatsapp { background: #25d366; }
.float-btn--guide {
  background: var(--ocean);
  font-size: .75rem;
}
.float-btn__icon { font-size: 1.1rem; }

/* ===== PROPERTY DETAIL PAGE ===== */
.property-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
}
.property-hero__bg {
  position: absolute;
  inset: 0;
}
.property-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.property-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,59,82,.3) 0%, rgba(13,59,82,.65) 100%);
}
.property-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  padding-top: calc(var(--nav-height) + 1rem);
}
.property-hero__breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.property-hero__breadcrumb a { color: rgba(255,255,255,.7); }
.property-hero__breadcrumb a:hover { color: var(--sand); }
.property-hero__name {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.property-hero__subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
}
.property-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.property-hero__wave svg { display: block; width: 100%; }

/* Stats bar */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}
.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stats-bar .stat-item {
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
}
.stats-bar .stat-item svg {
  color: var(--ocean);
  width: 22px;
  height: 22px;
}
.stats-bar .stat-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1;
}
.stats-bar .stat-label {
  font-size: .7rem;
  color: var(--text-light);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform .4s var(--ease);
}
.gallery-item:first-child img { aspect-ratio: 16/9; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: .75rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gallery-see-more {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  padding-top: .5rem;
}

/* ===== GALLERY TABS ===== */
.gallery-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  margin-bottom: .5rem;
}
.gallery-tabs::-webkit-scrollbar { display: none; }

.gallery-tab {
  flex-shrink: 0;
  padding: .55rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ocean);
  background: var(--white);
  border: 2px solid var(--ocean-pale);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.gallery-tab:hover {
  background: var(--ocean-pale);
  border-color: var(--ocean);
}
.gallery-tab.active {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
  box-shadow: 0 4px 14px rgba(26,107,138,.28);
}

.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

/* Gallery lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox__prev { left: .75rem; }
.lightbox__next { right: .75rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.25); }
.lightbox__caption {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  margin-top: .6rem;
}

/* ===== AMENITIES ===== */
.amenities-section { background: var(--pearl); }
.amenities-categories {
  display: grid;
  gap: 1.5rem;
}
.amenity-category {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.amenity-category__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ocean-pale);
}
.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--charcoal);
}
.amenity-item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocean);
}
.amenity-item--unavailable { color: var(--text-light); text-decoration: line-through; }
.amenity-item--unavailable::before { background: var(--text-light); }

/* ===== BOOKING CTA ===== */
.booking-cta {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  color: var(--white);
}
.booking-cta h2, .booking-cta p { color: var(--white); }
.booking-cta__inner {
  text-align: center;
}
.booking-cta__price-note {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
}
.booking-cta__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}
.booking-cta__actions .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  font-size: 1rem;
  padding: .9rem 2rem;
}
.booking-platforms {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.platform-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.platform-badge strong { color: rgba(255,255,255,.9); }

/* ===== HOUSE RULES ===== */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text-mid);
}
.rule-item::before {
  content: '•';
  flex-shrink: 0;
  color: var(--ocean);
  font-weight: 700;
  margin-top: .05em;
}

/* ===== POOL & RULES CARDS ===== */
.pool-card {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.pool-card h3, .pool-card p, .pool-card li { color: var(--white); }
.pool-card h3 { margin-bottom: .75rem; }
.pool-card p { font-size: .9rem; margin-bottom: .75rem; opacity: .88; }
.pool-card__list { display: flex; flex-direction: column; gap: .4rem; }
.pool-card__list li {
  font-size: .85rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  opacity: .9;
}
.pool-card__list li::before {
  content: '○';
  flex-shrink: 0;
  font-size: .7rem;
  margin-top: .2em;
}

/* ===== GUEST GUIDE — LOCK SCREEN ===== */
.guide-page {
  min-height: 100vh;
  background: var(--pearl);
}
.guide-lock {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.guide-lock__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.guide-lock__logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--ocean);
  margin-bottom: .25rem;
}
.guide-lock__sub {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.guide-lock__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.guide-lock__title {
  font-size: 1.25rem;
  margin-bottom: .4rem;
}
.guide-lock__desc {
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}
.guide-lock__form { display: flex; flex-direction: column; gap: .75rem; }
.guide-lock__input {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid #e0ddd8;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: border-color var(--transition);
  outline: none;
}
.guide-lock__input:focus { border-color: var(--ocean); }
.guide-lock__input.error { border-color: var(--coral); animation: shake .4s var(--ease); }
.guide-lock__error {
  font-size: .82rem;
  color: var(--coral);
  display: none;
}
.guide-lock__error.visible { display: block; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-6px); }
  40%,80% { transform: translateX(6px); }
}

/* ===== GUEST GUIDE — CONTENT ===== */
.guide-content { display: none; }
.guide-content.unlocked { display: block; }
.guide-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,59,82,.96);
  backdrop-filter: blur(10px);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-nav__brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
}
.guide-nav__label {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sand);
}
.guide-header {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.25rem;
}
.guide-header h1 { color: var(--white); font-size: 2.2rem; margin-bottom: .5rem; }
.guide-header p { color: rgba(255,255,255,.8); max-width: 460px; margin-inline: auto; }
.guide-section {
  padding: 2rem 1.25rem;
  border-bottom: 1px solid #eeebe6;
}
.guide-section:last-child { border-bottom: none; }
.guide-section__icon {
  font-size: 1.8rem;
  margin-bottom: .6rem;
}
.guide-section h2 {
  font-size: 1.4rem;
  margin-bottom: .75rem;
  color: var(--ocean);
}
.guide-section p, .guide-section li {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .75rem;
}
.guide-step {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.guide-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1em;
}
.guide-step__text { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.guide-wifi-card {
  background: var(--ocean-pale);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: .75rem;
}
.guide-wifi-card p { margin: 0; color: var(--charcoal); }
.guide-wifi-card strong { color: var(--ocean); font-size: 1.1rem; }
.guide-checklist {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
}
.guide-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.5;
  cursor: pointer;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.guide-check:hover { background: var(--ocean-pale); }
.guide-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ocean);
  border-radius: 4px;
  margin-top: .1em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.guide-check.checked .guide-check__box {
  background: var(--ocean);
  border-color: var(--ocean);
}
.guide-check.checked .guide-check__box::after {
  content: '✓';
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
}
.guide-check.checked { text-decoration: line-through; opacity: .65; }
.nearby-category { margin-bottom: 1.5rem; }
.nearby-category h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--ocean-pale);
}
.nearby-list { display: flex; flex-direction: column; gap: .6rem; }
.nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
}
.nearby-item__info h4 { font-size: .88rem; font-weight: 600; color: var(--charcoal); }
.nearby-item__info p { font-size: .78rem; color: var(--text-light); margin: 0; }
.nearby-item__dist {
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--ocean);
  font-weight: 600;
  background: var(--ocean-pale);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.emergency-card {
  background: #fff5f5;
  border: 1px solid #fcd5d0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: .75rem;
}
.emergency-card a {
  color: var(--coral);
  font-weight: 600;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid #eeebe6;
}
.contact-item:last-child { border-bottom: none; }
.contact-item__icon { font-size: 1.5rem; }
.contact-item h4 { font-size: .88rem; font-weight: 600; margin-bottom: .1rem; }
.contact-item p { font-size: .82rem; color: var(--text-light); margin: 0; }
.contact-item a { color: var(--ocean); font-weight: 600; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ===== CHIPS / TAGS ===== */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  background: var(--sand);
  color: var(--white);
}
.status-chip--available { background: var(--tropical); }
.status-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}

/* ===== STICKY BOOKING BAR (property page) ===== */
.sticky-booking {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  padding: .85rem 1.25rem;
}
.sticky-booking.visible { display: block; }
.sticky-booking__inner {
  display: flex;
  gap: .6rem;
  max-width: 540px;
  margin-inline: auto;
}
.sticky-booking__inner .btn {
  flex: 1;
  justify-content: center;
  font-size: .88rem;
  padding: .75rem .5rem;
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 600px) {
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 3; }
  .amenities-categories { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --nav-height: 70px; }
  .nav-menu { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .brand-intro__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .location-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .booking-cta__actions { flex-direction: row; }
  .booking-cta__actions .btn { width: auto; }
  .guide-section { padding: 2.5rem; max-width: 620px; margin-inline: auto; }
  .guide-header { padding: 4rem 2rem; }
}

@media (min-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__content { padding-top: calc(var(--nav-height) + 5rem); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-item:first-child img { aspect-ratio: unset; height: 100%; }
}
