: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: url("https://www.furnishedfinder.com/_pdp_/1015427/1/1015427_1_65944037-full.png") 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 {
  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 h2 { font-size: clamp(2.8rem,4vw,4.4rem); }
.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: 30px -7vw 120px;
  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.jpg") 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;
}
