/* =========================================================
   MRP Travels — Theme 1: "Coastal Boutique"
   Elegant boutique-hotel aesthetic: cream + ink-navy,
   serif display headings, generous whitespace.
   ========================================================= */

:root {
  /* Colors */
  --cream: #faf6ee;
  --cream-alt: #f2ead9;
  --cream-card: #fffdf8;
  --ink: #1c2b45;
  --ink-soft: #33425e;
  --navy: #1b2a4a;
  --navy-deep: #12203a;
  --brand-blue: #2c4a91;
  --brand-blue-light: #4e6bb0;
  --gold: #b98a4e;
  --gold-soft: #e4c690;
  --white: #ffffff;
  --line: #e4dac4;
  --shadow-soft: 0 10px 30px rgba(28, 43, 69, 0.08);
  --shadow-card: 0 14px 34px rgba(28, 43, 69, 0.12);

  /* Type */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

em, .accent {
  font-style: italic;
  color: var(--gold);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head.align-left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--brand-blue);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: #a37838;
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 64px;
  width: auto;
  display: block;
}

.brand-word {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
  background: var(--cream-alt);
}

.main-nav a.nav-cta,
.main-nav a.nav-cta:hover {
  color: var(--white);
  background: var(--navy);
}

.main-nav a.nav-cta:hover {
  background: var(--brand-blue);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  max-height: 820px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 32, 58, 0.55) 0%, rgba(18, 32, 58, 0.72) 60%, rgba(18, 32, 58, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 28px 90px;
  margin: 0 auto;
  text-align: center;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  color: var(--white);
}

.hero h1 em {
  color: var(--gold-soft);
}

.hero p.lead {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* small page hero (properties) */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 64px;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 40px;
  background: var(--cream);
  border-radius: 40px 40px 0 0;
}

.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero p {
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Value props ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
}

.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.96rem; }

/* ---------- Alt sections ---------- */

.section-alt {
  background: var(--cream-alt);
}

/* ---------- Cards / Grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-grid.preview {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--line);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(28, 43, 69, 0.16);
}

.card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-alt);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-price-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27, 42, 74, 0.92);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.card-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

.card-actions .btn {
  flex: 1;
}

.loading-msg,
.empty-msg {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(185, 138, 78, 0.25), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(78, 107, 176, 0.3), transparent 55%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.cta-band h2 { color: var(--white); }
.cta-band h2 em { color: var(--gold-soft); }
.cta-band p { color: rgba(255,255,255,0.82); margin-bottom: 30px; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.cta-band .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Forms ---------- */

.form-section {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  max-width: 780px;
  margin: 0 auto;
}

.form-section .section-head {
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.form-grid > * {
  min-width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

input,
select,
textarea {
  max-width: 100%;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field .hint {
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-weight: 400;
}

input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(44, 74, 145, 0.14);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input[readonly] {
  background: var(--cream-alt);
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
  border-style: dashed;
}

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.form-confirmation {
  display: none;
  grid-column: 1 / -1;
  background: #eef6ec;
  border: 1px solid #bcdcb3;
  color: #2b5a24;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.form-confirmation.visible {
  display: block;
}

.form-confirmation.error {
  background: #fbeaea;
  border-color: #eabcbc;
  color: #7a2a2a;
}

.calc-box {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-box .calc-label {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
}

.calc-box .calc-total {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

/* ---------- Content + form split (properties page) ---------- */

.split-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-card {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand-card img {
  height: 84px;
  width: auto;
}

.site-footer p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: inherit;
  transition: all 0.2s ease;
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact page bits (used on index CTA / footer contact) ---------- */

.contact-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Detail pages (property profile) ---------- */

.detail-gallery {
  padding: 32px 0 0;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-alt);
  box-shadow: var(--shadow-card);
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cream-alt);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

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

.gallery-thumb:hover {
  opacity: 0.85;
}

.gallery-thumb.active,
.gallery-thumb[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--navy);
  opacity: 1;
}

.back-link {
  display: inline-block;
  margin: 30px 0 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.back-link:hover {
  text-decoration: underline;
}

.detail-content {
  /* flush with the gallery and the back link; only running text keeps a readable line length */
  max-width: none;
  margin: 18px 0 0;
}

.detail-content .detail-desc,
.detail-content .detail-block > p,
.detail-content .detail-block > .detail-note { max-width: 78ch; }

.detail-meta {
  margin-bottom: 18px;
}

.detail-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.detail-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.detail-desc p {
  margin: 0 0 16px;
}

.detail-desc p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 980px) {
  .card-grid,
  .card-grid.preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-section {
    padding: 32px 24px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 79px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin: 14px 0 0;
  }

  .nav-toggle {
    display: flex;
  }

  section { padding: 60px 0; }

  .hero-content { padding: 100px 24px 70px; }

  .card-grid,
  .card-grid.preview {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-main {
    aspect-ratio: 3 / 2;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  h1 { font-size: 2.1rem; }
  .hero { min-height: 92vh; }
}

/* Property filters */
.filter-bar { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.filter-toggle { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; border: 1px solid currentColor; border-radius: 999px; cursor: pointer; font-size: .95rem; }
.filter-toggle:has(input:checked) { background: var(--navy); color: #fff; border-color: transparent; }
.filter-count { font-size: .9rem; opacity: .7; }

/* Gallery: preview + lightbox */
.gallery-main { cursor: zoom-in; }
.gallery-view-all {
  position: absolute; right: 16px; bottom: 16px;
  padding: .55rem 1.1rem; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--navy);
  font: 600 .85rem/1 inherit; font-family: inherit; cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery-view-all:hover { background: #fff; }
.gallery-thumb.has-more img { filter: brightness(.55); }
.gallery-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: .95rem; pointer-events: none;
}

body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto;
  align-items: center; justify-items: center;
  background: #0a1222; padding: 56px 12px 12px;
}
.lightbox-img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 8px; }
.lightbox-nav {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav.prev { grid-column: 1; grid-row: 1; }
.lightbox-nav.next { grid-column: 3; grid-row: 1; }
.lightbox-close {
  position: absolute; top: 10px; right: 14px; width: 44px; height: 44px;
  border: 0; background: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.lightbox-count { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; opacity: .85; }
.lightbox-strip {
  grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; max-width: 100%;
  overflow-x: auto; padding: 12px 4px 0;
}
.lightbox-strip button { flex: 0 0 auto; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.lightbox-strip button.active { border-color: var(--gold); opacity: 1; }
.lightbox-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 40px 1fr 40px; padding-top: 52px; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 1.6rem; }
}

/* ---------- Destination mosaic ---------- */
.dest-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 1rem; }
.dest-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); color: #fff; text-decoration: none; background: var(--navy); box-shadow: var(--shadow-soft); isolation: isolate; }
.dest-tile.no-match { display: none; }
.dest-tile:nth-child(10n+1) { grid-column: span 2; grid-row: span 2; }
.dest-tile:nth-child(10n+4), .dest-tile:nth-child(10n+9) { grid-column: span 2; }
.dest-tile:nth-child(10n+6) { grid-row: span 2; }
.dest-img { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, var(--navy), var(--brand-blue-light)) center / cover no-repeat; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dest-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 32, 58, 0) 35%, rgba(18, 32, 58, .82) 100%); }
.dest-tile:hover .dest-img, .dest-tile:focus-visible .dest-img { transform: scale(1.06); }
.dest-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dest-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem; }
.dest-kind { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.dest-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.dest-tile:nth-child(10n+1) .dest-name { font-size: 2rem; }
.dest-tagline { font-size: .85rem; opacity: .9; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.dest-tile:nth-child(10n+1) .dest-tagline, .dest-tile:hover .dest-tagline, .dest-tile:focus-visible .dest-tagline { max-height: 3em; }
@media (hover: none) { .dest-tagline { max-height: 3em; } }
@media (max-width: 900px) {
  .dest-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: .75rem; }
  .dest-tile:nth-child(10n+4), .dest-tile:nth-child(10n+9) { grid-column: span 1; }
  .dest-tile:nth-child(10n+1) .dest-name { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .dest-img, .dest-tagline { transition: none; } }

/* ---------- Search (properties) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.stay-search { background: var(--cream-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 1rem; box-shadow: var(--shadow-card); }
.stay-search-main { display: flex; gap: .75rem; align-items: stretch; }
.stay-search-name { position: relative; flex: 1 1 auto; min-width: 0; }
.stay-search-name .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.stay-search input[type="search"], .stay-search select { width: 100%; height: 100%; min-height: 3.1rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 1.1rem; transition: border-color .2s, box-shadow .2s; }
.stay-search input[type="search"] { padding-left: 2.8rem; font-size: 1rem; }
.stay-search select { padding-right: 2rem; cursor: pointer; }
.stay-search input[type="search"]:focus, .stay-search select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(44, 74, 145, .15); }
.stay-search-zone { flex: 0 0 220px; }
.stay-search-btn { flex: 0 0 auto; padding-left: 2rem; padding-right: 2rem; }
.stay-search-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .9rem; }
.chips-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-right: .25rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .4rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; color: var(--ink-soft); transition: background .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.search-suggestions { position: absolute; z-index: 20; top: calc(100% + .4rem); left: 0; right: 0; list-style: none; margin: 0; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); max-height: 320px; overflow: auto; }
.search-suggestions li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .8rem; border-radius: var(--radius-sm); cursor: pointer; }
.search-suggestions li:hover, .search-suggestions li.active { background: var(--cream-alt); }
.sug-title { font-weight: 500; color: var(--navy); }
.sug-loc { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 720px) {
  .stay-search-main { flex-wrap: wrap; }
  .stay-search-name { flex: 1 1 100%; }
  .stay-search-zone { flex: 1 1 0; }
}

/* ---------- Landing pages ---------- */
.breadcrumb { font-size: .85rem; opacity: .8; margin-bottom: .75rem; }
.breadcrumb a { text-decoration: underline; }
.landing-intro { max-width: 760px; margin: 0 auto 2rem; }
.landing-intro p { color: var(--ink-soft); margin-bottom: 1rem; }
.landing-highlights { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.landing-highlights li { border: 1px solid var(--line); background: var(--cream-card); border-radius: 999px; padding: .4rem 1rem; font-size: .9rem; }
.faq-list { max-width: 760px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq-list p { margin-top: .6rem; color: var(--ink-soft); }

/* ---------- Property gallery: big photo left, 2x2 thumbs right (same total height) ---------- */
@media (min-width: 721px) {
  .detail-gallery .container { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 250px); gap: 12px; }
  .detail-gallery .gallery-main { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; max-height: none; height: 100%; }
  .detail-gallery .gallery-thumbs { display: contents; }
  .detail-gallery .gallery-thumb { aspect-ratio: auto; height: 100%; }
  /* a single photo (no thumbs) takes the whole row */
  .detail-gallery .container:not(:has(.gallery-thumbs)) { grid-template-columns: 1fr; grid-template-rows: 500px; }
  .detail-gallery .container:not(:has(.gallery-thumbs)) .gallery-main { grid-row: 1; }
}

/* Clickable card image + title */
a.card-img { display: block; cursor: pointer; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
a.card-img:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }

/* ---------- Property profile: extra sections ---------- */
.detail-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; }
.detail-badges span { border: 1px solid var(--line); background: var(--cream-card); border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; color: var(--ink-soft); }
.detail-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.detail-block h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.detail-block p { color: var(--ink-soft); margin-bottom: .9rem; }
.amenity-top { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem 2rem; }
.amenity-top li { display: flex; align-items: center; gap: .85rem; color: var(--ink); font-size: .98rem; }
.amenity-ico { flex: 0 0 auto; color: var(--gold); }
.read-more { display: inline-block; margin-top: .5rem; padding: 0; background: none; border: 0; font: 600 .95rem var(--font-body); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.read-more:hover { color: var(--brand-blue); }
.desc-more[hidden] { display: none; }
.modal-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.25rem; background: rgba(18, 32, 58, .6); }
.modal-dialog { width: min(760px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: var(--cream-card); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.35rem; margin: 0; }
.modal-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); }
.modal-close:hover { background: var(--cream-alt); }
.modal-body { padding: 1.25rem 1.5rem 1.75rem; overflow-y: auto; }
.modal-sub { color: var(--ink-soft); margin: 0 0 1.25rem; }
.amenity-modal-group { margin-bottom: 1.4rem; }
.amenity-modal-group h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 .5rem; }
.amenity-modal-group ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.amenity-modal-group li { padding: .4rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 560px) { .amenity-modal-group ul { columns: 1; } .modal-dialog { max-height: 92vh; } }
.fee-list { list-style: none; margin: 0 0 1.25rem; padding: 0; max-width: 460px; }
.fee-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.fee-list strong { color: var(--navy); }
.rates-table-wrap { overflow-x: auto; }
.rates-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rates-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); padding: .5rem .75rem .5rem 0; border-bottom: 2px solid var(--line); }
.rates-table td { padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.detail-note { font-size: .85rem; opacity: .8; margin-top: .75rem; }
.detail-where { font-weight: 500; color: var(--navy); }
.detail-map { margin: 1rem 0 .25rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.detail-map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Contact cards */
.cta-band .container:has(.contact-cards) { max-width: 860px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 0 0 34px;
  text-align: left;
}
.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.contact-card h3 {
  color: var(--gold-soft);
  font-size: 1.1rem;
  margin: 0 0 14px;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.contact-row + .contact-row { border-top: 1px solid rgba(255,255,255,0.12); }
.contact-phone {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.contact-phone:hover { color: var(--gold-soft); }
.contact-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.contact-wa:hover { transform: scale(1.08); }
