/* ==========================================================================
   Dellsvacations Club — Reference Theme
   Built as a static prototype for WordPress migration.
   Brand palette inspired by the Wisconsin Dells rental market, distinct
   from any competitor's exact colors/marks.
   ========================================================================== */

:root {
  /* Brand palette */
  --color-primary: #146569;      /* deep lake teal */
  --color-primary-dark: #0d4649;
  --color-primary-light: #1c8489;
  --color-accent: #e8823a;       /* sunset orange */
  --color-accent-dark: #c96a28;
  --color-cream: #faf6ee;
  --color-cream-dark: #f1e9d8;
  --color-ink: #1d2b2a;
  --color-ink-light: #55655f;
  --color-white: #ffffff;
  --color-border: #e6ddca;

  /* Reserved: exact color of the existing live booking widget button.
     Do not change — preserves the current booking area look as requested. */
  --booking-blue: #337ab7;
  --booking-blue-dark: #2b6699;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(29, 43, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(29, 43, 42, 0.12);
  --shadow-lg: 0 20px 50px rgba(29, 43, 42, 0.18);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--color-primary-dark);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.section {
  padding: 80px 0;
}
.section--tight { padding: 56px 0; }
.section--cream-dark { background: var(--color-cream-dark); }
.section--primary {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
}
.section--primary h2, .section--primary h3 { color: var(--color-white); }
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left { margin: 0 0 40px; text-align: left; }
.section-head p { color: var(--color-ink-light); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-accent); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: var(--color-white); }
.btn-outline-light:hover { background: var(--color-white); color: var(--color-primary-dark); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-primary-dark);
  letter-spacing: -.01em;
}
.brand-text span { color: var(--color-accent); }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--color-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ==========================================================================
   Hero + Booking widget
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  padding: 60px 0 150px;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13,29,30,.45) 0%, rgba(13,29,30,.55) 55%, rgba(13,29,30,.85) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 170px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-dots button.is-active { background: var(--color-white); transform: scale(1.3); }
.hero-inner { max-width: 700px; }
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  color: var(--color-white);
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,.9);
  max-width: 540px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}
.hero-stats div { font-family: var(--font-heading); }
.hero-stats strong { display: block; font-size: 24px; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.75); }

/* Booking bar — visual match to the current live booking widget.
   Keep the blue accent (--booking-blue) as-is; everything else in the
   redesign uses the new teal/orange brand palette. */
.booking-bar-wrap {
  position: relative;
  z-index: 3;
  margin-top: -86px;
}
.booking-bar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.booking-field {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .15s ease;
}
.booking-field:hover { background: var(--color-cream); }
.booking-field + .booking-field { border-left: 1px solid var(--color-border); }
.booking-field .icon {
  width: 20px; height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.booking-field-text { display: flex; flex-direction: column; }
.booking-field-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-ink);
}
.booking-field-value {
  font-size: 14px;
  color: var(--color-ink-light);
}
.booking-search-btn {
  background: var(--booking-blue);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background .15s ease;
}
.booking-search-btn:hover { background: var(--booking-blue-dark); }

@media (max-width: 900px) {
  .booking-bar { flex-wrap: wrap; }
  .booking-field { flex: 1 1 45%; }
  .booking-field + .booking-field { border-left: none; }
  .booking-search-btn { flex: 1 1 100%; justify-content: center; padding: 14px; margin-top: 4px; }
}

/* ==========================================================================
   Booking widget popovers (location dropdown, date-range calendar, guests)
   ========================================================================== */
.field-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 18px;
  z-index: 60;
  display: none;
}
.field-popover.is-open { display: block; }
.field-popover-location { min-width: 240px; }
.field-popover-guests { min-width: 260px; }

.location-list { display: flex; flex-direction: column; gap: 2px; }
.location-list button {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ink);
  cursor: pointer;
  width: 100%;
}
.location-list button:hover,
.location-list button.is-selected {
  background: var(--color-cream-dark);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.calendar-popover { min-width: 600px; }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-header .calendar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink-light);
}
.calendar-nav-btn {
  background: var(--color-cream-dark);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.calendar-nav-btn:hover { background: var(--color-primary); color: var(--color-white); }
.calendar-months { display: flex; gap: 28px; }
.calendar-month { flex: 1; }
.calendar-month-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-grid .dow {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--color-ink-light);
  padding-bottom: 6px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-family: var(--font-body);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--color-ink);
}
.calendar-day:hover:not(.is-disabled):not(.is-empty) { background: var(--color-cream-dark); }
.calendar-day.is-disabled { color: #d8d2c2; cursor: not-allowed; }
.calendar-day.is-empty { visibility: hidden; cursor: default; }
.calendar-day.is-selected { background: var(--color-primary); color: var(--color-white); font-weight: 700; }
.calendar-day.is-in-range { background: var(--color-cream-dark); border-radius: 0; }
.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.calendar-footer .hint { font-size: 13px; color: var(--color-ink-light); }
.calendar-footer button {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary);
  cursor: pointer;
}

.guest-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.guest-stepper-row .label { font-family: var(--font-heading); font-weight: 600; font-size: 14px; }
.guest-stepper-row .sub { font-size: 12px; color: var(--color-ink-light); }
.stepper-controls { display: flex; align-items: center; gap: 14px; }
.stepper-controls button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary-dark);
}
.stepper-controls button:hover:not(:disabled) { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.stepper-controls button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-controls span { min-width: 20px; text-align: center; font-weight: 600; font-family: var(--font-heading); }
.guest-popover-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

@media (max-width: 900px) {
  .field-popover {
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow-y: auto;
  }
  .calendar-popover { min-width: auto; }
  .calendar-months { flex-direction: column; gap: 18px; }
}

/* ==========================================================================
   Amenity quick filters
   ========================================================================== */
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.quick-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  transition: border-color .15s ease, color .15s ease;
}
.quick-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ==========================================================================
   Category / experience cards (home page)
   ========================================================================== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.experience-grid .card-lg:nth-child(1) { grid-column: span 2; }
.experience-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.experience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.experience-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,29,30,0) 40%, rgba(13,29,30,.82) 100%);
}
.experience-card-body { position: relative; z-index: 2; padding: 26px; color: var(--color-white); }
.experience-card-body .tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 6px;
}
.experience-card-body h3 { color: var(--color-white); margin-bottom: 6px; font-size: 22px; }
.experience-card-body p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 10px; }
.experience-card-body .link-arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 860px) {
  .experience-grid { grid-template-columns: 1fr; }
  .experience-grid .card-lg:nth-child(1) { grid-column: span 1; }
}

/* ==========================================================================
   Property cards
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.property-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.property-card:hover .property-card-media img { transform: scale(1.06); }
.property-card-badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.92);
  color: var(--color-primary-dark);
}
.badge--accent { background: var(--color-accent); color: var(--color-white); }
.property-card-rating {
  position: absolute; top: 14px; right: 14px;
  background: rgba(13,29,30,.75);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 4px;
}
.property-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.property-card-body .resort { font-size: 12px; color: var(--color-ink-light); font-weight: 600; margin-bottom: 4px; }
.property-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.property-card-meta {
  display: flex; gap: 14px;
  font-size: 13px; color: var(--color-ink-light);
  margin-bottom: 14px;
}
.property-card-amenities {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--color-ink-light);
  margin-bottom: 18px;
}
.property-card-amenities span {
  background: var(--color-cream-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.property-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.property-filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.property-filter-pills a {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  background: var(--color-white);
}
.property-filter-pills a.is-active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--color-accent); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { color: var(--color-ink-light); font-size: 15px; }
.testimonial-author { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--color-primary-dark); }
.testimonial-date { font-size: 12px; color: var(--color-ink-light); }

@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Attraction cards
   ========================================================================== */
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.attraction-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.attraction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.attraction-card-media { aspect-ratio: 16/10; overflow: hidden; }
.attraction-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-banner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 46px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.tile-banner--accent { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); }
.tile-banner--sun { background: linear-gradient(135deg, #2f8f8f, var(--color-primary-dark)); }
.attraction-card-body { padding: 20px 22px 24px; }
.attraction-card-loc {
  font-size: 12px; font-weight: 700; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.attraction-card h3 { font-size: 18px; margin-bottom: 8px; }
.attraction-card p { font-size: 14px; color: var(--color-ink-light); margin-bottom: 14px; }
.attraction-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.attraction-card-tags span {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--color-cream-dark); color: var(--color-primary-dark);
}
.attraction-card-link { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-bar button.is-active,
.filter-bar button:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================================================
   Guest perks
   ========================================================================== */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.perk-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
}
.perk-card .perk-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.perk-card h3 { font-size: 18px; }
.perk-card .perk-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--color-accent-dark);
  background: #fdf0e4;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.perk-card p { font-size: 14px; color: var(--color-ink-light); }

@media (max-width: 860px) { .perk-grid { grid-template-columns: 1fr; } }

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.partner-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  padding: 10px 20px 10px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.partner-row img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.partner-row strong { flex: 1; font-family: var(--font-heading); font-size: 14px; }
.partner-row a { font-size: 13px; color: var(--color-primary); font-weight: 600; white-space: nowrap; }

@media (max-width: 700px) { .partner-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .partner-row { gap: 12px; padding-right: 14px; }
  .partner-row img { width: 84px; height: 64px; }
}

.steps-list { counter-reset: step; }
.steps-list li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   Property detail template
   ========================================================================== */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery a:first-child { grid-row: span 2; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-meta { display: flex; gap: 22px; padding: 20px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin: 20px 0 28px; font-size: 15px; }
.detail-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 20px 0 30px; }
.detail-amenities div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.booking-side {
  position: sticky;
  top: 110px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  border: 1px solid var(--color-border);
}
.booking-side .price { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--color-primary-dark); }
.booking-side .price span { font-size: 14px; font-weight: 500; color: var(--color-ink-light); }
.booking-side .rating { font-size: 14px; margin-bottom: 18px; color: var(--color-ink-light); }
.booking-side .date-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 12px; }
.booking-side .date-row div { padding: 10px 14px; }
.booking-side .date-row div:first-child { border-right: 1px solid var(--color-border); }
.booking-side .date-row label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--color-ink-light); }
.callout-box {
  background: var(--color-cream-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-size: 14px;
  color: var(--color-ink-light);
  margin-top: 20px;
}
.callout-box strong { color: var(--color-primary-dark); }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
  .detail-gallery a:first-child { grid-column: span 2; grid-row: auto; height: 240px; }
  .booking-side { position: static; }
}

/* ==========================================================================
   Pricing / service tiers (Property Management page)
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.tier-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.tier-card.is-featured { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.tier-badge {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tier-card .tier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.tier-card .tier-name span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-ink-light);
}
.tier-card .tier-price {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
  line-height: 1.25;
}
.tier-card .tier-price span { display: block; font-size: 13px; font-weight: 500; color: var(--color-ink-light); margin-top: 2px; }
.tier-card p.tier-desc { font-size: 14px; color: var(--color-ink-light); margin-top: 10px; }
.tier-card ul.tier-features { margin: 16px 0 24px; flex: 1; }
.tier-card ul.tier-features li {
  font-size: 13.5px;
  color: var(--color-ink-light);
  padding: 6px 0 6px 24px;
  position: relative;
}
.tier-card ul.tier-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 6px;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

/* Numbered "red flag" checklist */
.flag-list { counter-reset: flag; }
.flag-list li {
  counter-increment: flag;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14.5px;
  color: var(--color-ink-light);
}
.flag-list li:last-child { border-bottom: none; }
.flag-list li::before {
  content: counter(flag);
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fdecec;
  color: #c23b3b;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.flag-list li strong { color: var(--color-ink); }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-strip .perk-card { border-top-width: 3px; padding: 24px; }
.feature-strip .perk-card h3 { font-size: 16px; }
.feature-strip .perk-card p { font-size: 13.5px; }
@media (max-width: 900px) { .feature-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-strip { grid-template-columns: 1fr; } }

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rate-table th, .rate-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}
.rate-table th { font-family: var(--font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-ink-light); background: var(--color-cream-dark); }
.rate-table td strong { color: var(--color-primary-dark); }
.rate-table tr:last-child td { border-bottom: none; }

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.contact-strip a.btn { min-width: 220px; justify-content: center; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--color-white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 480px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid h4 { color: var(--color-white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul a:hover { color: var(--color-accent); }
.footer-brand .brand-text { color: var(--color-white); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Mobile nav
   ========================================================================== */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 20px; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--color-cream-dark); }
  .main-nav a { display: block; padding: 14px 0; }
  .header-actions .btn-primary { padding: 10px 18px; font-size: 13px; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .hero { min-height: 560px; padding-bottom: 190px; }
  .booking-bar-wrap { margin-top: -150px; }
}
