/* ============ Base ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@600;700;800&display=swap');

/* ============ Base ============ */
:root{
  --bg:#224159;
  --surface:#0f1620;
  --card:#2E5676;
  --text:#e9eef5;
  --muted:#ffffff;
  --line:rgba(255,255,255,.12);
  --accent:#F8CC91; /* warm luxury gold */
  --accent2:#8fb5ff;
  --radius:18px;
  --shadow: 0 14px 30px rgba(0,0,0,.35);
  --max: 1120px;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }

body{
  font-family: var(--font-body);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(217,181,108,.10), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(143,181,255,.10), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.65; /* a touch more “editorial” */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body{
  width: 100%;
  overflow-x: hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Headings: elegant + modern */
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px 0;
}

/* Keep body text clean and modern */
p, li, small, label, input, textarea, button{
  font-family: var(--font-body);
}

/* Optional: slightly stronger hierarchy */
h1{ font-weight: 800; }
h2{ font-weight: 750; }
h3{ font-weight: 700; }
h4, h5, h6{ font-weight: 650; }

/* ============ Sections ============ */
.section{
  padding: 72px 0;
}

/* First section (homepage hero) sits closer to the sticky header */
.section--first{
  padding-top: 8px;     /* tweak this: 0–16px */
  padding-bottom: 56px; /* optional: slightly less than the default 72px */
}

/* ===== Homepage hero typography ===== */

/* H2 headline (all sections) */
.section h2{
  text-align: center;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;

  /* Desktop-first size */
  font-size: clamp(28px, 3vw, 38px);
  margin: 0;            /* ✅ removes default browser margins */
}

/* Intro paragraph under hero headline */
.heroIntro{
  text-align: center;
  margin: 10px auto 0 auto; /* space under H2 */
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Mobile tuning */
@media (max-width: 760px){
  .section h2{
    font-size: 36px;   /* bigger, confident mobile hero */
    line-height: 1.15;
  }

  .heroIntro{
    font-size: 16px;
    line-height: 1.6;
    margin-top: 8px;   /* slightly tighter on mobile */
  }

  .section--first{
    padding-top: 6px;  /* tweak this: 0–12px */
  }
}

.sub{
  color: var(--muted);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sub1{
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============ Header / Nav ============ */
.header{
  position: sticky;
  top:0;
  z-index:100;
  background: rgba(11,15,20,.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}



.navlinks{
  display:flex;
  gap:18px;
  align-items:center;
}
.navlinks a{
  color:var(--muted);
  padding:10px 10px;
  border-radius: 12px;
}
.navlinks a:hover{ background: #ffffff0f; color:var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid #F8CC91;
  background: linear-gradient(180deg, #F8CC91, rgba(217,181,108,.05));
  box-shadow: 0 10px 18px rgba(0,0,0,.25);
  color:var(--text);
  color: #ffffff;
  
  
  
}
.btn:hover{ border-color: #F8CC91; }

/* ===== Booking partners buttons ===== */
.partnerBlock{
  margin-top: 16px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.partnerBtns{
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Base button style (matches your site) */
.partnerBtn{
  position: relative;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;

  padding: 22px 14px;
  min-height: 96px;
  border-radius: 18px;

  /* 🔑 card surface */
  background: var(--card);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);

  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.partnerBtn::after{
  content:"";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  opacity: .18;
  z-index: 0;
  transition: opacity .18s ease;
}

.partnerBtn > *{
  position: relative;
  z-index: 1;
}

.partnerBtn--booking::after{
  background: linear-gradient(
    135deg,
    rgba(0,53,128,.9),
    rgba(0,53,128,.55)
  );
}

.partnerBtn--airbnb::after{
  background: linear-gradient(
    135deg,
    rgba(255,90,95,.9),
    rgba(255,90,95,.55)
  );
}

.partnerBtn--finn::after{
  background: linear-gradient(
    135deg,
    rgba(6,182,212,.9),
    rgba(6,182,212,.55)
  );
}

.partnerBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}

.partnerMeta{
  font-weight: 500;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
}

.partnerBtn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  box-shadow:
    0 14px 30px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.08);
}

.partnerBtn:hover::after{
  opacity: .28;
}

.partnerBtn--booking:hover{
  border-color: rgba(0,53,128,.6);
  box-shadow: 0 14px 30px rgba(0,53,128,.25);
}

.partnerBtn--airbnb:hover{
  border-color: rgba(255,90,95,.6);
  box-shadow: 0 14px 30px rgba(255,90,95,.25);
}

.partnerBtn--finn:hover{
  border-color: rgba(6,182,212,.6);
  box-shadow: 0 14px 30px rgba(6,182,212,.25);
}

/* Brand accent bar */
.partnerBtn::before{
  content:"";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 4px;
  border-radius: 999px;
  opacity: .95;
}

/* Brand styles */
.partnerBtn--booking::before{ background: #003580; }
.partnerBtn--airbnb::before{ background: #FF5A5F; }
.partnerBtn--finn::before{ background: #06B6D4; } /* tweak if you want */

/* Slightly stronger brand glow on hover */
.partnerBtn--booking:hover{ border-color: rgba(0,53,128,.55); }
.partnerBtn--airbnb:hover{ border-color: rgba(255,90,95,.55); }
.partnerBtn--finn:hover{ border-color: rgba(6,182,212,.55); }

/* Mobile: stack nicely */
@media (max-width: 760px){
  .partnerBtns{
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.hamburger{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  color:var(--text);
}

/* mobile menu */
.mobileMenu{
  display:none;
  border-top:1px solid var(--line);
}
.mobileMenu a{
  display:block;
  padding:14px 0;
  color:var(--muted);
}
.mobileMenu a:hover{ color:var(--text); }

.pill{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius:999px;
  padding:8px 10px;
}

/* ===== Preview Gallery (single, almost full-screen) ===== */
.previewGallery{
  padding: 18px 0 26px 0;
}

/* The whole module */
.pg{
  position: relative;
}

/* Nearly full screen, but not annoying */
.pgViewport{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: min(82vh, 760px);
}

/* Track behaves as a swipe carousel */
.pgTrack{
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;


  scrollbar-width: none; /* Firefox */
}
.pgTrack::-webkit-scrollbar{ display:none; }

/* Each slide takes the full viewport */
.pgSlide{
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: block;
}

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

/* Mobile: show left side ONLY for the first preview image */
@media (max-width: 760px){
  .pgTrack .pgSlide:first-child img{
    object-position: 10% center;
  }
}


/* Desktop arrows */
.pgArrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.30);
  color: #fff;

  font-size: 30px;
  line-height: 1;
  cursor: pointer;

  display: grid;
  place-items: center;
}

.pgArrow.prev{ left: 14px; }
.pgArrow.next{ right: 14px; }

.pgArrow:hover{
  background: rgba(0,0,0,.42);
}

/* Dots */
.pgDots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 6;

  display: flex;
  gap: 7px;
  pointer-events: none; /* dots are display-only */
}

.pgDots span{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.40);
}

.pgDots span.active{
  background: rgba(255,255,255,.92);
}

/* Mobile: hide arrows, tweak height a bit */
@media (max-width: 760px){
  .pgArrow{ display: none; }
  .pgViewport{
    height: min(82vh, 760px);
  }
}

/* ============ Two house cards ============ */
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
}
.card{
  background: rgba(0, 0, 0, 0.059);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(57, 57, 57, 0.25);
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--card), white 12%);
  border-radius: 18px;
  box-shadow: var(--shadow)
}

.cardBody{ padding:18px; }
.card h3{ margin:0 0 8px 0; font-size:20px; }
.card p{ margin:0 0 14px 0; color:var(--muted); }
.card .meta{
  display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:13px;
}

/* ===== Card image carousel ===== */

.cardMedia {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.cardCarousel {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.cardCarousel img { pointer-events: auto; 
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

/* Arrows (desktop) */
.carouselArrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}

.carouselArrow.prev { left: 12px; }
.carouselArrow.next { right: 12px; }

/* Hide arrows on mobile */
@media (max-width: 760px){
  .carouselArrow { display: none; }
}

/* Dots */
.carouselDots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carouselDots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.previewGallery .container{
  width: 100%;
  max-width: none;
}



.carouselDots button.active {
  background: rgba(255,255,255,.9);
}

/* Prevent skipping snaps (supported in modern Chrome/Safari) */
.pgSlide,
.cardCarousel img,
.gallery .g{
  scroll-snap-stop: always;
}

/* IMPORTANT: keep these tracks as snap containers on mobile */
@media (max-width: 760px){
  .pgTrack,
  .cardCarousel,
  #tour-pucisca .gallery.galleryThree,
  #tour-poolGH .gallery.galleryThree,
  #tour-gym .gallery,
  #tour-blueprints .gallery{
    touch-action: auto;           /* ✅ allow horizontal swipe */
    overscroll-behavior-x: contain; /* optional: reduces page bounce */
  }
}

/* ============ Reviews ============ */


.review small{ color:var(--muted); }

/* ============ Maps ============ */
.mapCard{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
}
.map{
  height: 360px;
  position: relative;
  z-index: 1;
}

.mapWrap{
  position: relative;
}

.mapOverlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;

  border: 0;
  cursor: pointer;

  color: var(--text);
  font-size: 14px;
  letter-spacing: .2px;

  /* Invisible when not scrolling */
  opacity: 0;
  background: transparent;

  /* IMPORTANT: keep it clickable even when invisible */
  pointer-events: auto;

  transition: opacity .25s ease, background .25s ease;
}

/* Visible while scrolling */
.mapOverlay.is-visible{
  opacity: 1;
  background: rgba(5,8,12,.55);
  backdrop-filter: blur(2px);
}

.mapOverlay::after{
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  z-index: 1;
  pointer-events: none;
}

.mapOverlay > *{
  position: relative;
  z-index: 2;
}

/* optional: subtle hover on desktop */
@media (hover:hover){
  .mapOverlay:hover{ background: rgba(5,8,12,.45); }
}

/* Push image left on mobile only */
@media (max-width: 760px){
  .img-shift-left-mobile{
    object-fit: cover;
    object-position: 70% center; /* 👈 tweak this */
  }
}



/* ============ Gallery ============ */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:12px;
}
.gallery .g{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.gallery.galleryThree .g {
  grid-column: span 4;   /* 3 items per row */
  height: 240px;         /* adjust if you want taller/shorter */
}

.gallery .g img{ width:100%; height:100%; object-fit:cover; }
.g.span6{ grid-column: span 6; height:220px; }
.g.span4{ grid-column: span 4; height:200px; }
.g.span3{ grid-column: span 3; height:180px; }
.g.span12 { grid-column: span 12; height: 420px; } /* ===== Full-width gallery image ===== */

/* ===== Featured mosaic (desktop default) ===== */
.gallery.featuredMosaic{
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: row dense;
}


/* Make ALL gallery images in House taller */
#tour-house .gallery .g{
  height: 520px;
}

/* Make ALL gallery images in pucisca taller */
#tour-pucisca .gallery .g{
  height: 320px;
}

@media (max-width: 760px){
  /* Turn the pucisca gallery into a horizontal carousel */
  #tour-pucisca .gallery.galleryThree{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; /* breathing room for scrollbar */
  }

  /* Each tile becomes a “slide” */
  #tour-pucisca .gallery.galleryThree .g{
    flex: 0 0 85%;          /* slide width: 85% of screen */
    scroll-snap-align: center;
    height: 320px;          /* your height */
  }

  /* Hide scrollbar (optional) */
  #tour-pucisca .gallery.galleryThree{
    scrollbar-width: none;          /* Firefox */
  }
  #tour-pucisca .gallery.galleryThree::-webkit-scrollbar{
    display: none;                  /* Chrome/Safari */
  }
}

/* Make ALL gallery images in pool taller */
#tour-poolGH .gallery .g{
  height: 320px;
}

/* Make ALL gallery images in pool taller */
#tour-pool .gallery .g{
  height: 320px;
}

@media (max-width: 760px){
  /* Turn the pool gallery into a horizontal carousel */
  #tour-poolGH .gallery.galleryThree{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; /* breathing room for scrollbar */
  }

  /* Each tile becomes a “slide” */
  #tour-poolGH .gallery.galleryThree .g{
    flex: 0 0 85%;          /* slide width: 85% of screen */
    scroll-snap-align: center;
    height: 320px;          /* your height */
  }

  /* Hide scrollbar (optional) */
  #tour-poolGH .gallery.galleryThree{
    scrollbar-width: none;          /* Firefox */
  }
  #tour-poolGH .gallery.galleryThree::-webkit-scrollbar{
    display: none;                  /* Chrome/Safari */
  }
}

/* Make ALL gallery images in outdoor-kitchen taller */
#tour-outdoor-kitchen .gallery .g{
  height: 320px;
}

/* Make ALL gallery images in pool taller */
#tour-dining-area .gallery .g{
  height: 320px;
}

/* Make ALL gallery images in Bedroom 1 taller */
#tour-bedroom1 .gallery .g{
  height: 320px;
}

/* Make ALL gallery images in Bedroom 2 taller */
#tour-bedroom2 .gallery .g{
  height: 320px;
}

@media (max-width: 760px){
  /* Bedroom 2: custom mobile layout */
  #tour-bedroom2 .gallery{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
  }

  /* Default: full width */
  #tour-bedroom2 .gallery .g{
    grid-column: 1 / -1;
    height: 320px;
  }

  /* Middle two images side-by-side */
  #tour-bedroom2 .gallery .g:nth-child(2),
  #tour-bedroom2 .gallery .g:nth-child(3){
    grid-column: span 6;
    height: 260px; /* slightly shorter looks nicer */
  }
}

/* Make ALL gallery images in Bedroom 3 taller */
#tour-bedroom3 .gallery .g{
  height: 320px;
}

@media (max-width: 760px){
  /* Bedroom 3: custom mobile layout */
  #tour-bedroom3 .gallery{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
  }

  /* Default: full width */
  #tour-bedroom3 .gallery .g{
    grid-column: 1 / -1;
    height: 320px;
  }

  /* Middle two images side-by-side */
  #tour-bedroom3 .gallery .g:nth-child(2),
  #tour-bedroom3 .gallery .g:nth-child(3){
    grid-column: span 6;
    height: 260px; /* slightly shorter looks nicer */
  }
}

/* Bedroom 4: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom4 .gallery.galleryThree .g{
  height: 320px;
}

/* Bedroom 4GH: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom4GH .gallery.galleryThree .g{
  height: 320px;
}

/* Put the 1st image centered-left */
#tour-bedroom4 .gallery.galleryThree .g:nth-child(1){
  grid-column: 3 / span 4;
}
/* Put the 2nd image centered-right */
#tour-bedroom4 .gallery.galleryThree .g:nth-child(2){
  grid-column: 7 / span 4;
}


/* Bedroom 5: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom5 .gallery.galleryThree .g{
  height: 320px;
}

/* Bedroom 5GH: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom5GH .gallery.galleryThree .g{
  height: 320px;
}

/* Put the 1st image centered-left */
#tour-bedroom5 .gallery.galleryThree .g:nth-child(1){
  grid-column: 3 / span 4;
}
/* Put the 2nd image centered-right */
#tour-bedroom5 .gallery.galleryThree .g:nth-child(2){
  grid-column: 7 / span 4;
}

/* Bedroom 6GH: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom6GH .gallery.galleryThree .g{
  height: 320px;
}


/* Bedroom 6: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom6 .gallery.galleryThree .g{
  height: 320px;
}
/* Bedroom 6: keep same size as galleryThree, but force the 2 items into the middle */
#tour-bedroom6 .gallery.galleryThree .g{
  height: 320px;
}
/* Put the 1st image centered-left */
#tour-bedroom6 .gallery.galleryThree .g:nth-child(1){
  grid-column: 3 / span 4;
}
/* Put the 2nd image centered-right */
#tour-bedroom6 .gallery.galleryThree .g:nth-child(2){
  grid-column: 7 / span 4;
}


/* ===== 8-photo grid: 4 across desktop, 2 across mobile ===== */
.gallery.galleryEight .g{
  grid-column: span 3;   /* 12 cols / 3 = 4 per row */
  height: 320px;         /* adjust if you want */
}
/* Mobile: 2 per row */
@media (max-width: 760px){
  .gallery.galleryEight .g{
    grid-column: span 6; /* 12 cols / 6 = 2 per row */
    height: 240px;       /* optional: slightly shorter on mobile */
  }
}

/* ===== 2-image galleries: 2 per row on mobile (override galleryThree mobile rule) ===== */
@media (max-width: 760px){
  .gallery.galleryThree.galleryTwoWide .g{
    grid-column: span 6 !important;  /* 2 per row */
    height: 260px !important;
  }
}

/* ===== Gym: base sizing (both pages) ===== */
#tour-gym .gallery.galleryThree .g{
  height: 320px;
}

/* (Optional but recommended) make sure gym images fill the tile */
#tour-gym .gallery .g img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Only galleries that opt-in become carousels on mobile ===== */
@media (max-width: 760px){

  /* The carousel track */
  #tour-gym .gallery.galleryCarouselMobile{
    display: flex !important;     /* force flex even if .gallery is grid elsewhere */
    flex-wrap: nowrap;           /* IMPORTANT: no wrapping (prevents vertical stacking) */
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;

    scrollbar-width: none;       /* Firefox */
  }
  #tour-gym .gallery.galleryCarouselMobile::-webkit-scrollbar{
    display: none;               /* Chrome/Safari */
  }

  /* Each slide */
  #tour-gym .gallery.galleryCarouselMobile .g{
    flex: 0 0 85%;
    scroll-snap-align: center;

    height: 320px;

    /* kill any grid rules that might be applied elsewhere */
    grid-column: auto !important;
    width: auto;
  }
}

/* ===== Single-image gallery (desktop centering) ===== */
.gallery.gallerySingle{
  justify-content: center;
}

/* ===== Single-image gallery (desktop centering FIX) ===== */
.gallery.gallerySingle .g{
  grid-column: 5 / span 4;
  margin-inline: auto;
}

#tour-blueprints .gallery .g{
  height: 320px;
  flex: 0 0 85%;
  scroll-snap-align: center;
  height: 320px;
}

/* ===== Blueprints: carousel on mobile ===== */
#tour-blueprints .gallery{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

/* THE HOUSE: 2-up row, then 1 wide (desktop + mobile) */
#tour-house .gallery.galleryThree .g{
  grid-column: span 6;   /* 2 per row */
}

/* Third image spans full width */
#tour-house .gallery.galleryThree .g:nth-child(3){
  grid-column: 1 / -1;   /* full width */
}

/* Mobile tuning */
@media (max-width: 760px){
  #tour-house .gallery.galleryThree .g{
    height: 220px;
  }

  #tour-house .gallery.galleryThree .g:nth-child(3){
    height: 260px;       /* optional: make it more hero on mobile */
  }
}

.gallery .g img{
  transition: transform .45s ease;
}

.gallery .g:hover img{
  transform: scale(1.03);
}

.featuredMosaic .span6Tall {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  height: 420px;
}

.featuredMosaic .span3Half {
  grid-column: span 3;
  height: 210px;
}

/* Explicit placement: always right side, 2x2 */
.featuredMosaic .span3Half:nth-child(2) { grid-column: 7 / span 3; grid-row: 1; }
.featuredMosaic .span3Half:nth-child(3) { grid-column: 10 / span 3; grid-row: 1; }
.featuredMosaic .span3Half:nth-child(4) { grid-column: 7 / span 3; grid-row: 2; }
.featuredMosaic .span3Half:nth-child(5) { grid-column: 10 / span 3; grid-row: 2; }

.galleryHeader{
  margin: 0;
}

.galleryHeader + .gallerySub{
  margin-top: 15px; /* spacing under h3 */
}

@media (min-width: 900px){
  .section--first{
    padding-top: 72px;
  }
}

.gallerySub {
  margin: 0 auto 14px auto;
  color: var(--muted);
  max-width: 60ch;
  text-align: center;
}

/* ===== Gallery headers (scoped) ===== */
.galleryHeadergallery{
  text-align: center;
  margin: 36px auto 8px;      /* top / bottom spacing */
  max-width: 60ch;

  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

/* ===== Gallery sub text ===== */
.gallerySubgallery{
  text-align: center;
  margin: 0 auto 18px;        /* space below */
  max-width: 65ch;

  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* Desktop-only extra breathing room */
@media (min-width: 900px){
  .galleryHeadergallery{
    margin-top: 48px;
  }
  .gallerySubgallery{
    margin-bottom: 26px;
  }
}

/* ============ About accordion ============ */
.sectionTitleCenter{
  text-align:center;
  margin: 0 0 10px 0;
}

.sectionIntroCenter{
  text-align:center;
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto 18px auto;
}

.accordion{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.accItem{
  border: none;              /* was: 1px solid var(--line) */
  border-radius: var(--radius);
  background: transparent;   /* was: rgba(255,255,255,.03) */
  box-shadow: none;          /* was: 0 10px 24px... */
  overflow: visible;         /* we’ll handle rounding on children */
}

.accSummary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;

  color: var(--text);
  user-select: none;

  background: var(--card);                 /* ✅ clickable surface */
  border: 1px solid rgba(255,255,255,.12); /* card-like border */
  border-radius: var(--radius);            /* rounded “button” */
  box-shadow: 0 10px 24px rgba(0,0,0,.20); /* keep your depth */
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.accSummary::-webkit-details-marker{
  display:none;
}

.accSummary:hover{
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.accIcon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  display: inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  background: rgba(11,15,20,.25);
  flex: 0 0 auto;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.accContent{
  margin: 12px auto 0 auto;   /* ⬅️ centers the box */
  padding: 14px 18px 16px 18px;

  max-width: 720px;           /* ⬅️ controls box width */
  width: 100%;

  color: var(--muted);

  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}

.accContent p{
  margin: 10px 0;
}

.accContent ul{
  margin: 10px 0 0 18px;
  padding: 0;
}

.accContent li{
  margin: 6px 0;
}

.accItem[open] .accSummary{
  border-color: rgba(255,255,255,.22);
  transform: none;
}

.accItem[open] .accIcon{
  transform: rotate(45deg); /* turns + into × */
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* Mobile spacing */
@media (max-width: 760px){
  .accSummary{ padding: 14px 14px; }
  .accContent{ padding: 12px 14px 14px 14px; }
}

.accordionIntro{
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 18px auto;
  color: var(--muted);
}

.amenitiesList{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
}

.amenitiesList li{
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
  color: var(--text);
}

/* ===== Layout (floor-by-floor) list styling ===== */
.layoutGrid{
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.layoutBlock{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding: 14px 14px;
}

.layoutTitle{
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: .2px;
  color: var(--text);

  font-family: var(--font-body); /* or 'inherit' if body is correct */
  font-weight: 600;             /* optional */
  letter-spacing: 0.2px;        /* keep your style */
  text-align: center;
}

.layoutList{
  list-style: none;
  padding: 0;
  margin: 0;
}

.layoutList li{
  position: relative;
  padding-left: 18px;
  margin: 6px 0;
  line-height: 1.45;
  color: var(--text);
}

/* subtle bullet like amenities */
.layoutList li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1em;
}

/* Mobile: single column */
@media (max-width: 760px){
  .layoutGrid{
    grid-template-columns: 1fr;
  }
}

/* ===== Reviews meta summary ===== */
.reviewsMeta{
  margin: 6px auto 16px auto;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;

  color: var(--muted);
  font-size: 14px;
}

.reviewsStars{
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 15px;
}

.reviewsScore{
  color: var(--text);
  font-weight: 600;
}

.reviewsCount{
  color: var(--muted);
}

/* Mobile: slightly tighter */
@media (max-width: 760px){
  .reviewsMeta{
    margin-bottom: 14px;
    font-size: 13px;
  }
}

/* ============ REVIEWS SECTION ============ */

/* Big wrapper box that contains H2 + carousel */
.reviewsBox{
  display: grid;   /* ✅ makes gap work */
  gap: 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
}
@media (max-width: 600px){
  .reviewsBox{ padding: 14px; }
}

.reviewsBox h2{
  margin: 0; /* ✅ let gap + .reviewsTitle control spacing */
  text-align: center;
  font-size: clamp(22px, 2.4vw, 30px);
}

/* Carousel layout: buttons + viewport in the middle */
.reviews-carousel{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

/* The scrollable "window" */
.carousel-viewport{
  min-width: 0;                 /* IMPORTANT for grid */
  overflow-x: auto;             /* sideways scroll */
  overflow-y: visible;           /* no vertical scroll in viewport */
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory; /* snap cards */
  scroll-behavior: smooth;

  /* Optional: hide scrollbars */
  scrollbar-width: none;
}
.carousel-viewport::-webkit-scrollbar{ display:none; }

/* Each review card */
.review-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start; /* snapping target */
}

/* Track holding all cards */
.carousel-track{
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  padding: 2px; /* tiny padding so shadows/borders don't clip */
  overflow: visible;
}

/* Desktop: show 3 cards */
.review-card{
  flex: 0 0 calc((100% - 28px) / 3); /* 2 gaps x 14px = 28px */
}

/* Tablet: show 2 cards */
@media (max-width: 900px){
  .review-card{
    flex: 0 0 calc((100% - 14px) / 2);
  }
}

/* Mobile: show 1 card */
@media (max-width: 600px){
  .reviewsBox{ padding: 14px; }
  .reviews-carousel{ gap: 10px; }
  .review-card{ flex: 0 0 100%; }
}

.reviewsTitle{
  margin: 0; /* gap handles the spacing under the title */
}

@media (min-width: 900px){
  .reviewsBox{
    gap: 22px; /* ✅ more space under the h2 on desktop */
  }
}

/* Buttons */
.carousel-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-btn:disabled{
  opacity: 0.35;
  cursor: not-allowed;
}

/* Stars */
.stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.1rem;
}

/* Scroll inside review text (vertical) */
.review-text{
  margin: 0 0 10px 0;
  line-height: 1.5;

  /* this makes long reviews scroll vertically */
  max-height: 10.5rem;
  overflow-y: auto;
  padding-right: 8px;
  -webkit-overflow-scrolling: touch;

  /* remove any old invalid property like overflow: x; */
}

/* Name/year footer */
.review-card small{
  color: var(--muted);
  margin-top: auto; /* pushes footer to bottom of card */
}

.tour-image {
  height: 420px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .tour-image {
    height: 320px;
  }
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-toggle {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 8px 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.9;
  font: inherit;
}

/* Force this one tile to be taller */
.gallery .g.tour-image{
  height: 360px; /* choose what you want */
}

@media (max-width: 760px){
  .gallery .g.tour-image{
    height: 260px; /* optional mobile value */
  }
}

/* subtle bullet */
.amenitiesList li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1em;
}

/* Mobile: single column */
@media (max-width: 760px){
  .amenitiesList{
    grid-template-columns: 1fr;
  }
}

/* ===== Highlights pills (About section) ===== */
.highlights{
  margin: 14px auto 18px auto;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Informational pills – soft glass */
.pillTag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.048);
  border: 1px solid rgba(255, 255, 255, 0);

  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.2;

  box-shadow: none;
}

@media (max-width: 760px){
  .highlights{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: 14px auto 18px;
    padding: 0 10px; /* breathing room */
  }

  .pillTag{
    width: 100%;
    max-width: 100%;

    white-space: normal;        /* ✅ allow wrapping */
    text-align: center;
    justify-content: center;

    font-size: 13px;
    line-height: 1.25;
    padding: 9px 12px;

    word-break: break-word;    /* ✅ safety net */
  }
}


/* ===== Mosaic "Show all photos" button inside bottom-right tile ===== */
.mosaicCta{ position: relative; overflow: hidden;}
.showAllBtn{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);

  z-index: 2;

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(0,0,0,.55);
  color: #fff;

  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(2px);

  font-size: 14px;
  cursor: pointer;
}

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

.mosaicCta a{
  display: block;
  width: 100%;
  height: 100%;
}
.mosaicCta .showAllBtn { z-index: 5; }
.showAllBtn:hover{
  background: rgba(11,15,20,.82);
}

/* ===== Photo Tour modal (full-screen overlay) ===== */
.photoTour[hidden]{ display:none; }
.photoTour{
  position: fixed;
  inset: 0;
  z-index: 9000; /* below your custom caption overlay */
  background: rgba(5,8,12,.86);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.photoTourTop{
  position: sticky;
  top: 0;
  z-index: 10;

  /* keep it readable while scrolling */
  background: rgba(5,8,12,.86);
  backdrop-filter: blur(10px);

  /* animation */
  transform: translateY(0);
  transition: transform .22s ease;
}

/* when scrolling down, hide it */
.photoTour.is-scrolling-down .photoTourTop{
  transform: translateY(-110%);
}

.tourBackBtn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.tourBackBtn:hover{ background: rgba(255,255,255,.08); }

.tourTitle{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.tourTitle strong{ letter-spacing:.2px; }
.tourSub{ font-size: 13px; color: var(--muted); }

/* ===== Photo tour thumbnail nav ===== */
.tourNav{
  padding: 12px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: visible;            /* NOT scrollable on desktop */
  touch-action: auto;           /* ✅ don't block horizontal gestures */
}

.tourNavRow{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));  /* 6 per row */
  gap: 10px;
  margin-bottom: 10px;
}

.tourNavRow--center{
  grid-template-columns: repeat(3, minmax(0, 180px));
  justify-content: center;       /* centers the 3 items as a group */
}

.tourThumb{
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  color: var(--muted);

  height: auto;
  overflow: visible;
}

.tourThumb:hover{
  color: var(--text);
  background: rgba(255,255,255,.07);
}

.tourThumb img{
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 8px;
}

.tourThumb span{
  display: block;
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--text);
}

.photoTourBody{
  padding: 18px;
  padding-bottom: 72px; /* 👈 extra room at the bottom */
  overflow: visible;
}

/* section spacing inside modal */
.tourSection{ padding-bottom: 26px; }
.tourSection + .tourSection{
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
}

/* mobile tuning */
@media (max-width: 760px){
  .photoTourBody{ padding: 14px; }
}



/* ============ Booking widgets ============ */
.bookingGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.panel{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.label{ color:var(--muted); font-size:13px; margin-bottom:6px; }
.row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.kpi{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.notice{
  color:var(--muted);
  font-size:14px;
}

.aboutCard{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  padding: 26px 22px;
  text-align: center;
}

/* Title */
.aboutTitle{
  margin: 0 0 12px 0;
  font-size: 22px;
  letter-spacing: .2px;
}

/* Intro paragraph */
.aboutIntro{
  margin: 0 auto 16px auto;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.6;
}

/* Read more button */
.aboutToggle{
  display: inline-block;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217,181,108,.35);
  background: linear-gradient(180deg, rgba(217,181,108,.14), rgba(217,181,108,.05));
  color: var(--text);
  cursor: pointer;
}

.aboutToggle:hover{
  border-color: rgba(217,181,108,.6);
}

.aboutContent{
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  text-align: center;     /* ✅ center expanded text too */
}
.aboutText{
  margin: 0 auto;
  max-width: 75ch;        /* keeps it readable but centered */
}
.aboutText p{
  margin: 0 0 12px 0;
  color: var(--muted);
}

/* Bottom close button */
.aboutBottom{
  display:flex;
  justify-content:center;
  margin-top: 12px;
}

.aboutToggle--close{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.aboutToggle--close:hover{
  background: rgba(255,255,255,.08);
}

/* ============ Footer ============ */
.footer{
  padding:38px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
}

@media (max-width: 760px){
  /* NAV becomes ONE horizontal strip and is TALL (about 1/3 of screen) */
  .tourNav{
    display: flex;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 12px 14px;
    -webkit-overflow-scrolling: touch;

    height: 33vh;              /* ✅ about 1/3 of the screen */
    max-height: 260px;         /* ✅ safety cap */
    min-height: 190px;         /* ✅ ensures label fits */

    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    
    touch-action: pan-x;

  }
  
  .tourNav::-webkit-scrollbar{ display:none; }

  /* Flatten the desktop rows into one lane */
  .tourNavRow,
  .tourNavRow--center{
    display: contents;
  }

  /* Each card fits the nav height */
  .tourThumb{
    flex: 0 0 auto;
    width: 200px;              /* bigger card */
    height: 100%;              /* ✅ fills the nav strip height */
    scroll-snap-align: start;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 10px;
    border-radius: 14px;

    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
  }

  /* Image takes most of the card height */
  .tourThumb img{
    width: 100%;
    flex: 1 1 auto;            /* ✅ grows to fill available space */
    min-height: 0;             /* ✅ important for flex children */

    object-fit: cover;
    border-radius: 12px;
    display: block;

    margin: 0 0 10px 0;
  }

  /* Label always visible */
  .tourThumb span{
    flex: 0 0 auto;            /* ✅ reserves space */
    display: block;

    font-size: 13px;
    color: var(--text);
    line-height: 1.2;
    text-align: center;

    padding-bottom: 2px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============ Responsive ============ */

/* Tablet + smaller desktops */
@media (max-width: 980px){
  .heroGrid{ grid-template-columns: 1fr; }
  .heroMedia{ min-height: 320px; }
  .reviews{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .bookingGrid{ grid-template-columns: 1fr; }

  /* 3-up gallery becomes 2-up */
  .gallery.galleryThree .g{
    grid-column: span 6;
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 760px){
  .navlinks{ display:none; }
  .hamburger{ display:inline-flex; align-items:center; justify-content:center; }
  .mobileMenu.open{ display:block; }
  .section{ padding:56px 0; }
  .map{ height: 300px; }

  /* Base gallery spans on mobile */
  .g.span6{ grid-column: span 12; height:220px; }
  .g.span4{ grid-column: span 6;  height:180px; }
  .g.span3{ grid-column: span 6;  height:160px; }

  /* ✅ Mosaic on mobile: big on top, then 2x2 underneath */
  .gallery.featuredMosaic{
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery.galleryThree .g{
    grid-column: span 12;
    height: 220px;
  }

  .gallery.featuredMosaic .span6Tall{
    grid-column: 1 / -1;
    grid-row: auto;
    height: 260px;
  }

  .gallery.featuredMosaic .span3Half{
    grid-column: span 1;
    grid-row: auto;
    height: 160px;
  }

  /* IMPORTANT: disable desktop explicit placement on mobile */
  .gallery.featuredMosaic .span3Half:nth-child(2),
  .gallery.featuredMosaic .span3Half:nth-child(3),
  .gallery.featuredMosaic .span3Half:nth-child(4),
  .gallery.featuredMosaic .span3Half:nth-child(5){
    grid-column: auto;
    grid-row: auto;
  }
}


/* Small mobile: 3-up gallery becomes 1-up */
@media (max-width: 640px){
  .gallery.galleryThree .g{
    grid-column: span 12;
    height: 200px;
  }
}

/* =========================
   GLightbox captions: use our own overlay (no jump)
   ========================= */

/* ===== GLightbox: keep everything above your PhotoTour and show captions on top ===== */
.glightbox-container{
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
}

/* The actual image layer */
.glightbox-container .gslide-media,
.glightbox-container .gslide-image,
.glightbox-container .gslide-video{
  position: relative !important;
  z-index: 10000 !important;
}

/* Buttons */
.glightbox-container .gprev,
.glightbox-container .gnext,
.glightbox-container .gclose{
  position: fixed !important;
  z-index: 10006 !important;
}

/* Built-in caption wrapper (different versions use either of these) */
.glightbox-container .gdesc,
.glightbox-container .gslide-description{
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 22px !important;

  width: min(900px, calc(100% - 32px)) !important;
  padding: 14px 16px !important;

  background: rgba(0,0,0,.82) !important;
  border-radius: 14px !important;

  z-index: 10007 !important;
}

/* Title + text inside caption */
.glightbox-container .gslide-title{
  margin: 0 0 6px 0 !important;
  color: #fff !important;
  font-size: 1.15rem !important;
  font-weight: 650 !important;
}

.glightbox-container .gslide-desc{
  margin: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px){
  .glightbox-container .gdesc,
  .glightbox-container .gslide-description{
    bottom: 14px !important;
    width: calc(100% - 24px) !important;
    padding: 12px 12px !important;
  }
}

/* Hide GLightbox built-in captions completely */
.glightbox-container .gdesc,
.glightbox-container .gslide-description,
.glightbox-container .gslide-title,
.glightbox-container .gslide-desc{
  display:none !important;
}

/* Your custom caption overlay (stable, no jumping) */
.pucisca-caption{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  width: min(900px, calc(100% - 32px));
  padding: 14px 16px;
  background: rgba(0,0,0,.82);
  border-radius: 14px;
  z-index: 10005;
  text-align: center;
  pointer-events: none;
  display: none; /* starts hidden, JS shows it */
}
.pucisca-caption h3{ margin:0 0 6px; color:#fff; font-size:1.1rem; font-weight:650; }
.pucisca-caption p{ margin:0; color:rgba(255,255,255,.92); font-size:.98rem; line-height:1.35; }

/* Mobile pills: fit screen, wrap, no horizontal overflow */
@media (max-width: 760px){
  .highlights{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 10px;
    max-width: 100%;
  }

  .highlights .pillTag{
    min-width: 0;            /* IMPORTANT for grid items */
    width: 100%;
    max-width: 100%;

    white-space: normal;     /* allow wrapping */
    overflow-wrap: anywhere; /* never forces page wider */

    text-align: center;
    justify-content: center;
    line-height: 1.2;
  }
}

h1, h2, h3 {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Mobile: make card carousel swipe like the tour galleries */
@media (max-width: 760px){
  .cardCarousel{
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .cardCarousel img{
    scroll-snap-align: center;
  }
}

  /* Optional: hide scrollbar */
  .cardCarousel{
    scrollbar-width: none;            /* Firefox */
  }
  .cardCarousel::-webkit-scrollbar{
    display: none;                    /* Safari/Chrome */
  }

  /* Card carousel track */
.cardCarousel{
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

/* ✅ Each slide is now a <picture>, not an <img> */
.cardCarousel picture{
  flex: 0 0 100%;     /* one slide per view */
  width: 100%;
  height: 100%;
  display: block;
}

/* Image inside picture behaves like before */
.cardCarousel picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* ===== TWH / TGH: 3x2 pill grid on mobile (does NOT affect homepage) ===== */
@media (max-width: 760px){
  .highlights.highlights--facts{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 10px;
    max-width: 100%;
  }

  .highlights.highlights--facts .pillTag{
    min-width: 0;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    justify-content: center;

    /* optional: slightly tighter so 3 columns feels airy */
    font-size: 12.5px;
    padding: 8px 10px;
    line-height: 1.2;
  }
}

/* ===== TWH / TGH: 3x2 pill grid on DESKTOP ===== */
@media (min-width: 761px){
  .highlights.highlights--facts{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 14px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .highlights.highlights--facts .pillTag{
    width: 100%;
    justify-content: center;
    text-align: center;

    /* a bit more breathing room on desktop */
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ===== Single centered booking panel (homepage availability) ===== */
.bookingGrid--single{
  display: flex;                 /* override grid */
  justify-content: center;       /* center horizontally */
}

.bookingGrid--single .panel{
  width: 100%;
  max-width: 560px;              /* 👈 controls visual width */
}

/* Prevent iOS zoom-on-focus for Flatpickr inputs */
.bookingGrid input[data-range],
.flatpickr-input {
  font-size: 16px !important; /* iOS zoom threshold */
  line-height: 1.2;
}

/* Flatpickr: unavailable / blocked dates */
.flatpickr-day.disabled,
.flatpickr-day.flatpickr-disabled {
  background: rgba(220, 60, 60, 0.18) !important;
  color: #ff9a9a !important;
  border-color: rgba(220, 60, 60, 0.35) !important;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Optional: make sure iOS doesn't auto-resize text */
html {
  -webkit-text-size-adjust: 100%;
}

/* ===== Input with calendar icon ===== */
.inputWithIcon{
  position: relative;
}

.inputWithIcon input{
  width: 100%;
  padding: 12px 44px 12px 14px; /* room for icon */
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 16px; /* prevents iOS zoom */
  cursor: pointer;
}

/* Calendar icon inside input */
.inputIcon{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  width: 18px;
  height: 18px;

  stroke: rgba(255,255,255,.75);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none; /* clicks go to input */
  opacity: .85;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;              /* space between logo and text */
  text-decoration: none;
}

.brandLogo{
  height: 30px;           /* adjust if needed */
  width: auto;
  display: block;
}

.brandText{
  display: flex;
  flex-direction: column; /* keeps name + location stacked */
  line-height: 1.1;
}

.brandText strong{
  font-size: 15px;
  letter-spacing: 0.3px;
}

.brandText span{
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 760px){
  .brandLogo{
    height: 24px;
  }

  .brandText strong{
    font-size: 14px;
  }
}

/* A big “card-like” surface for whole sections */
.surfaceBox{
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--card), white 12%);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Slightly tighter on mobile */
@media (max-width: 600px){
  .surfaceBox{ padding: 14px; }
}

.indexaccordion {
  margin-top: 4rem;
}

.indexaccSummary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;

  position: relative;          /* 👈 add this */
  display: flex;
  align-items: center;
  justify-content: center;     /* 👈 change this */
  gap: 0.75rem;

  color: var(--text);
  user-select: none;

  background: var(--card);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.indexaccSummary .accIcon {
  position: absolute;
  right: 18px;   /* matches padding */
}

.accContent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  color: var(--accent);
}

.accContent a:hover {
  text-decoration-thickness: 2px;
}

.bookingBit{
  margin: 6px 0 0;     /* tidy spacing under the h2 */
}