:root {
  --ink: #123e3b;
  --deep: #082f2d;
  --sea: #2d7770;
  --sand: #eee2cc;
  --cream: #fbf8f1;
  --gold: #bc9256;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8,47,45,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Montserrat", sans-serif; color: var(--ink); background: var(--cream); line-height: 1.7; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3,.brand { font-family: "Cormorant Garamond", serif; }
h1 { font-size: clamp(3.5rem, 8vw, 7.4rem); line-height: .88; letter-spacing: -.035em; max-width: 930px; margin-bottom: 28px; }
h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.025em; }
h3 { font-size: 1.65rem; line-height: 1.1; }
a { color: inherit; }
.hero {
  position: relative; min-height: 92vh; color: white; overflow: hidden;
  background: var(--deep) url("images/properties/castaway-vacation-rentals-islamorada-hero.webp") center/cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,35,33,.88), rgba(4,35,33,.38) 60%, rgba(4,35,33,.18)); z-index: 0; }
.nav { height: 92px; display: flex; justify-content: space-between; align-items: center; padding: 0 6vw; position: relative; z-index: 3; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 1.6rem; font-weight: 600; line-height: 1.05; }
.nav .brand span:last-child { max-width: 330px; }
.brand-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 1rem; letter-spacing: .12em; font-family: Montserrat,sans-serif; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.booking-ribbon {
  width: min(920px, 88vw); margin: 35px auto 0; position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 25px;
  background: rgba(251,248,241,.96); color: var(--deep); border: 1px solid rgba(188,146,86,.7);
  padding: 18px 22px 18px 30px; box-shadow: var(--shadow);
}
.booking-ribbon p { margin: 0; font-family: "Cormorant Garamond",serif; font-size: 1.45rem; }
.booking-actions { display: flex; gap: 10px; flex-shrink: 0; }
.booking-actions a, .primary-button {
  text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600;
  padding: 13px 18px; border: 1px solid var(--gold);
}
.booking-actions a:first-child { background: var(--deep); color: white; border-color: var(--deep); }
.hero-content { position: relative; z-index: 2; padding: 13vh 7vw 9vh; max-width: 1120px; }
.eyebrow { text-transform: uppercase; font-size: .72rem; letter-spacing: .22em; font-weight: 600; color: var(--gold); margin-bottom: 18px; }
.hero .eyebrow { color: #e7c996; }
.hero-copy { max-width: 680px; font-size: 1.07rem; font-weight: 300; margin-bottom: 36px; }
.primary-button { display: inline-block; color: white; background: rgba(255,255,255,.07); backdrop-filter: blur(6px); }
.section { padding: 120px 7vw; }
.section-heading { max-width: 740px; margin-bottom: 62px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.resort { background: var(--cream); }
.amenities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(18,62,59,.13); border: 1px solid rgba(18,62,59,.13); }
.amenities-grid article { background: var(--cream); padding: 42px 34px; min-height: 250px; }
.amenities-grid span { font-family: "Cormorant Garamond",serif; color: var(--gold); font-size: 1.3rem; }
.amenities-grid h3 { margin: 28px 0 13px; }
.amenities-grid p { font-size: .9rem; margin: 0; }
.properties { background: #f3ecdf; }
.property-card { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6vw; margin-bottom: 150px; }
.property-card.reverse { grid-template-columns: .85fr 1.15fr; }
.property-gallery {
  position: relative;
  height: 650px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.property-card.reverse .property-gallery { order: 2; }
.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img,
.carousel-track video {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
}
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(8,47,45,.62);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.carousel-button:hover { background: rgba(8,47,45,.84); }
.carousel-button.prev { left: 18px; }
.carousel-button.next { right: 18px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid white;
  background: rgba(255,255,255,.3);
  cursor: pointer;
}
.carousel-dots button.active { background: white; }
.property-copy { background: var(--cream); padding: 60px 52px; box-shadow: var(--shadow); margin-left: -10vw; position: relative; z-index: 2; }
.reverse .property-copy { margin-left: 0; margin-right: -10vw; }
.property-copy .property-name { font-family: "Cormorant Garamond",serif; font-size: clamp(2.8rem,4vw,4.4rem); line-height: .98; letter-spacing: -.025em; margin-top: 0; }
.property-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 30px; }
.property-facts span { border: 1px solid rgba(18,62,59,.22); padding: 8px 12px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.property-copy p { font-size: .91rem; }
.feature-list { list-style: none; padding: 0; margin: 28px 0; columns: 2; font-size: .82rem; }
.feature-list li { margin-bottom: 10px; break-inside: avoid; }
.feature-list li::before { content: "◇"; color: var(--gold); margin-right: 8px; }
.text-link { color: var(--sea); font-weight: 600; text-transform: uppercase; letter-spacing: .09em; font-size: .7rem; text-decoration: none; }
.contact-section { background: var(--deep); color: white; padding: 110px 8vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10vw; }
.contact-section h2 { max-width: 650px; }
.contact-card { border: 1px solid rgba(231,201,150,.45); padding: 35px; }
.contact-card a { display: block; padding: 18px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-card small { display: block; color: #d6b77e; text-transform: uppercase; letter-spacing: .16em; font-size: .65rem; }
.contact-card strong { font-family: "Cormorant Garamond",serif; font-size: 1.65rem; font-weight: 500; }
footer { padding: 50px 7vw; background: #062523; color: rgba(255,255,255,.72); display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: .72rem; }
.footer-brand { color: white; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .property-card,
  .property-card.reverse { grid-template-columns: 1fr; gap: 0; }
  .property-card.reverse .property-gallery { order: 0; }
  .property-copy,
  .reverse .property-copy { margin: -60px 5vw 0; }
  .property-gallery { height: 560px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .nav { height: 76px; padding: 0 5vw; }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 44px; height: 44px; }
  .booking-ribbon { flex-direction: column; align-items: stretch; text-align: center; margin-top: 20px; padding: 18px; }
  .booking-actions { justify-content: center; }
  .hero-content { padding: 10vh 6vw 8vh; }
  h1 { font-size: 3.8rem; }
  .section { padding: 85px 6vw; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-grid article { min-height: auto; padding: 32px 26px; }
  .property-gallery { height: 420px; }
  .carousel-button { width: 44px; height: 44px; }
  .property-copy,
  .reverse .property-copy { padding: 38px 25px; margin: -35px 4vw 0; }
  .feature-list { columns: 1; }
  footer { flex-direction: column; text-align: center; }
}


/* Surgical addition: separates the stand-alone bungalow from the resort community homes. */
.bungalow-divider {
  position: relative;
  min-height: 560px;
  margin: 0 -7vw 70px;
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  background:
    linear-gradient(rgba(4,35,33,.30), rgba(4,35,33,.78)),
    url("images/castaway-bungalow-01.avif") center/cover no-repeat;
}
.bungalow-divider-overlay {
  width: min(860px, 88vw);
  padding: 70px 55px;
  background: rgba(8,47,45,.58);
  border: 1px solid rgba(231,201,150,.55);
  backdrop-filter: blur(4px);
}
.bungalow-divider h2 {
  margin-bottom: 15px;
}
.bungalow-divider .eyebrow {
  color: #e7c996;
}
.bungalow-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  margin-bottom: 24px;
}
.bungalow-intro {
  max-width: 720px;
  margin: 0 auto;
  font-size: .95rem;
}
.section-heading > p:last-child {
  max-width: 720px;
}

@media (max-width: 650px) {
  .bungalow-divider {
    min-height: 500px;
    margin: 20px -6vw 85px;
  }
  .bungalow-divider-overlay {
    padding: 45px 24px;
  }
}


/* Two-collection selector */
.stay-selector {
  position: relative;
  padding: 105px 7vw 115px;
  background:
    linear-gradient(rgba(251,248,241,.60), rgba(251,248,241,.60)),
    url("images/islamorada-experience-background.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(18,62,59,.12);
}
.stay-selector-heading {
  max-width: 880px;
  margin: 0 auto 52px;
  text-align: center;
}
.stay-selector-heading > p:last-child {
  max-width: 760px;
  margin: 0 auto;
}
.stay-selector-options {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1220px;
  margin: 0 auto;
}
.stay-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  min-height: 330px;
  padding: 42px 38px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(18,62,59,.14);
  box-shadow: 0 18px 45px rgba(8,47,45,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stay-option:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(188,146,86,.55);
}
.stay-option.featured {
  background: var(--deep);
  color: white;
  border-color: rgba(231,201,150,.55);
}
.stay-option-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.stay-option h3 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  margin: 4px 0 18px;
}
.stay-option p {
  font-size: .92rem;
}
.stay-option .eyebrow {
  margin-bottom: 6px;
}
.stay-option.featured .eyebrow {
  color: #e7c996;
}
.stay-option-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--sea);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .69rem;
  font-weight: 600;
}
.stay-option.featured .stay-option-link {
  color: #e7c996;
}
.stay-option-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(231,201,150,.65);
  color: #e7c996;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .58rem;
  font-weight: 600;
}
.stay-plus {
  display: grid;
  place-items: center;
  align-self: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  box-shadow: 0 14px 35px rgba(188,146,86,.28);
}

@media (max-width: 980px) {
  .stay-selector-options {
    grid-template-columns: 1fr;
  }
  .stay-plus {
    margin: -8px auto;
  }
}

@media (max-width: 650px) {
  .stay-selector {
    padding: 78px 6vw 85px;
  }
  .stay-option {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 26px;
  }
  .stay-option-number {
    font-size: 1.65rem;
  }
  .stay-option-badge {
    position: static;
    width: fit-content;
    margin-bottom: 4px;
  }
}


/* Surgical edit: bottom booking actions are buttons rather than exposed contact details. */
.contact-card {
  display: grid;
  gap: 14px;
}
.contact-card .contact-button {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 16px 20px;
  border: 1px solid rgba(231,201,150,.65);
  background: rgba(255,255,255,.04);
  text-transform: uppercase;
  letter-spacing: .12em;
  text-align: center;
}
.contact-card .contact-button:last-child {
  border-bottom: 1px solid rgba(231,201,150,.65);
}
.contact-card .contact-button:hover {
  background: rgba(231,201,150,.12);
}
.contact-card .contact-button strong {
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
  font-weight: 600;
}


/* ---- Resort amenity checklist ---- */
.amenity-checklist {
  margin-top: 72px;
  border: 1px solid rgba(18,62,59,.16);
  background: var(--white);
  padding: 52px 48px 44px;
}
.amenity-checklist h3 {
  margin: 0 0 30px;
  font-size: 1.9rem;
}
.amenity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  columns: 3;
  column-gap: 40px;
  font-size: .85rem;
}
.amenity-list li {
  margin-bottom: 12px;
  break-inside: avoid;
  line-height: 1.5;
}
.amenity-list li::before {
  content: "\25C7";
  color: var(--gold);
  margin-right: 9px;
}
.amenity-list em {
  display: block;
  margin-left: 22px;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .04em;
  opacity: .62;
}

/* ---- "plus resort amenities" note under each feature list ---- */
.includes-note {
  margin: -8px 0 26px;
  font-size: .8rem;
  letter-spacing: .04em;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
}

/* ---- Visible phone number in contact card ---- */
.contact-number {
  margin: 14px 0 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}
.contact-number a { text-decoration: none; }

@media (max-width: 900px) {
  .amenity-list { columns: 2; }
  .amenity-checklist { padding: 42px 32px 34px; }
}
@media (max-width: 650px) {
  .amenity-list { columns: 1; }
  .amenity-checklist { margin-top: 52px; padding: 34px 26px 28px; }
}


/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: 14px 22px;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* ---------- Hero actions ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ghost-button {
  display: inline-block; text-decoration: none; text-transform: uppercase;
  letter-spacing: .12em; font-size: .7rem; font-weight: 600; color: #fff;
  padding: 13px 18px; border: 1px solid rgba(255,255,255,.55);
}
.ghost-button:hover { background: rgba(255,255,255,.12); }

/* ---------- Shared section CTA ---------- */
.section-cta { margin: 54px 0 0; text-align: center; }
.primary-button.dark { color: var(--deep); background: transparent; border-color: var(--gold); }
.primary-button.dark:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

/* ---------- Book direct ---------- */
.book-direct { background: var(--white); }
.direct-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(18,62,59,.13); border: 1px solid rgba(18,62,59,.13); }
.direct-grid article { background: var(--cream); padding: 40px 32px; }
.direct-grid h3 { font-size: 1.35rem; margin-bottom: 14px; }
.direct-grid p { font-size: .86rem; margin: 0; }

/* ---------- Area guide ---------- */
.area-guide { background: #f3ecdf; }
.guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 44px; }
.guide-grid article { background: var(--cream); padding: 42px 38px; box-shadow: var(--shadow); }
.guide-grid h3 { font-size: 1.5rem; margin-bottom: 16px; }
.guide-grid p { font-size: .88rem; margin: 0; }
.season-note { margin-top: 44px; background: var(--deep); color: #fff; padding: 52px 48px; }
.season-note h3 { color: #e7c996; font-size: 1.7rem; margin-bottom: 18px; }
.season-note p { font-size: .9rem; }
.season-note .text-link { color: #e7c996; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 900px; margin-inline: auto; border-top: 1px solid rgba(18,62,59,.18); }
.faq-list details { border-bottom: 1px solid rgba(18,62,59,.18); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative;
  font-family: "Cormorant Garamond", serif; font-size: 1.45rem; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-family: Montserrat, sans-serif; font-size: 1.5rem; line-height: 1;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { margin: 0 0 26px; font-size: .88rem; max-width: 780px; }

@media (max-width: 1100px) { .direct-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 850px) {
  .guide-grid { grid-template-columns: 1fr; gap: 26px; }
  .season-note { padding: 38px 30px; }
}
@media (max-width: 650px) {
  .direct-grid { grid-template-columns: 1fr; }
  .direct-grid article { padding: 32px 26px; }
  .guide-grid article { padding: 32px 26px; }
  .faq-list summary { font-size: 1.2rem; padding-right: 34px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

.carousel-video { background: var(--deep); }

/* ---------- Location identity ---------- */
.location-badge {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sea);
  border: 1px solid rgba(45,119,112,.35);
  padding: 9px 16px;
  margin: 0 0 26px;
}
.location-badge.light { color: #e7c996; border-color: rgba(231,201,150,.5); }
.section-heading.centered .location-badge { margin-inline: auto; display: table; }
.stay-option-address {
  font-family: Montserrat, sans-serif;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.bungalow-section { background: var(--cream); }
.bungalow-amenities { margin-top: 0; margin-bottom: 90px; }
.bungalow-amenities h3 { color: var(--ink); }
.scope-note {
  margin: 8px 0 0;
  font-size: .78rem;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  max-width: 760px;
}

/* ---------- Per-listing address chip ---------- */
.fact-address {
  border: none !important;
  padding: 8px 14px !important;
  font-weight: 600;
  color: #fff;
  background: var(--sea);
  order: -1;
}
.fact-address.bungalow { background: var(--gold); color: var(--deep); }
.bungalow-amenities .location-badge { margin-bottom: 22px; }

/* ---------- Multi-page shell ---------- */
.page-head { background: var(--deep); color: #fff; }
.page-head .nav { border-bottom: 1px solid rgba(255,255,255,.2); }
.breadcrumbs { padding: 26px 7vw 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a { color: var(--sea); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { opacity: .45; margin: 0 4px; }
.page-intro { padding-top: 46px; padding-bottom: 0; }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.page-lede { max-width: 720px; font-size: 1rem; }
.page-head-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ghost-button.dark { color: var(--deep); border-color: rgba(18,62,59,.35); }
.ghost-button.dark:hover { background: rgba(18,62,59,.07); }
.nav-links a.active { color: var(--gold); }

/* ---------- Home / hub cards ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.home-grid.four { grid-template-columns: repeat(2, 1fr); }
.home-grid.one { grid-template-columns: minmax(0,560px); justify-content: start; }
.home-card { display: flex; flex-direction: column; background: var(--cream); text-decoration: none; box-shadow: var(--shadow); }
.home-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.home-card-body { padding: 30px 28px 34px; position: relative; }
.home-card-num { font-family: "Cormorant Garamond", serif; color: var(--gold); font-size: 1.2rem; }
.home-card h3 { font-size: 1.9rem; margin: 6px 0 14px; }
.home-card p { font-size: .84rem; }
.home-card .property-facts { margin: 0 0 18px; }
.home-card .property-facts span { font-size: .6rem; padding: 6px 9px; }
.home-card:hover { transform: translateY(-3px); transition: transform .2s ease; }
.location-block .location-badge { margin-bottom: 20px; }
.area-teaser { background: #f3ecdf; }

/* ---------- Booking page ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 820px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; margin-bottom: 26px; font-size: .9rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px;
  font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--gold);
}
.booking-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 56px; }
.booking-facts article { background: var(--cream); padding: 34px 30px; box-shadow: var(--shadow); }
.booking-facts h3 { font-size: 1.4rem; margin-bottom: 6px; }
.booking-facts p { font-size: .84rem; }
.footer-addr { font-size: .68rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.review-card { margin: 0; background: var(--cream); padding: 34px 30px; box-shadow: var(--shadow); }
.review-stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 14px; font-size: 1rem; }
.review-body { font-size: .9rem; font-style: italic; }
.review-meta { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); }
.review-card.is-empty { border: 1px dashed rgba(18,62,59,.3); box-shadow: none; opacity: .6; }

/* ---------- Footer ---------- */
footer { flex-direction: column; align-items: stretch; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; width: 100%; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .78rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-head { color: #e7c996; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); width: 100%; }
.footer-base p { margin: 0; }

@media (max-width: 1000px) {
  .home-grid, .booking-facts, .review-grid { grid-template-columns: repeat(2,1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .home-grid, .booking-facts, .review-grid, .footer-cols { grid-template-columns: 1fr; }
  .home-grid.one { grid-template-columns: 1fr; }
  .page-intro { padding-top: 30px; }
}

/* ---------- Accordion reviews ---------- */
.review-accordion summary { display: flex; align-items: baseline; gap: 12px; }
.review-accordion .review-stars { color: var(--gold); letter-spacing: .16em; font-size: .8rem; margin: 0; flex-shrink: 0; }
.review-accordion .review-title { font-family: "Cormorant Garamond", serif; }
.review-accordion .review-body { font-style: italic; }
.review-accordion .review-meta { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea); margin-bottom: 26px; }


/* Bungalow verified review enhancements */
.review-card-title {
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--deep-teal);
}
.reviews .section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}
@media (max-width: 700px) {
  .review-card { padding: 26px 22px; }
  .review-card-title { font-size: 1.3rem; }
}


/* ---------- Book direct spacing refinement ---------- */
/* Keeps the transition into the direct-booking section intentional and compact. */
.pre-book-direct { padding-bottom: 64px; }
.book-direct.section { padding-top: 72px; padding-bottom: 88px; }
.book-direct .section-heading { margin-bottom: 46px; }

@media (max-width: 800px) {
  .pre-book-direct { padding-bottom: 48px; }
  .book-direct.section { padding-top: 52px; padding-bottom: 68px; }
  .book-direct .section-heading { margin-bottom: 36px; }
}

/* Five-card property review layout: three cards above, two centered below. */
.review-grid.five-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.review-grid.five-card-grid .review-card { grid-column: span 2; }
.review-grid.five-card-grid .review-card:nth-child(4) { grid-column: 2 / span 2; }
.review-grid.five-card-grid .review-card:nth-child(5) { grid-column: 4 / span 2; }
.review-card.placeholder-review .review-meta { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
@media (max-width: 900px) {
  .review-grid.five-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid.five-card-grid .review-card,
  .review-grid.five-card-grid .review-card:nth-child(4),
  .review-grid.five-card-grid .review-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 620px) {
  .review-grid.five-card-grid { grid-template-columns: 1fr; }
}

/* ---------- Site-wide spacing audit ----------
   Tightens accumulated vertical whitespace without changing layout, content,
   typography, colors, imagery, or component structure. */
@media (min-width: 651px) {
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section-heading { margin-bottom: 44px; }

  .property-card { margin-bottom: 105px; }
  .property-card:last-child { margin-bottom: 0; }

  .stay-selector { padding-top: 82px; padding-bottom: 88px; }
  .stay-selector-heading { margin-bottom: 40px; }

  .amenity-checklist { margin-top: 52px; }
  .bungalow-amenities { margin-bottom: 58px; }

  .pre-book-direct { padding-bottom: 48px; }
  .book-direct.section { padding-top: 60px; padding-bottom: 72px; }
  .book-direct .section-heading { margin-bottom: 36px; }

  .section-cta { margin-top: 40px; }
  .contact-section { padding-top: 82px; padding-bottom: 82px; }
}

/* Prevent two neighboring sections from stacking full-size top and bottom gaps. */
.properties + .resort,
.properties + .bungalow-section,
.resort + .reviews,
.bungalow-section + .reviews,
.location-block + .location-block,
.area-teaser + .book-direct {
  padding-top: 68px;
}

/* The content box already provides its own breathing room. */
.resort:has(.amenity-checklist),
.bungalow-section:has(.amenity-checklist) {
  padding-bottom: 68px;
}

@media (max-width: 650px) {
  .section { padding-top: 62px; padding-bottom: 62px; }
  .section-heading { margin-bottom: 36px; }
  .property-card { margin-bottom: 70px; }
  .property-card:last-child { margin-bottom: 0; }
  .stay-selector { padding-top: 62px; padding-bottom: 66px; }
  .stay-selector-heading { margin-bottom: 34px; }
  .bungalow-divider { margin-bottom: 62px; }
  .amenity-checklist { margin-top: 38px; }
  .bungalow-amenities { margin-bottom: 42px; }
  .pre-book-direct { padding-bottom: 38px; }
  .book-direct.section { padding-top: 46px; padding-bottom: 58px; }
  .book-direct .section-heading { margin-bottom: 30px; }
  .section-cta { margin-top: 34px; }
  .contact-section { padding-top: 64px; padding-bottom: 64px; }
}


/* ---------- Homepage Islamorada Resort video heading ---------- */
.resort-video-heading {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 560px;
  margin: 0 -7vw 52px;
  padding: 72px 7vw;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: var(--deep);
}
.resort-heading-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.resort-video-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(4,35,33,.58), rgba(4,35,33,.70));
}
.resort-heading-content {
  width: min(860px, 100%);
  padding: 54px 58px;
  background: rgba(7,45,42,.42);
  border: 1px solid rgba(231,201,150,.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.resort-video-heading .eyebrow { color: #e7c996; }
.resort-video-heading h2 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.resort-video-heading .location-badge {
  color: #fff;
  border-color: rgba(255,255,255,.58);
  background: rgba(4,35,33,.24);
}
.resort-video-heading .resort-heading-content > p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
@media (prefers-reduced-motion: reduce) {
  .resort-heading-video { display: none; }
  .resort-video-heading {
    background: linear-gradient(rgba(4,35,33,.63), rgba(4,35,33,.74)), url("images/islamorada-resort-video-poster.jpg") center/cover no-repeat;
  }
}
@media (max-width: 650px) {
  .resort-video-heading {
    min-height: 500px;
    margin: 0 -6vw 38px;
    padding: 50px 6vw;
  }
  .resort-heading-content { padding: 38px 22px; }
}

/* ---------- Homepage luxury property listing cards ----------
   Restores the listings as large editorial image + information panels.
   Scoped to homepage location sections only. */
.location-block .home-grid,
.location-block .home-grid.one {
  display: flex;
  flex-direction: column;
  gap: 96px;
  width: 100%;
}

.location-block .home-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: stretch;
  width: 100%;
  min-height: 570px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transform: none;
  transition: none;
}

.location-block .home-card:nth-child(even) {
  grid-template-columns: minmax(420px, .96fr) minmax(0, 1.04fr);
}

.location-block .home-card > img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow);
}

.location-block .home-card:nth-child(even) > img {
  order: 2;
}

.location-block .home-card-body {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-left: -34px;
  padding: 58px 54px 54px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.location-block .home-card:nth-child(even) .home-card-body {
  order: 1;
  margin-left: 0;
  margin-right: -34px;
}

.location-block .home-card-num {
  display: block;
  font-family: Montserrat, sans-serif;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1;
  margin-bottom: 12px;
}

.location-block .home-card h3 {
  color: var(--deep);
  font-size: clamp(2.35rem, 3.3vw, 4rem);
  line-height: .98;
  margin: 0 0 28px;
  text-decoration: none;
}

.location-block .home-card .property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}

.location-block .home-card .property-facts span {
  border: 1px solid rgba(18,62,59,.24);
  padding: 9px 12px;
  color: var(--deep);
  background: transparent;
  font-family: Montserrat, sans-serif;
  font-size: .63rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.location-block .home-card .property-facts .fact-address {
  color: var(--deep);
  background: rgba(190,143,74,.88);
  border-color: rgba(190,143,74,.88);
  font-weight: 650;
}

.location-block .home-card p {
  color: var(--ink);
  font-size: .91rem;
  line-height: 1.78;
  margin: 0 0 28px;
}

.location-block .home-card .stay-option-link {
  display: inline-block;
  color: var(--sea);
  font-family: Montserrat, sans-serif;
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.location-block .home-card:hover,
.location-block .home-card:focus-visible {
  transform: none;
}

.location-block .home-card:hover .stay-option-link,
.location-block .home-card:focus-visible .stay-option-link {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* The single bungalow card uses the same full editorial treatment. */
.location-block .home-grid.one .home-card {
  width: 100%;
}

@media (max-width: 1050px) {
  .location-block .home-grid,
  .location-block .home-grid.one {
    gap: 72px;
  }

  .location-block .home-card,
  .location-block .home-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }

  .location-block .home-card > img {
    min-height: 500px;
  }

  .location-block .home-card-body {
    margin-left: -22px;
    padding: 44px 38px 42px;
  }

  .location-block .home-card:nth-child(even) .home-card-body {
    margin-right: -22px;
  }
}

@media (max-width: 760px) {
  .location-block .home-grid,
  .location-block .home-grid.one {
    gap: 54px;
  }

  .location-block .home-card,
  .location-block .home-card:nth-child(even) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .location-block .home-card > img,
  .location-block .home-card:nth-child(even) > img {
    order: 0;
    height: clamp(300px, 72vw, 470px);
    min-height: 0;
  }

  .location-block .home-card-body,
  .location-block .home-card:nth-child(even) .home-card-body {
    order: 1;
    width: calc(100% - 28px);
    align-self: flex-end;
    margin: -28px 0 0;
    padding: 34px 28px 32px;
  }

  .location-block .home-card:nth-child(even) .home-card-body {
    align-self: flex-start;
  }

  .location-block .home-card h3 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    margin-bottom: 22px;
  }

  .location-block .home-card .property-facts {
    gap: 7px;
    margin-bottom: 22px;
  }

  .location-block .home-card .property-facts span {
    font-size: .58rem;
    padding: 7px 9px;
  }
}

/* ---------- Homepage scenic location headers ----------
   Image-backed location introductions with a warm cream veil for readability. */
.scenic-location-heading {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 520px;
  margin: 0 -7vw 56px;
  padding: 70px 7vw;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.scenic-location-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(249,246,239,.96) 0%,
    rgba(249,246,239,.91) 38%,
    rgba(249,246,239,.70) 62%,
    rgba(249,246,239,.38) 100%);
}
.scenic-heading-content {
  width: min(720px, 58%);
  padding: 0;
  text-align: left;
}
.scenic-location-heading .eyebrow { color: var(--gold); }
.scenic-location-heading h2 {
  color: var(--deep);
  max-width: 690px;
  text-shadow: none;
}
.scenic-location-heading .location-badge {
  display: table;
  color: var(--sea);
  border-color: rgba(18,62,59,.28);
  background: rgba(249,246,239,.58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.scenic-location-heading .scenic-heading-content > p:last-child {
  max-width: 650px;
  color: var(--ink);
  text-shadow: none;
}
.resort-palm-heading {
  background-image: url("images/generated/islamorada-resort-palm-beach.webp");
}
.bungalow-sunset-heading {
  background-image: url("images/generated/castaway-bungalow-overseas-highway-sunset.webp");
  background-position: center right;
}
/* The image replaces the former video treatment on this heading. */
.resort-video-heading,
.resort-heading-video { all: unset; }

@media (max-width: 850px) {
  .scenic-location-heading {
    min-height: 500px;
    margin: 0 -6vw 42px;
    padding: 56px 6vw;
    background-position: 62% center;
  }
  .scenic-location-heading::before {
    background: linear-gradient(90deg,
      rgba(249,246,239,.97) 0%,
      rgba(249,246,239,.91) 58%,
      rgba(249,246,239,.58) 100%);
  }
  .scenic-heading-content { width: min(680px, 78%); }
}
@media (max-width: 650px) {
  .scenic-location-heading {
    min-height: 470px;
    margin: 0 -6vw 36px;
    padding: 46px 6vw;
    align-items: flex-end;
  }
  .scenic-location-heading::before {
    background: linear-gradient(180deg,
      rgba(249,246,239,.50) 0%,
      rgba(249,246,239,.87) 42%,
      rgba(249,246,239,.98) 100%);
  }
  .scenic-heading-content { width: 100%; }
}

/* Scenic headers on the two location-specific pages. */
.page-intro.scenic-location-heading {
  margin-top: 0;
  margin-bottom: 0;
}
.page-intro.scenic-location-heading .scenic-heading-content {
  max-width: none;
  margin: 0;
}
.page-intro.scenic-location-heading h1 {
  color: var(--deep);
  max-width: 760px;
  text-shadow: none;
}
.page-intro.scenic-location-heading .page-lede {
  max-width: 650px;
  color: var(--ink);
}
.page-intro.scenic-location-heading .page-head-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#resort-amenities.resort.section {
  padding-top: clamp(56px, 7vw, 96px);
}
@media (max-width: 650px) {
  .page-intro.scenic-location-heading .page-head-cta {
    align-items: stretch;
  }
}


/* ---------- 2026-07-28 deployed layout corrections ----------
   Keeps the Islamorada guide teaser separate from the preceding listing,
   restores intentional mobile inset on location-page heroes, and prevents
   media from visually bleeding into the next section. */
.area-teaser {
  position: relative;
  z-index: 4;
  clear: both;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: #f3ecdf;
}
.area-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f3ecdf;
}
.area-teaser .section-heading.centered {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  margin: 0 auto;
}
/* Give the single bungalow listing a definite bottom boundary before teaser. */
.bungalow-section .home-grid.one {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.bungalow-section + .area-teaser {
  margin-top: 0;
  border-top: 1px solid rgba(18,62,59,.08);
}

/* Location-specific scenic headers should sit inside the viewport instead of
   inheriting the homepage full-bleed negative margins. */
.page-intro.scenic-location-heading {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

@media (max-width: 650px) {
  .page-intro.scenic-location-heading {
    min-height: 550px;
    margin-left: 0;
    margin-right: 0;
    padding: 52px 24px 44px;
    background-position: 68% center;
  }
  .page-intro.scenic-location-heading .scenic-heading-content {
    width: 100%;
    max-width: 100%;
  }
  .page-intro.scenic-location-heading h1 {
    font-size: clamp(3.25rem, 13vw, 4.6rem);
    overflow-wrap: normal;
  }
  .page-intro.scenic-location-heading .location-badge {
    display: block;
    width: 100%;
    padding: 11px 14px;
  }
  .page-intro.scenic-location-heading .page-lede {
    font-size: .92rem;
    line-height: 1.72;
  }
  .page-intro.scenic-location-heading .page-head-cta {
    gap: 10px;
  }
  .page-intro.scenic-location-heading .page-head-cta a {
    flex: 1 1 auto;
    text-align: center;
  }
  .breadcrumbs {
    padding-left: 24px;
    padding-right: 24px;
  }
  .area-teaser {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* ---------- Homepage listing scale correction ----------
   Keeps the luxury split-card treatment while preventing gallery images
   from expanding into near full-screen panels on desktop. */
@media (min-width: 761px) {
  .location-block .home-grid,
  .location-block .home-grid.one {
    gap: 72px;
  }

  .location-block .home-card,
  .location-block .home-card:nth-child(even) {
    min-height: 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  }

  .location-block .home-card:nth-child(even) {
    grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  }

  .location-block .home-card > img {
    height: clamp(390px, 38vw, 520px);
    min-height: 0;
    max-height: 520px;
  }

  .location-block .home-card-body {
    padding: 46px 42px 42px;
  }

  .location-block .home-card h3 {
    font-size: clamp(2.15rem, 2.8vw, 3.35rem);
    margin-bottom: 22px;
  }

  .location-block .home-card .property-facts {
    margin-bottom: 22px;
  }

  .location-block .home-card p {
    margin-bottom: 22px;
    line-height: 1.68;
  }
}

@media (min-width: 1200px) {
  .location-block .home-card,
  .location-block .home-card:nth-child(even) {
    width: min(100%, 1380px);
    margin-inline: auto;
  }
}
