/* Ahomé Guest House & Lounge — Proposition 03 (Palmera Design DNA + 14 Framer Marketplace Upgrades) */
html, body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  background-color: #fdfbf7;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
}

#__framer-badge-container,
.__framer-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* #1 Top Scroll Progress Hairline & Floating Navbar Pro */
#ahp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #a8864a 0%, #efe6d2 55%, #a8864a 100%);
  z-index: 99990;
  pointer-events: none;
  transition: width 0.08s linear;
}

nav.ahp-nav-scrolled {
  background-color: rgba(20, 22, 31, 0.84) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 10px 30px rgba(14, 16, 22, 0.22) !important;
  border-bottom: 1px solid rgba(228, 213, 181, 0.22) !important;
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

/* #3 Hero Legibility + Parallax Layer + Scroll Cue */
header[data-framer-name="Hero"] [data-framer-name="Photo"] {
  overflow: hidden;
}

header[data-framer-name="Hero"] [data-framer-name="Photo"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 22, 31, 0.54) 0%,
    rgba(20, 22, 31, 0.44) 44%,
    rgba(20, 22, 31, 0.22) 76%,
    rgba(20, 22, 31, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

header[data-framer-name="Hero"] h1,
header[data-framer-name="Hero"] h1 span,
header[data-framer-name="Hero"] [data-framer-name="Eyebrow"] p,
header[data-framer-name="Hero"] [data-framer-name="Eyebrow"] span,
header[data-framer-name="Hero"] p.framer-styles-preset-l9n5eo,
header[data-framer-name="Hero"] p.framer-styles-preset-l9n5eo span {
  color: #fdfbf7 !important;
  --framer-text-color: #fdfbf7 !important;
  --extracted-r6o4lv: #fdfbf7 !important;
  --extracted-1w3ko1f: #fdfbf7 !important;
  text-shadow: 0 2px 18px rgba(14, 16, 22, 0.52);
}

header[data-framer-name="Hero"] a.framer-bYT90 {
  border: 1px solid rgba(228, 213, 181, 0.55) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

#ahp-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 22, 31, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(228, 213, 181, 0.38);
  color: #efe6d2;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

#ahp-scroll-cue:hover {
  transform: translateX(-50%) translateY(2px);
  background: rgba(20, 22, 31, 0.85);
  border-color: #a8864a;
}

@media (max-width: 720px) {
  #ahp-scroll-cue {
    bottom: 16px;
    padding: 6px 13px;
    font-size: 10px;
  }
}

/* #5 Featured Room Card Interactive Switcher & Petit-Déjeuner Toggle */
.ahp-room-media-tools {
  position: relative;
}

.ahp-room-arrows {
  position: absolute;
  inset: auto 12px 12px auto;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
}

.ahp-room-arrow-btn {
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(253, 251, 247, 0.45);
  background: rgba(20, 22, 31, 0.68);
  backdrop-filter: blur(6px);
  color: #fdfbf7;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ahp-room-arrow-btn:hover {
  background: #a8864a;
  border-color: #a8864a;
  color: #14161f;
  transform: scale(1.06);
}

.ahp-room-bfast-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #e4d5b5;
  background: #fdfbf7;
  color: #6b4f1d;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ahp-room-bfast-pill.is-on {
  background: #14161f;
  border-color: #14161f;
  color: #efe6d2;
}

/* #6 Amenities Spotlight Bento */
.ahp-amenity-bento {
  position: relative;
  border-radius: 14px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.ahp-amenity-bento:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(168, 134, 74, 0.14);
}

/* #7 Experiences Interactive Filter & Stacking Hover */
#ahp-exp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 6px;
  position: relative;
  z-index: 4;
}

.ahp-exp-tab {
  appearance: none;
  border: 1px solid #e4d5b5;
  background: #fdfbf7;
  color: #6b4f1d;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ahp-exp-tab:hover,
.ahp-exp-tab.is-active {
  background: #14161f;
  border-color: #14161f;
  color: #efe6d2;
}

.ahp-exp-card-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, box-shadow 0.35s ease;
}

.ahp-exp-card-lift:hover {
  transform: translateY(-6px);
}

.ahp-exp-card-lift.is-dimmed {
  opacity: 0.45;
  transform: scale(0.985);
}

.ahp-exp-card-lift.is-highlighted {
  box-shadow: 0 16px 40px rgba(168, 134, 74, 0.22);
  transform: translateY(-4px);
}

/* #9 Infinite Awards Marquee Strip */
#ahp-awards-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(228, 213, 181, 0.65);
  border-bottom: 1px solid rgba(228, 213, 181, 0.65);
  background: #f6f1e7;
  padding: 13px 0;
  margin: 20px 0 0;
  box-sizing: border-box;
}

.ahp-marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: ahpMarquee 30s linear infinite;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b4f1d;
}

#ahp-awards-marquee:hover .ahp-marquee-track {
  animation-play-state: paused;
}

@keyframes ahpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ahp-marquee-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ahp-marquee-track.is-paused {
  animation-play-state: paused !important;
}

.ahp-marquee-pause {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0 14px 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(107, 79, 29, 0.35);
  background: #fdfbf7;
  color: #6b4f1d;
  font-family: "Instrument Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.ahp-marquee-pause:hover,
.ahp-marquee-pause:focus-visible {
  background: #a8864a;
  color: #14161f;
  outline: 2px solid #6b4f1d;
  outline-offset: 2px;
}

.ahp-marquee-dot {
  color: #a8864a;
}

/* #9 Testimonial Interactive Controls */
#ahp-testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.ahp-testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #e4d5b5;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.ahp-testi-dot.is-active {
  width: 24px;
  background: #a8864a;
}

/* #10 MasonFilter Gallery Archive & Zoom Lightbox Pro */
#ah-palmera-gallery {
  max-width: 100%;
  margin: 0;
  padding: 56px 24px 68px;
  background: #14161f;
  font-family: "Instrument Sans", sans-serif;
  color: #fdfbf7;
  box-sizing: border-box;
}

.ahp-gal-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.ahp-gal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(228, 213, 181, 0.2);
  padding-bottom: 18px;
}

.ahp-gal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a8864a;
  margin: 0 0 6px;
}

.ahp-gal-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: #f6f1e7;
  margin: 0;
}

.ahp-gal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ahp-tab {
  appearance: none;
  border: 1px solid rgba(228, 213, 181, 0.28);
  background: rgba(253, 251, 247, 0.05);
  color: #efe6d2;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ahp-tab:hover {
  border-color: #a8864a;
  color: #fff;
}

.ahp-tab.is-active {
  background: #a8864a;
  border-color: #a8864a;
  color: #14161f;
}

/* MasonFilter Staggered Masonry Columns */
.ahp-gal-masonry {
  column-count: 3;
  column-gap: 16px;
}

@media (max-width: 960px) {
  .ahp-gal-masonry {
    column-count: 2;
    column-gap: 12px;
  }
}

@media (max-width: 560px) {
  .ahp-gal-masonry {
    column-count: 1;
  }
}

.ahp-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  appearance: none;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #1c1f2b;
  border: 1px solid rgba(228, 213, 181, 0.14);
  cursor: zoom-in;
  animation: ahpMasonFade 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ahp-card:focus-visible {
  outline: 2px solid #e4d5b5;
  outline-offset: 2px;
}

@keyframes ahpMasonFade {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ahp-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ahp-card:hover img {
  transform: scale(1.04);
}

.ahp-card-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 22, 31, 0) 0%, rgba(20, 22, 31, 0.88) 100%);
  color: #fdfbf7;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ahp-card-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e4d5b5;
  flex-shrink: 0;
}

.ahp-gal-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.ahp-btn-gold {
  appearance: none;
  border: 1px solid #a8864a;
  background: #a8864a;
  color: #14161f;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ahp-btn-gold:hover {
  background: #e4d5b5;
  border-color: #e4d5b5;
  transform: translateY(-1px);
}

/* Lightbox Pro with Click-to-Zoom (Native Top-Layer <dialog>) */
#ahp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  border: none;
  color: inherit;
  background: rgba(16, 18, 26, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

#ahp-lightbox::backdrop {
  background: rgba(16, 18, 26, 0.94);
  backdrop-filter: blur(8px);
}

#ahp-lightbox[open] {
  display: flex;
}

.ahp-lb-stage {
  position: relative;
  max-width: 1060px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ahp-lb-img-wrap {
  overflow: hidden;
  border-radius: 10px;
  max-height: 76vh;
  cursor: zoom-in;
}

.ahp-lb-img-wrap.is-zoomed {
  cursor: zoom-out;
  overflow: auto;
}

.ahp-lb-img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ahp-lb-img-wrap.is-zoomed .ahp-lb-img {
  transform: scale(1.75);
  transform-origin: center center;
}

.ahp-lb-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #efe6d2;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
}

.ahp-lb-controls {
  display: flex;
  gap: 10px;
}

.ahp-lb-btn {
  appearance: none;
  border: 1px solid rgba(228, 213, 181, 0.35);
  background: rgba(253, 251, 247, 0.08);
  color: #fdfbf7;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ahp-lb-btn:hover {
  background: #a8864a;
  border-color: #a8864a;
  color: #14161f;
}

/* #12 Highlighter FAQ */
.ahp-faq-active {
  background-color: #efe6d2 !important;
  border-left: 3px solid #a8864a !important;
  border-radius: 10px !important;
  transition: background-color 0.25s ease, border-left 0.25s ease;
}

/* #13 Instagram Smooth Drag Strip */
.ahp-drag-strip {
  cursor: grab;
  user-select: none;
}

.ahp-drag-strip:active {
  cursor: grabbing;
}

.ahp-drag-strip img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ahp-drag-strip a:hover img,
.ahp-drag-strip img:hover {
  transform: scale(1.04);
}

/* #14 Hotel Booking Wizard (4 steps) + Bè-Lagune Location Map (/contact) */
#ah-palmera-booking {
  max-width: 1140px;
  margin: 0 auto 72px;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
}

.ahp-wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .ahp-wizard-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ahp-wstep {
  text-align: left;
  border: 1px solid #e4d5b5;
  background: #fdfbf7;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: "Instrument Sans", sans-serif;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ahp-wstep.is-active {
  border-color: #a8864a;
  background: #efe6d2;
}

.ahp-wstep-num {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8864a;
  font-weight: 700;
  display: block;
}

.ahp-wstep-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #14161f;
  display: block;
  margin-top: 2px;
}

.ahp-book-shell {
  background: #f6f1e7;
  border: 1px solid #e4d5b5;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  color: #14161f;
}

@media (max-width: 860px) {
  .ahp-book-shell {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.ahp-book-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 6px 0 8px;
  color: #14161f;
}

.ahp-book-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #14161fb8;
  margin: 0 0 18px;
}

.ahp-rooms-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .ahp-rooms-pick {
    grid-template-columns: 1fr;
  }
}

.ahp-room-opt {
  text-align: left;
  border: 1px solid #e4d5b5;
  background: #fdfbf7;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-family: "Instrument Sans", sans-serif;
}

.ahp-room-opt.is-selected {
  border-color: #a8864a;
  background: #efe6d2;
  box-shadow: inset 0 0 0 1px #a8864a;
}

.ahp-room-opt-name {
  font-size: 14px;
  font-weight: 600;
  color: #14161f;
  display: block;
}

.ahp-room-opt-meta {
  font-size: 12px;
  color: #6b4f1d;
  display: block;
  margin-top: 2px;
}

.ahp-room-opt-price {
  font-size: 13px;
  font-weight: 600;
  color: #14161f;
  display: block;
  margin-top: 6px;
}

.ahp-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .ahp-field-grid {
    grid-template-columns: 1fr;
  }
}

.ahp-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b4f1d;
  margin-bottom: 5px;
}

.ahp-field input,
.ahp-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e4d5b5;
  background: #fdfbf7;
  color: #14161f;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
}

.ahp-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.ahp-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #14161f;
  cursor: pointer;
}

.ahp-wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.ahp-btn-outline {
  appearance: none;
  border: 1px solid #6b4f1d;
  background: transparent;
  color: #14161f;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ahp-btn-dark {
  appearance: none;
  border: 1px solid #14161f;
  background: #14161f;
  color: #efe6d2;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ahp-summary-card {
  background: #14161f;
  color: #fdfbf7;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.ahp-sum-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #efe6d2;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ahp-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 134, 74, 0.45);
}

.ahp-sum-total-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  color: #efe6d2;
}

.ahp-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: #a8864a;
  color: #14161f;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.ahp-wa-btn:hover {
  background: #efe6d2;
}

.ahp-map-card {
  margin-top: 20px;
  background: #fdfbf7;
  border: 1px solid #e4d5b5;
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .ahp-marquee-track {
    animation: none;
  }
  .ahp-card {
    animation: none;
  }
  .ahp-card img,
  .ahp-exp-card-lift,
  .ahp-amenity-bento,
  #ahp-scroll-cue {
    transition: opacity 0.2s ease, border-color 0.2s ease;
    transform: none !important;
  }
}
