@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Lato:wght@400;500;700&family=Playfair+Display:wght@500;600;700&display=swap");
:root {
  color-scheme: light;
  --official-dark: #224a6f;
  --official-light: #dcecf8;
  --sea: #dff4ff;
  --foam: #f6fbff;
  --sand: #f6ecdb;
  --surface: #ffffff;
  --text: #1c3346;
  --muted: #537086;
  --border: #d4e1ec;
  --success: #1d9d5c;
  --danger: #d14343;
  --warning: #c27a18;
  --shadow: 0 14px 34px rgba(33, 72, 104, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, #eef8ff 0%, transparent 42%),
    radial-gradient(circle at top right, #fff5e8 0%, transparent 36%),
    linear-gradient(180deg, #f4fbff 0%, #f9fdff 45%, #ffffff 100%);
}

h1,
h2,
h3,
.brand {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--official) 10%, #ffffff 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--official) 20%, var(--border) 80%);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  color: var(--official);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.18rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.top-nav a:hover {
  color: var(--official);
}

.inline-form {
  display: inline-flex;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.link-button:hover {
  color: var(--official);
}

main {
  padding: 1.5rem 0 3rem;
}

.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.beach-hero {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--official) 16%, #ffffff 84%), #ffffff),
    var(--surface);
  border-color: color-mix(in srgb, var(--official) 28%, var(--border) 72%);
}

.hero h1 {
  margin-top: 0.2rem;
  margin-bottom: 0.55rem;
}

.hero-tag {
  margin: 0;
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--official) 18%, #ffffff 82%);
  color: var(--official-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  max-width: 72ch;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.metric {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}

.metric h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--official-dark);
}

.metric p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--text);
}

.card-soft {
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--official);
  color: #fff;
  text-decoration: none;
  padding: 0.72rem 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--official) 28%, transparent 72%);
}

.button.secondary {
  background: transparent;
  color: var(--official-dark);
  border: 1px solid color-mix(in srgb, var(--official) 45%, var(--border) 55%);
  box-shadow: none;
}

.actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.93rem;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  background: #fff;
  color: var(--text);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--official) 34%, transparent 66%);
  border-color: color-mix(in srgb, var(--official) 48%, var(--border) 52%);
}

.checkbox {
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.helper-text {
  margin-top: 0.1rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-box {
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.status-box.ok {
  border-color: #b9e7cf;
  background: #f2fff8;
  color: #126f40;
}

.status-box.error {
  border-color: #f3c2c2;
  background: #fff7f7;
  color: #9f1f1f;
}

.status-box.muted {
  color: var(--muted);
}

.alerts {
  margin-bottom: 1rem;
}

.alert {
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.5rem;
}

.alert.error {
  background: #fff4f4;
  color: var(--danger);
  border: 1px solid #f5cccc;
}

.alert.success {
  background: #f2fff8;
  color: var(--success);
  border: 1px solid #c9efd9;
}

.alert.warning {
  background: #fff9f1;
  color: var(--warning);
  border: 1px solid #f3deb8;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 0.58rem 0.42rem;
  font-size: 0.92rem;
}

th {
  color: var(--official-dark);
  font-size: 0.87rem;
}

.status-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-chip.available {
  background: #e9fbf1;
  color: #157445;
}

.status-chip.full {
  background: #ffeeee;
  color: #a22626;
}

.login-card {
  max-width: 500px;
  margin-inline: auto;
}

.invoice-card ul {
  margin-top: 0.3rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--official) 10%, #ffffff 90%);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1rem 0;
  justify-items: center;
  text-align: center;
}

.footer-grid p {
  margin: 0 0 0.35rem;
}

.footer-title {
  color: var(--official-dark);
  font-weight: 800;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
/* Home page redesign: hotel-style layout */
body.home-page {
  background: #eceff3;
}

.home-page .site-header {
  position: absolute;
  width: 100%;
  background: linear-gradient(180deg, rgba(12, 27, 44, 0.72) 0%, rgba(12, 27, 44, 0.2) 70%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
}

.home-page .brand,
.home-page .top-nav a,
.home-page .link-button {
  color: #f5fbff;
}

.home-page .brand {
  font-size: 1.4rem;
}

.home-page .top-nav a:hover,
.home-page .link-button:hover {
  color: #ffffff;
}

.home-page main.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 3rem;
}

.home-page .alerts {
  width: min(1120px, calc(100% - 2rem));
  margin: 0.8rem auto;
  padding-top: 5rem;
}

.hotel-hero {
  min-height: 560px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(11, 22, 36, 0.45) 0%, rgba(11, 22, 36, 0.7) 100%),
    url("https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.hero-overlay {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  color: #f8fbff;
  padding: 8.8rem 1rem 6.4rem;
}

.hero-topline {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: #c9dff3;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.8vw, 4.2rem);
  line-height: 1;
  color: #ffffff;
}

.hero-overlay p {
  margin-top: 0.8rem;
  max-width: 64ch;
  color: #e6f1fb;
}

.availability-strip {
  width: min(1120px, calc(100% - 2rem));
  margin: -2.7rem auto 2rem;
  background: #ffffff;
  border: 1px solid #d8e3ed;
  box-shadow: 0 22px 35px rgba(24, 45, 67, 0.15);
  border-radius: 14px;
  padding: 0.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  align-items: stretch;
  gap: 0.45rem;
}

.availability-item {
  border: 1px solid #e6edf4;
  border-radius: 10px;
  padding: 0.72rem 0.84rem;
  background: #fbfdff;
}

.availability-item span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #67839d;
  font-size: 0.66rem;
  margin-bottom: 0.22rem;
}

.availability-item strong {
  display: block;
  font-size: 1.08rem;
  color: var(--official-dark);
}

.availability-item small {
  color: #6e8398;
  font-size: 0.74rem;
}

.availability-button {
  height: auto;
  min-width: 200px;
  border-radius: 10px;
  align-self: stretch;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.rooms-showcase {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.room-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #ffffff;
  border: 1px solid #dbe4ed;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(31, 54, 76, 0.12);
}

.room-row.reverse .room-media {
  order: 2;
}

.room-row.reverse .room-content {
  order: 1;
}

.room-media {
  min-height: 290px;
}

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

.room-content {
  padding: 1.3rem 1.35rem;
}

.room-badge {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #6e8daa;
}

.room-content h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 2rem;
  color: #1f3750;
}

.room-content p {
  color: #4f657a;
}

.room-price {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.72rem;
  font-weight: 800;
  color: var(--official);
}

.room-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #5f7891;
}

.room-content ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #3f566d;
}

.room-content .actions {
  margin-top: 0.9rem;
}
.amenities-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
}

.amenities-header h2 {
  margin: 0;
  color: #233f5b;
  font-size: 2rem;
}

.amenities-header p {
  margin-top: 0.45rem;
  color: #5d748b;
}

.amenities-carousel {
  position: relative;
  margin-top: 0.8rem;
}

.amenities-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0.1rem 0.55rem;
}

.amenities-track::-webkit-scrollbar {
  height: 8px;
}

.amenities-track::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--official) 45%, #d5e3ee 55%);
  border-radius: 999px;
}

.amenity-card {
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #dbe6ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(34, 58, 83, 0.12);
}

.amenity-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.amenity-caption {
  padding: 0.7rem 0.8rem 0.85rem;
}

.amenity-caption h3 {
  margin: 0;
  font-size: 1rem;
  color: #1f3851;
}

.amenity-caption p {
  margin: 0.34rem 0 0;
  color: #60788f;
  font-size: 0.89rem;
}

.carousel-control {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--official) 30%, #dbe6ef 70%);
  background: #ffffff;
  color: var(--official-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(25, 47, 70, 0.2);
  z-index: 5;
}

.carousel-control.prev {
  left: -0.7rem;
}

.carousel-control.next {
  right: -0.7rem;
}

.home-data-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.home-data-grid .card {
  margin: 0;
}

.monthly-calendar-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.haven-availability .monthly-calendar-card {
  padding: 1rem;
}

.calendar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.calendar-header h2 {
  margin: 0;
  font-size: 1.65rem;
  color: #1f3750;
}

.calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.22rem;
  border: 1px solid #d7e3ee;
  border-radius: 999px;
  background: #ffffff;
}

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #f1f6fb;
  color: #2e5377;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

#calendar-month-label {
  margin: 0 0.3rem;
  min-width: 145px;
  text-align: center;
  text-transform: capitalize;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d516f;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
}

.calendar-weekdays span {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #6b849c;
  font-weight: 700;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.42rem;
  grid-auto-rows: minmax(56px, auto);
}

.calendar-day {
  border: 1px solid #dee8f2;
  border-radius: 12px;
  background: #ffffff;
  min-height: 56px;
  aspect-ratio: auto;
  padding: 0.32rem 0.25rem 0.38rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.haven-availability .calendar-day {
  min-height: 56px;
}

.calendar-day-number {
  font-size: 0.96rem;
  font-weight: 700;
  color: #26435d;
}

.calendar-day-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.calendar-day.available .calendar-day-dot,
.legend-dot.available {
  background: #23955c;
}

.calendar-day.partial .calendar-day-dot,
.legend-dot.partial {
  background: #d39b36;
}

.calendar-day.full .calendar-day-dot,
.legend-dot.full {
  background: #ce5959;
}

.calendar-day.full {
  background: #f8fbfd;
}

.calendar-day.blocked {
  border-style: dashed;
  cursor: not-allowed;
}

.calendar-day.blocked .calendar-day-number {
  color: #8498aa;
}

.calendar-day.outside-month {
  opacity: 0.42;
  background: #f5f9fc;
}

.calendar-day.today {
  border-color: color-mix(in srgb, var(--official) 62%, #ffffff 38%);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--official) 30%, #ffffff 70%);
}

.calendar-legend {
  margin-top: 0.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: #607a92;
  font-size: 0.83rem;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.calendar-day-dot.workshop,
.legend-dot.workshop {
  background: #4f7cc1;
}

.calendar-day-dot.conference,
.legend-dot.conference {
  background: #2e9b8f;
}

.calendar-day-dot.special,
.legend-dot.special {
  background: #bb7a2f;
}

.calendar-day-dot.inactive {
  background: #d4dce5;
}

.auditorium-calendar-card .calendar-weekdays span {
  color: #7a758b;
}

.auditorium-calendar-card {
  background: #cabbe8;
  border-color: #b8a7de;
}

.auditorium-events-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.72rem;
  align-items: stretch;
}

.auditorium-calendar-panel {
  background: #f3f2f6;
  border: 1px solid rgba(160, 146, 196, 0.4);
  border-radius: 16px;
  padding: 0.85rem;
  min-width: 0;
}

.auditorium-calendar-grid {
  grid-auto-rows: minmax(56px, auto);
}

.auditorium-calendar-card .calendar-header {
  margin-bottom: 0.35rem;
}

.auditorium-calendar-header h2 {
  color: #1f1f2c;
  font-size: 2rem;
}

.auditorium-calendar-header .calendar-nav {
  background: transparent;
  border-color: transparent;
  padding: 0;
  gap: 0.45rem;
}

.auditorium-calendar-header .calendar-nav-btn {
  background: #e7dcff;
  color: #6b4cc5;
}

#auditorium-calendar-month-label {
  margin: 0 0.3rem;
  min-width: 145px;
  text-align: center;
  text-transform: capitalize;
  font-size: 1rem;
  font-weight: 700;
  color: #6547ba;
}

.auditorium-calendar-card .calendar-day {
  background: #ffffff;
  border-color: transparent;
  color: #2a2a33;
  min-height: 58px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auditorium-calendar-card .calendar-day.outside-month {
  background: #eceaf0;
  border-color: #ddd9e8;
  opacity: 0.85;
}

.auditorium-calendar-card .calendar-day.auditorium-busy {
  border-color: #7e66cf;
  color: #6c50c8;
}

.auditorium-calendar-card .calendar-day.auditorium-busy::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6f59d0;
}

.auditorium-calendar-card .calendar-day.aud-featured {
  background: linear-gradient(145deg, #7564e9 0%, #5f55c7 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.auditorium-calendar-card .calendar-day.aud-featured .calendar-day-number {
  color: #ffffff;
}

.auditorium-calendar-card .calendar-day.aud-workshop {
  border-color: #7a63cc;
}

.auditorium-calendar-card .calendar-day.aud-conference {
  border-color: #7a63cc;
}

.auditorium-calendar-card .calendar-day.aud-special {
  border-color: #7a63cc;
}

.auditorium-calendar-card .calendar-day-dot {
  opacity: 0;
}

.auditorium-activities-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.auditorium-event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.62rem;
  align-items: center;
  border: 1px solid rgba(152, 137, 197, 0.35);
  border-radius: 14px;
  background: #f5f3f9;
  padding: 0.58rem 0.62rem;
}

.auditorium-event-date {
  width: 58px;
  min-height: 58px;
  border-radius: 12px;
  background: #e7ddff;
  color: #6d4ec8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auditorium-event-date strong {
  font-size: 2rem;
  line-height: 1;
}

.auditorium-event-date span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.auditorium-event-info h4 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.2;
  color: #29253d;
}

.auditorium-event-info p {
  margin: 0.22rem 0 0;
  color: #5f5b70;
  font-size: 0.83rem;
}

.auditorium-activities-list ul {
  margin: 0;
  padding-left: 1rem;
  color: #4e667d;
  display: grid;
  gap: 0.2rem;
}

.auditorium-empty,
.auditorium-more {
  margin: 0.15rem 0 0;
  color: #4f4b63;
  font-size: 0.85rem;
}

.calendar-error {
  grid-column: 1 / -1;
  border: 1px dashed #d1dee9;
  border-radius: 12px;
  padding: 0.85rem;
  text-align: center;
  color: #5f7690;
  background: #f9fcff;
}

@media (max-width: 980px) {
  .availability-strip {
    grid-template-columns: 1fr 1fr;
  }

  .availability-button {
    min-width: 100%;
  }

  .home-data-grid {
    grid-template-columns: 1fr;
  }
  .auditorium-events-layout {
    grid-template-columns: 1fr;
  }

  .auditorium-calendar-header h2 {
    font-size: 1.75rem;
  }

  .calendar-day {
    min-height: 50px;
  }
}

@media (max-width: 860px) {
  .home-page .site-header {
    position: sticky;
    background: linear-gradient(180deg, rgba(17, 41, 63, 0.96) 0%, rgba(17, 41, 63, 0.9) 100%);
  }

  .hotel-hero {
    min-height: 440px;
  }

  .hero-overlay {
    padding-top: 5.6rem;
    padding-bottom: 4.2rem;
  }

  .availability-strip {
    margin-top: 0.8rem;
  }

  .room-row,
  .room-row.reverse {
    grid-template-columns: 1fr;
  }

  .room-row.reverse .room-media,
  .room-row.reverse .room-content {
    order: initial;
  }

  .carousel-control {
    display: none;
  }
}

/* Blueprint overrides */
.home-page .site-header {
  position: sticky;
  background: color-mix(in srgb, var(--official) 9%, #ffffff 91%);
  border-bottom: 1px solid color-mix(in srgb, var(--official) 22%, #d6e2ed 78%);
  backdrop-filter: blur(8px);
}

.home-page .brand,
.home-page .top-nav a,
.home-page .link-button {
  color: var(--official-dark);
}

.home-page .top-nav a:hover,
.home-page .link-button:hover {
  color: var(--official);
}

.home-page main.container {
  width: min(1120px, calc(100% - 2rem));
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.home-page .alerts {
  width: 100%;
  margin: 0 0 0.8rem;
  padding-top: 0;
}

.blueprint-hero {
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cfdeea;
  box-shadow: 0 18px 34px rgba(24, 47, 70, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 31, 52, 0.56) 0%, rgba(12, 31, 52, 0.7) 100%),
    url("https://images.unsplash.com/photo-1618773928121-c32242e63f39?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.blueprint-hero-inner {
  max-width: 760px;
  padding: 4.4rem 2rem 4.2rem;
  color: #f8fbff;
}

.blueprint-hero-inner h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: #ffffff;
}

.blueprint-hero-inner p {
  margin-top: 0.85rem;
  max-width: 62ch;
  color: #e6f1fb;
}

.keyword-copy-section {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #d8e4ee;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(31, 55, 80, 0.11);
  padding: 1.5rem 1.35rem;
  text-align: center;
}

.keyword-copy-section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: #1f3750;
}

.keyword-copy-section p {
  margin: 0.65rem auto 0;
  max-width: 70ch;
  color: #56738a;
}

.intro-split-section {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #d8e4ee;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(31, 55, 80, 0.11);
  overflow: hidden;
}

.intro-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.intro-content {
  padding: 1.3rem 1.35rem;
}

.intro-content h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1.78rem;
  color: #1f3750;
}

.intro-content p {
  color: #56738a;
}

.offerings-directory {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #d8e4ee;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(31, 55, 80, 0.11);
  padding: 1.2rem;
}

.offerings-directory h2 {
  margin: 0 0 0.8rem;
  color: #1f3750;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.offering-card {
  border: 1px solid #d7e3ee;
  border-radius: 14px;
  padding: 0.92rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.offering-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #1f3750;
}

.offering-card p {
  margin: 0.35rem 0 0.2rem;
  color: #2d516f;
  font-weight: 600;
}

.offering-card small {
  color: #5f7990;
}

.social-proof-section {
  margin-top: 1rem;
  background: #ffffff;
  border: 1px solid #d8e4ee;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(31, 55, 80, 0.11);
  padding: 1.2rem;
}

.social-proof-section h2 {
  margin: 0 0 0.7rem;
  color: #1f3750;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.testimonials-grid blockquote {
  margin: 0;
  border: 1px solid #d8e4ee;
  border-radius: 12px;
  background: #f8fbff;
  color: #47647c;
  font-size: 0.97rem;
  padding: 0.9rem;
}

.extras-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.extras-layout .card {
  margin: 0;
}

.amenities-summary h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.amenities-pill-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.amenities-pill-grid li {
  border: 1px solid #d6e3ee;
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  text-align: center;
  color: #47647c;
  font-size: 0.9rem;
  background: #f8fbff;
}

.extras-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #5b748b;
}

@media (max-width: 980px) {
  .intro-split-section,
  .extras-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .home-page .site-header {
    background: color-mix(in srgb, var(--official) 9%, #ffffff 91%);
  }

  .blueprint-hero {
    min-height: 420px;
  }

  .blueprint-hero-inner {
    padding: 3.6rem 1.1rem 3.4rem;
  }

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

  .amenities-pill-grid {
    grid-template-columns: 1fr;
  }
}

/* Haven-like neutral aesthetic */
.haven-home {
  font-family: "Lato", "Inter", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.24) 0%, transparent 36%),
    linear-gradient(135deg, #4f6378 0%, #7e8d9e 46%, #b7ab9c 100%);
  background-attachment: fixed;
}

.haven-home h1,
.haven-home h2,
.haven-home h3,
.haven-home .haven-brand {
  font-family: "Cinzel", "Playfair Display", Georgia, serif;
  letter-spacing: 0.02em;
}

.haven-home .site-header,
.haven-home .site-footer {
  display: none;
}

.haven-home main.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.haven-shell {
  width: 100%;
  min-height: 100vh;
  background: color-mix(in srgb, #f6f3ee 95%, #ffffff 5%);
  border: 0;
  box-shadow: 0 18px 36px rgba(31, 34, 40, 0.15);
  overflow: hidden;
}

.haven-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #faf9f6;
  border-bottom: 1px solid #d8d4cd;
}

.haven-brand {
  margin: 0;
  font-family: "Cinzel", "Playfair Display", Georgia, serif;
  color: #32251f;
  font-size: 1.42rem;
  letter-spacing: 0.03em;
}

.haven-menu {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.haven-menu a {
  text-decoration: none;
  color: #5f5349;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
}

.haven-menu a:hover {
  border-color: #6d5946;
  color: #47392f;
}

.haven-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.haven-admin-link {
  color: #5a4f45;
  text-decoration: none;
  font-size: 0.84rem;
}

.haven-admin-link:hover {
  color: #3f3129;
}

.haven-cta {
  box-shadow: none;
  border-radius: 8px;
  background: var(--official);
  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--official) 70%, #ffffff 30%);
}

.haven-admin-button {
  background: #dccfbe;
  color: #3f3127;
  border: 1px solid #cdbda9;
}

.haven-admin-button:hover {
  background: #e8ddcf;
  color: #2f241c;
}

.haven-hero {
  position: relative;
  min-height: 520px;
  margin: 1rem;
  border: 1px solid #d7c8b6;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 16px 34px rgba(58, 45, 35, 0.12);
}
.haven-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(29, 22, 17, 0.7) 0%, rgba(29, 22, 17, 0.45) 38%, rgba(29, 22, 17, 0.2) 66%, rgba(29, 22, 17, 0.18) 100%);
}

.haven-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2.45rem 2.3rem;
  color: #f3ece3;
  align-self: center;
}

.haven-hero-illustration {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  pointer-events: none;
}

.haven-hero-illustration img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.haven-kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: #e7d9ca;
}

.haven-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  line-height: 1.06;
  color: #fff8ef;
  text-shadow: 0 2px 12px rgba(20, 14, 9, 0.35);
}

.haven-hero-copy p {
  color: #f1e6d9;
  max-width: 44ch;
  text-shadow: 0 1px 8px rgba(20, 14, 9, 0.25);
}

.haven-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  margin-top: 1.1rem;
}

.haven-hero-primary,
.haven-hero-secondary {
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.58rem 1.1rem;
}

.haven-hero-primary {
  background: #336699;
  color: #ffffff;
  border: 1px solid #696550;
}

.haven-hero-primary:hover {
  background: #68644f;
}

.haven-hero-secondary {
  background: rgba(248, 241, 232, 0.92);
  color: #5a4b3f;
  border: 1px solid rgba(230, 214, 195, 0.95);
}

.haven-hero-secondary:hover {
  background: rgba(240, 230, 219, 0.98);
  color: #5a4b3f;
}

.haven-section {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid #ddd8d1;
}

.haven-section h2 {
  margin: 0;
  color: #342922;
  font-size: 2rem;
}

.reserve-shell {
  background: color-mix(in srgb, #f6f3ee 95%, #ffffff 5%);
}

.reserve-hero {
  position: relative;
  min-height: 340px;
  margin: 1rem;
  border: 1px solid #d7c8b6;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.reserve-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(10, 8, 5, 0.3) 0%, rgba(10, 8, 5, 0.2) 46%, rgba(10, 8, 5, 0.1) 100%);
}

.reserve-hero .haven-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.reserve-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.5rem 2.3rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.reserve-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  line-height: 1.08;
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.reserve-hero-copy p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.reserve-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1rem;
  align-items: start;
  background: #f2efea;
}

.reserve-layout .card {
  margin: 0;
  box-shadow: none;
  border-color: #d8d3cb;
  background: #fcfbf8;
}

.reserve-info-card h2,
.reserve-form-card h2 {
  color: #342922;
  margin-top: 0;
}

.reserve-points {
  margin: 0.65rem 0 1rem;
  padding-left: 1.1rem;
  color: #5f5349;
  display: grid;
  gap: 0.35rem;
}

.reserve-info-card p {
  margin: 0.35rem 0 0;
  color: #4e4339;
}

.reserve-form-card form {
  margin-top: 0.35rem;
}

.haven-portfolio-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 180px);
  gap: 0.58rem;
}

.haven-portfolio-item {
  margin: 0;
}

.haven-portfolio-item.tall {
  grid-row: span 2;
}

.haven-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #d6d1c8;
}

.haven-about {
  position: relative;
  min-height: 460px;
  margin: 1rem;
  padding: 0;
  border: 1px solid #d7c8b6;
  border-radius: 24px;
  overflow: hidden;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #3f2f25;
}

.haven-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(23, 18, 14, 0.74) 0%, rgba(23, 18, 14, 0.52) 38%, rgba(23, 18, 14, 0.26) 66%, rgba(23, 18, 14, 0.18) 100%);
}

.haven-about-media {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.haven-about-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border: 0;
}

.haven-about-copy h2 {
  color: #fff8ef;
}

.haven-about-copy p {
  color: #f1e6d9;
  max-width: 45ch;
  margin-left: auto;
  text-align: right;
}

.haven-about-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2.2rem 2.1rem;
  text-align: right;
}

.haven-about-cta {
  margin-top: 0.8rem;
  border-radius: 999px;
  background: rgba(248, 241, 232, 0.92);
  color: #5a4b3f;
  border: 1px solid rgba(230, 214, 195, 0.95);
}

.haven-about-cta:hover {
  background: rgba(240, 230, 219, 0.98);
  color: #5a4b3f;
}

.haven-reference-image {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7d0c6;
}

.haven-reference-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.availability-reference-image img {
  height: 155px;
}

.map-reference-image img {
  height: 145px;
}

.haven-rooms {
  background: #f4f1ec;
}

.haven-rooms-head p {
  margin: 0.35rem 0 0;
  color: #65574b;
}

.haven-rooms-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.haven-room-card {
  border: 1px solid #d7d0c6;
  background: #fcfaf7;
  border-radius: 14px;
  overflow: hidden;
}

.haven-room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.haven-room-card-copy {
  padding: 0.95rem 1rem 1rem;
}

.haven-room-card-copy h3 {
  margin: 0;
  color: #3d3128;
  font-size: 1.35rem;
}

.haven-room-price {
  margin: 0.35rem 0 0.45rem;
  color: #4d3c2f;
  font-weight: 700;
  font-size: 1.08rem;
}

.haven-room-price span {
  color: #6b5c50;
  font-weight: 500;
  font-size: 0.9rem;
}

.haven-room-card-copy ul {
  margin: 0;
  padding-left: 1rem;
  color: #64564a;
}

.haven-services {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f7f5f1;
}

.haven-services-head p {
  margin: 0.35rem 0 0;
  color: #66584b;
}

.haven-services-carousel {
  margin-top: 0.15rem;
}

.haven-services-track {
  grid-auto-columns: minmax(250px, 32%);
}

.haven-services .amenity-card {
  background: #fcfaf7;
  border-color: #d7d0c6;
  box-shadow: none;
}

.haven-services .amenity-card img {
  border-bottom: 1px solid #ded7cd;
}

.haven-services .amenity-caption h3 {
  color: #3d3128;
}

.haven-services .amenity-caption p {
  color: #67594d;
}

.haven-services-actions {
  margin-top: 0.2rem;
}

.haven-auditorium {
  position: relative;
  min-height: 420px;
  margin: 1rem;
  padding: 0;
  border: 1px solid #d7c8b6;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.haven-auditorium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 8, 5, 0.25) 0%, rgba(10, 8, 5, 0.15) 40%, rgba(10, 8, 5, 0.1) 70%, rgba(10, 8, 5, 0.05) 100%);
}

.haven-auditorium-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 2.5rem 2.3rem;
  text-align: right;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.haven-auditorium-copy h2 {
  color: #1a1a2e;
  text-shadow: none;
  font-size: 2.2rem;
}

.haven-auditorium-copy p {
  margin: 0.55rem 0 0;
  color: #2d2d3f !important;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
  margin-left: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  font-size: 1.05rem;
  line-height: 1.6;
}

.auditorium-events-toggle {
  margin-top: 0.95rem;
  border-color: rgba(230, 214, 195, 0.95);
  background: rgba(248, 241, 232, 0.94);
  color: #5a4b3f;
}

.auditorium-events-toggle:hover {
  background: rgba(240, 230, 219, 0.98);
  color: #4a3d33;
}

.auditorium-events-standalone {
  background: #f2efea;
  padding-top: 0.35rem;
}

.auditorium-events-page-head {
  margin-bottom: 0.85rem;
}

.auditorium-events-page-head h2 {
  color: #342922;
}

.auditorium-events-page-head p {
  margin: 0.4rem 0 0.9rem;
  color: #5f5349;
}

.auditorium-events-standalone .auditorium-calendar-card {
  margin: 0;
  width: 100%;
  box-shadow: none;
  border-color: #d8d3cb;
  background: #fcfbf8;
}

.haven-availability {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  background: #f2efea;
  padding: 1.15rem 0;
}

.haven-availability .card {
  margin: 0;
  box-shadow: none;
  border-color: #d8d3cb;
  background: #fcfbf8;
  width: 100%;
}

.haven-availability .room-availability-card,
.haven-map-card {
  min-width: 0;
}

.haven-map-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.haven-map-card h2 {
  margin-top: 0;
}

.haven-map-card p {
  margin: 0;
  color: #5e5145;
}

.haven-map-link {
  width: fit-content;
}

.haven-map-card iframe {
  width: 100%;
  min-height: 320px;
  flex: 1 1 auto;
  border: 1px solid #d4cdc2;
  border-radius: 12px;
}

.haven-contact-inline {
  font-size: 0.92rem;
}

.haven-contact-band {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #9f8b74;
  text-align: center;
}

.haven-contact-band h2 {
  margin: 0;
  color: #fff8ef;
  font-size: 1.8rem;
}

.haven-contact-band p {
  margin: 0.22rem 0 0;
  color: #f3eadf;
}

.haven-contact-visual {
  margin: 0;
  width: min(260px, 28vw);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.haven-contact-visual img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.haven-home .calendar-nav {
  border-color: #d7d0c5;
}

.haven-home .calendar-nav-btn {
  background: #f4efe8;
  color: #584839;
}

.haven-home .calendar-day {
  border-color: #d9d1c6;
}

.haven-home .calendar-day.today {
  border-color: #9f8b74;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, #9f8b74 35%, #ffffff 65%);
}

@media (max-width: 900px) {
  .haven-home main.container {
    width: 100%;
    margin: 0;
  }
  .haven-topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .haven-menu {
    justify-content: flex-start;
    gap: 0.7rem 1rem;
  }

  .haven-actions {
    justify-content: space-between;
  }

  .haven-hero {
    min-height: 430px;
    margin: 0.8rem;
  }

  .haven-hero-copy {
    padding: 1.65rem 1.25rem;
    max-width: 100%;
  }

  .haven-hero-illustration {
    width: 100%;
    margin: 0;
  }

  .haven-hero-illustration img {
    min-height: 430px;
    height: 100%;
  }

  .haven-about {
    min-height: 390px;
    margin: 0.8rem;
  }

  .haven-about-copy {
    max-width: 100%;
    padding: 1.55rem 1.2rem;
  }

  .haven-about-media img {
    min-height: 390px;
  }

  .haven-auditorium {
    min-height: 380px;
    margin: 0.8rem;
  }

  .haven-auditorium-copy {
    max-width: 100%;
    padding: 1.55rem 1.2rem;
  }
  .reserve-hero {
    margin: 0.8rem;
    min-height: 270px;
  }
  .reserve-hero-copy {
    padding: 1.55rem 1.2rem;
  }
  .reserve-layout {
    grid-template-columns: 1fr;
  }

  .haven-availability {
    grid-template-columns: 1fr;
  }

  .haven-rooms-grid {
    grid-template-columns: 1fr;
  }

  .haven-room-card img {
    height: 210px;
  }

  .haven-services-track {
    grid-auto-columns: minmax(240px, 82%);
  }

  .haven-map-card iframe {
    min-height: 220px;
  }

  .haven-contact-visual {
    width: min(360px, 100%);
  }
}

@media (max-width: 640px) {
  .haven-brand {
    font-size: 1.2rem;
  }

  .haven-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.8rem;
  }

  .haven-menu a {
    font-size: 0.8rem;
  }

  .haven-actions {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .haven-hero {
    margin: 0.65rem;
    min-height: 410px;
  }

  .haven-hero-copy h1 {
    font-size: clamp(1.7rem, 8.1vw, 2.2rem);
  }

  .haven-hero-actions {
    width: 100%;
  }

  .haven-hero-primary,
  .haven-hero-secondary {
    justify-content: center;
    flex: 1 1 170px;
  }

  .haven-hero-illustration img {
    min-height: 410px;
    height: 100%;
  }

  .haven-services-track {
    grid-auto-columns: minmax(225px, 92%);
  }

  .haven-contact-band {
    flex-direction: column;
    align-items: center;
  }

  .haven-reference-image img {
    height: 140px;
  }

  .haven-room-card img {
    height: 185px;
  }
  .haven-about {
    margin: 0.65rem;
    min-height: 360px;
  }

  .haven-about-copy {
    padding: 1.25rem 1rem;
  }

  .haven-about-copy h2 {
    font-size: 1.7rem;
  }

  .haven-about-media img {
    min-height: 360px;
    height: 100%;
  }

  .haven-auditorium {
    margin: 0.65rem;
    min-height: 340px;
  }
  .reserve-hero {
    margin: 0.65rem;
    min-height: 245px;
  }
  .reserve-hero-copy {
    padding: 1.2rem 1rem;
  }
  .reserve-hero-copy h1 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .haven-auditorium-copy {
    padding: 1.25rem 1rem;
  }

  .haven-auditorium-copy h2 {
    font-size: 1.7rem;
  }

  .haven-contact-visual img {
    height: 132px;
  }
}

/* Professional polish layer */
.haven-home {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.haven-home .haven-shell {
  background: linear-gradient(180deg, #f8f5f1 0%, #f2ede6 100%);
}

.haven-home .haven-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.9);
  border-bottom: 1px solid #dcd2c6;
  box-shadow: 0 10px 24px rgba(54, 40, 30, 0.1);
  backdrop-filter: blur(9px);
}

.haven-home .haven-menu a {
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.haven-home .button {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.haven-home .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(60, 46, 36, 0.18);
}

.haven-home .haven-section {
  padding: 1.35rem 1.1rem;
}

.haven-home .haven-section h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  letter-spacing: 0.015em;
}

.haven-home .card,
.haven-home .haven-room-card,
.haven-home .amenity-card,
.haven-home .auditorium-event-card {
  border-color: #dcd2c6;
  box-shadow: 0 12px 28px rgba(59, 45, 35, 0.11);
}

.haven-home .haven-room-card,
.haven-home .amenity-card,
.haven-home .auditorium-event-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.haven-home .haven-room-card:hover,
.haven-home .amenity-card:hover,
.haven-home .auditorium-event-card:hover {
  transform: translateY(-3px);
  border-color: #c9b9a7;
  box-shadow: 0 16px 30px rgba(56, 42, 32, 0.16);
}

.haven-home .calendar-day {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.haven-home .calendar-day:not(.blocked):hover {
  transform: translateY(-1px);
  border-color: #bca893;
  box-shadow: 0 7px 16px rgba(66, 49, 36, 0.12);
}

.reserve-layout {
  align-items: stretch;
}

.reserve-info-card,
.reserve-form-card {
  border-color: #d9cdbf;
}

.reserve-info-card {
  border-left: 4px solid rgba(122, 118, 95, 0.45);
}

.reserve-form-card {
  border-left: 4px solid rgba(34, 74, 111, 0.22);
}

.reserve-form-card label {
  color: #4f4338;
  font-weight: 600;
}

.reserve-form-card input,
.reserve-form-card select,
.reserve-form-card textarea {
  background: #fffdf9;
  border-color: #d7cbbe;
}

.reserve-form-card input:focus,
.reserve-form-card select:focus,
.reserve-form-card textarea:focus {
  outline: none;
  border-color: #a28d76;
  box-shadow: 0 0 0 3px rgba(122, 118, 95, 0.18);
}

.reserve-form-card .status-box {
  border-radius: 14px;
}

.auditorium-events-page-head p,
.reserve-hero-copy p,
.haven-about-copy p,
.haven-auditorium-copy p {
  line-height: 1.7;
}

/* Boutique premium / hotel editorial override */
.haven-home {
  --boutique-bg: #f5f1eb;
  --boutique-surface: #fffcf7;
  --boutique-card: #fffaf4;
  --boutique-border: #e8dfd2;
  --boutique-text: #3f3a34;
  --boutique-muted: #756d63;
  --boutique-accent: #7c8464;
  --boutique-accent-dark: #66704f;
  --boutique-gold: #b79f74;
  --boutique-shadow: 0 12px 28px rgba(72, 56, 41, 0.09);
  background: var(--boutique-bg);
  color: var(--boutique-text);
  font-family: "Inter", "Lato", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.haven-home .haven-shell,
.haven-home .reserve-shell {
  background: linear-gradient(180deg, #f8f3ec 0%, #f3ede5 55%, #f6f1ea 100%);
}

.haven-home h1,
.haven-home h2,
.haven-home h3,
.haven-home .haven-brand {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.025em;
  color: #2f2a24;
}

.haven-home p,
.haven-home li,
.haven-home label,
.haven-home small,
.haven-home span {
  color: var(--boutique-muted);
}

.haven-home .haven-topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(252, 248, 241, 0.9);
  border-bottom: 1px solid var(--boutique-border);
  box-shadow: 0 10px 24px rgba(74, 57, 42, 0.09);
  backdrop-filter: blur(10px);
}

.haven-home .haven-menu a {
  color: #5f564d;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.22s ease;
}

.haven-home .haven-menu a:hover {
  color: var(--boutique-accent-dark);
}

.haven-home .haven-section {
  padding: clamp(1.35rem, 2.5vw, 2.1rem) clamp(1rem, 2vw, 1.5rem);
}

.haven-home .haven-section h2 {
  font-size: clamp(1.95rem, 3vw, 2.5rem);
  margin-bottom: 0.2rem;
}

.haven-home .card,
.haven-home .haven-room-card,
.haven-home .amenity-card,
.haven-home .auditorium-event-card,
.haven-home .auditorium-calendar-panel,
.haven-home .auditorium-calendar-card,
.haven-home .haven-map-card,
.haven-home .reserve-info-card,
.haven-home .reserve-form-card {
  background: var(--boutique-card) !important;
  border: 1px solid var(--boutique-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--boutique-shadow) !important;
}

.haven-home .haven-room-card,
.haven-home .amenity-card,
.haven-home .auditorium-event-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.haven-home .haven-room-card:hover,
.haven-home .amenity-card:hover,
.haven-home .auditorium-event-card:hover {
  transform: translateY(-3px);
  border-color: #d7cab7 !important;
  box-shadow: 0 16px 30px rgba(67, 51, 37, 0.14) !important;
}

.haven-home .button {
  background: linear-gradient(135deg, var(--boutique-accent) 0%, var(--boutique-accent-dark) 100%);
  color: #fdfaf4;
  border: 1px solid rgba(87, 95, 68, 0.35);
  border-radius: 14px;
  box-shadow: 0 9px 18px rgba(71, 80, 54, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.haven-home .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(71, 80, 54, 0.26);
  filter: brightness(1.02);
}

.haven-home .button.secondary {
  background: rgba(255, 252, 247, 0.82);
  color: #574f45;
  border: 1px solid var(--boutique-border);
  box-shadow: none;
}

.haven-home .button.secondary:hover {
  background: #fff9f1;
}

.haven-home .haven-hero::before,
.haven-home .haven-about::before,
.haven-home .haven-auditorium::before {
  background: linear-gradient(90deg, rgba(15, 12, 8, 0.2) 0%, rgba(15, 12, 8, 0.12) 43%, rgba(15, 12, 8, 0.05) 100%);
}

.haven-home .reserve-hero {
  border-color: #d8ccbe;
  box-shadow: var(--boutique-shadow);
  background:
    linear-gradient(112deg, rgba(35, 29, 24, 0.74) 0%, rgba(35, 29, 24, 0.52) 48%, rgba(35, 29, 24, 0.26) 100%),
    url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.haven-home .calendar-nav {
  background: #fff9f2;
  border-color: #ddd1c0;
}

.haven-home .calendar-nav-btn {
  background: #f1e8da;
  color: #605346;
}

.haven-home .calendar-day {
  background: #fffdf9;
  border-color: #ddd2c4;
}

.haven-home .calendar-day.today {
  border-color: #b29d80;
  box-shadow: inset 0 0 0 2px rgba(183, 159, 116, 0.28);
}

.haven-home .calendar-day.available .calendar-day-dot,
.haven-home .legend-dot.available {
  background: #7c8464;
}

.haven-home .calendar-day.partial .calendar-day-dot,
.haven-home .legend-dot.partial {
  background: var(--boutique-gold);
}

.haven-home .calendar-day.full .calendar-day-dot,
.haven-home .legend-dot.full {
  background: #bf7d72;
}

.haven-home .auditorium-event-date {
  background: #ede6d9;
  color: #6d5b42;
}

.haven-home .auditorium-calendar-card .calendar-day.aud-featured {
  background: linear-gradient(140deg, #b8a171 0%, #9b855a 100%);
  color: #fffdf7;
}

.haven-home input,
.haven-home select,
.haven-home textarea {
  background: #fffdf9;
  border-color: #d9ccbc;
  color: #453e35;
}

.haven-home input:focus,
.haven-home select:focus,
.haven-home textarea:focus {
  border-color: #ac987b;
  box-shadow: 0 0 0 3px rgba(183, 159, 116, 0.2);
  outline: none;
}

/* Editorial premium hero refinement */
.haven-home .haven-hero {
  min-height: clamp(560px, 74vh, 760px);
  padding: clamp(2rem, 5.6vw, 4.25rem) clamp(1rem, 3.2vw, 2.8rem);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(63, 50, 37, 0.12);
  align-items: flex-end;
}

.haven-home .haven-hero::before {
  background: linear-gradient(90deg, rgba(245, 241, 235, 0.14) 0%, rgba(245, 241, 235, 0.03) 55%, rgba(245, 241, 235, 0) 100%);
}

.haven-home .haven-hero-illustration img {
  min-height: clamp(560px, 74vh, 760px);
  filter: saturate(0.9) brightness(1.04) contrast(1.01);
}

.haven-home .haven-hero-copy {
  max-width: 560px;
  padding: clamp(1.5rem, 2.9vw, 2.2rem) clamp(1.35rem, 2.8vw, 2rem);
  border-radius: 14px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(230, 220, 206, 0.9);
  box-shadow: 0 10px 26px rgba(76, 59, 43, 0.12);
  align-self: flex-end;
  text-align: left;
}

.haven-home .haven-kicker {
  color: #7a6d60;
  letter-spacing: 0.11em;
}

.haven-home .haven-hero-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.9vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #2e2923;
  text-shadow: none;
}

.haven-home .haven-hero-copy p {
  color: #5f574d;
  max-width: 48ch;
  text-shadow: none;
}

.haven-home .haven-hero-actions {
  margin-top: 1.15rem;
}

.haven-home .haven-hero-primary {
  background: #336699;
  border: 1px solid #8b755f;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  padding: 0.62rem 1.25rem;
}

.haven-home .haven-hero-primary:hover {
  background: #7c6854;
  border-color: #7c6854;
  box-shadow: none;
  filter: none;
}

.haven-home .haven-hero-secondary {
  background: rgba(255, 251, 245, 0.92);
  color: #5f5347;
  border: 1px solid rgba(216, 202, 186, 0.9);
  border-radius: 8px;
}

.haven-home .haven-hero-secondary:hover {
  background: #f8f1e7;
  color: #51463b;
}

@media (max-width: 900px) {
  .haven-home .haven-hero {
    min-height: 500px;
    padding: 1.1rem;
    border-radius: 14px;
  }

  .haven-home .haven-hero-illustration img {
    min-height: 500px;
  }

  .haven-home .haven-hero-copy {
    max-width: min(92%, 560px);
    padding: 1.2rem 1.1rem;
  }
}

/* Unified section layout refinement */
.haven-home .haven-shell {
  padding: 0 clamp(0.85rem, 2.3vw, 1.8rem) clamp(3.25rem, 7vw, 5rem);
  background: #f6f2ec;
}

.haven-home .haven-topbar {
  width: min(1200px, 100%);
  margin: 0.75rem auto 0;
  padding-inline: clamp(1rem, 2.3vw, 1.7rem);
  border-radius: 14px;
}

.haven-home .haven-hero,
.haven-home .haven-section,
.haven-home .haven-contact-band {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.haven-home .haven-hero {
  margin-top: 1.45rem;
  margin-bottom: 1.45rem;
}

.haven-home .haven-section {
  position: relative;
  margin: clamp(1.1rem, 2.5vw, 2rem) auto;
  padding: clamp(3.8rem, 7.2vw, 5.6rem) clamp(1.35rem, 3.1vw, 2.45rem);
  border-radius: 18px;
  border: 1px solid #e7ddcf;
  background: #fffaf4 !important;
  box-shadow: 0 10px 24px rgba(66, 53, 40, 0.08) !important;
}

.haven-home .haven-section::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: clamp(1.35rem, 3.1vw, 2.45rem);
  right: clamp(1.35rem, 3.1vw, 2.45rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(177, 160, 137, 0) 0%, rgba(177, 160, 137, 0.38) 14%, rgba(177, 160, 137, 0.38) 86%, rgba(177, 160, 137, 0) 100%);
}

.haven-home .haven-rooms-head,
.haven-home .haven-services-head,
.haven-home .auditorium-events-page-head {
  max-width: 780px;
  margin: 0 auto clamp(1.8rem, 4vw, 2.7rem);
  text-align: center;
}

.haven-home .haven-rooms-head h2,
.haven-home .haven-services-head h2,
.haven-home .auditorium-events-page-head h2,
.haven-home .reserve-info-card h2,
.haven-home .reserve-form-card h2,
.haven-home .haven-map-card h2,
.haven-home .haven-about-copy h2,
.haven-home .haven-auditorium-copy h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.9rem, 3.25vw, 2.65rem);
}

.haven-home .haven-rooms-head h2::after,
.haven-home .haven-services-head h2::after,
.haven-home .auditorium-events-page-head h2::after,
.haven-home .reserve-info-card h2::after,
.haven-home .reserve-form-card h2::after,
.haven-home .haven-map-card h2::after,
.haven-home .haven-about-copy h2::after,
.haven-home .haven-auditorium-copy h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin: 0.75rem auto 0;
  background: #cfbfaa;
}

.haven-home .haven-rooms-head p,
.haven-home .auditorium-events-page-head > p {
  margin: 0.75rem auto 0;
  max-width: 64ch;
  font-size: 0.8rem;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: #8b7f70;
}

.haven-home .haven-about,
.haven-home .haven-auditorium {
  justify-content: center;
}

.haven-home .haven-about-copy,
.haven-home .haven-auditorium-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.haven-home .haven-about-copy p,
.haven-home .haven-auditorium-copy p {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.haven-home .haven-about::before {
  background: linear-gradient(180deg, rgba(31, 25, 20, 0.42) 0%, rgba(31, 25, 20, 0.28) 54%, rgba(31, 25, 20, 0.24) 100%);
}

.haven-home .haven-auditorium::before {
  background: linear-gradient(180deg, rgba(10, 8, 5, 0.2) 0%, rgba(10, 8, 5, 0.12) 54%, rgba(10, 8, 5, 0.05) 100%);
}

.haven-home .haven-auditorium-copy h2 {
  color: #1a1a2e;
  text-shadow: none;
}

.haven-home .haven-auditorium-copy p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.haven-home .haven-about-media img,
.haven-home .haven-hero-illustration img {
  filter: saturate(0.88) contrast(0.98) brightness(1.03);
}

.haven-home .haven-rooms-grid,
.haven-home .haven-availability,
.haven-home .reserve-layout,
.haven-home .auditorium-events-layout,
.haven-home .haven-services-track {
  gap: clamp(0.95rem, 2.2vw, 1.55rem);
}

.haven-home .haven-room-card,
.haven-home .amenity-card,
.haven-home .reserve-info-card,
.haven-home .reserve-form-card,
.haven-home .auditorium-calendar-card,
.haven-home .auditorium-calendar-panel,
.haven-home .haven-map-card {
  box-shadow: 0 6px 16px rgba(72, 58, 44, 0.07) !important;
}

.haven-home .carousel-control {
  box-shadow: none;
  border-color: #ddd2c3;
  background: #fffbf6;
}

.haven-home .haven-contact-band {
  display: block;
  margin: clamp(1.15rem, 2.7vw, 2rem) auto 0;
  padding: clamp(2.6rem, 5vw, 3.6rem) clamp(1.3rem, 3vw, 2.4rem);
  border-radius: 18px;
  border: 1px solid #e7ddcf;
  background: #fffaf4;
  box-shadow: 0 10px 24px rgba(66, 53, 40, 0.08);
}

.haven-home .haven-contact-band > div {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.haven-home .haven-contact-band h2 {
  color: #2f2a24;
}

.haven-home .haven-contact-band h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin: 0.75rem auto 0.9rem;
  background: #cfbfaa;
}

.haven-home .haven-contact-band p {
  color: #665c52;
}

@media (max-width: 900px) {
  .haven-home .haven-shell {
    padding-inline: 0.72rem;
  }

  .haven-home .haven-topbar,
  .haven-home .haven-hero,
  .haven-home .haven-section,
  .haven-home .haven-contact-band {
    width: 100%;
  }

  .haven-home .haven-section {
    padding: 2.85rem 1rem;
  }

  .haven-home .haven-section::before {
    top: 0.95rem;
    left: 1rem;
    right: 1rem;
  }

  .haven-home .haven-rooms-head p,
  .haven-home .auditorium-events-page-head > p {
    font-size: 0.74rem;
    letter-spacing: 0.085em;
  }
}

/* Luxury catalog cards refinement */
.haven-home .haven-room-card,
.haven-home .amenity-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9 !important;
  border: 1px solid #e5dacd !important;
  color: #4e473f;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(70, 56, 42, 0.08) !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.haven-home .haven-room-card > img,
.haven-home .amenity-card > img {
  order: 1;
  width: 100%;
  height: clamp(210px, 25vw, 290px) !important;
  min-height: 0;
  object-fit: cover;
  border: 0;
  transform: scale(1);
  transition: transform 0.46s ease;
}

.haven-home .haven-room-card-copy,
.haven-home .amenity-caption {
  order: 2;
  padding: clamp(1.15rem, 2.2vw, 1.7rem) clamp(1.05rem, 2.1vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.85rem);
}

.haven-home .haven-room-card-copy h3,
.haven-home .amenity-caption h3 {
  color: #3f3932;
  margin: 0;
}

.haven-home .haven-room-price {
  margin: 0.55rem 0 0.65rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.52rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.015em;
  color: #6f5e4e;
}

.haven-home .haven-room-price span {
  display: inline-block;
  margin-left: 0.28rem;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #958675;
}

.haven-home .haven-room-card-copy ul {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.haven-home .haven-room-card-copy li {
  position: relative;
  padding-left: 0.92rem;
  color: #645a50;
  line-height: 1.5;
}

.haven-home .haven-room-card-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #b9aa95;
}

.haven-home .amenity-caption p {
  margin-top: 0.45rem;
  color: #686057;
  line-height: 1.55;
}

.haven-home .haven-room-card:hover,
.haven-home .amenity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(67, 53, 40, 0.13) !important;
}

.haven-home .haven-room-card:hover > img,
.haven-home .amenity-card:hover > img {
  transform: scale(1.03);
}

.haven-home .auditorium-event-card {
  background: #fffdf9 !important;
  border-color: #e5dacd !important;
  color: #4e473f;
}

/* Premium amenities gallery */
.haven-home .haven-services-carousel {
  position: relative;
}

.haven-home .haven-services-carousel .carousel-control {
  display: none !important;
}

.haven-home .haven-services-track {
  display: grid !important;
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
  overflow: visible;
  padding: 0;
}

.haven-home .haven-services .amenity-card {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 270px;
  border-radius: 18px;
  border: 1px solid #e6dccf !important;
  box-shadow: 0 8px 20px rgba(67, 53, 40, 0.08) !important;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.haven-home .haven-services .amenity-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0;
  object-fit: cover;
  transform: scale(1);
  filter: saturate(0.92) contrast(1.01);
  transition: transform 0.55s ease;
}

.haven-home .haven-services .amenity-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(0.95rem, 1.9vw, 1.35rem);
  background: linear-gradient(180deg, rgba(255, 251, 244, 0) 0%, rgba(255, 251, 244, 0.74) 58%, rgba(255, 251, 244, 0.95) 100%);
}

.haven-home .haven-services .amenity-caption h3 {
  margin: 0;
  color: #3f3932;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}

.haven-home .haven-services .amenity-caption p {
  margin: 0.33rem 0 0;
  color: #5e564d;
  line-height: 1.45;
}

.haven-home .haven-services .amenity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(67, 53, 40, 0.12) !important;
}

.haven-home .haven-services .amenity-card:hover > img {
  transform: scale(1.045);
}

@media (max-width: 1200px) {
  .haven-home .haven-services-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .haven-home .haven-services-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .haven-home .haven-services-track {
    grid-template-columns: 1fr;
  }

  .haven-home .haven-services .amenity-card {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }
}

/* Premium modern calendar integration */
.haven-home .monthly-calendar-card,
.haven-home .room-availability-card,
.haven-home .auditorium-calendar-card,
.haven-home .auditorium-calendar-panel {
  background: #fffdf9 !important;
  border: 1px solid #e6ddcf !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 24px rgba(68, 53, 39, 0.08) !important;
}

.haven-home .monthly-calendar-card {
  gap: 0.9rem;
}

.haven-home .calendar-header {
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.2rem;
}

.haven-home .calendar-header h2 {
  color: #3f3931;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.haven-home #calendar-month-label,
.haven-home #auditorium-calendar-month-label {
  color: #5f554a;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.haven-home .calendar-nav {
  padding: 0.22rem 0.28rem;
  border-radius: 999px;
  background: #f7f2ea;
  border: 1px solid #e2d8ca;
}

.haven-home .calendar-nav-btn {
  width: 33px;
  height: 33px;
  border-radius: 999px;
  border: 1px solid #ded2c3;
  background: #fffcf7;
  color: #695b4e;
}

.haven-home .calendar-weekdays {
  gap: 0.48rem;
}

.haven-home .calendar-weekdays span {
  background: #f6f1e9;
  border: 1px solid #e6dccf;
  border-radius: 999px;
  padding: 0.24rem 0;
  color: #7b6f60;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.haven-home .calendar-grid {
  gap: 0.52rem;
  grid-auto-rows: minmax(62px, auto);
}

.haven-home .calendar-day {
  min-height: 62px;
  border-radius: 14px;
  border: 1px solid #e4dccf;
  background: #fffefa;
  padding: 0.42rem 0.3rem 0.44rem;
  box-shadow: 0 1px 0 rgba(73, 58, 43, 0.05);
}

.haven-home .calendar-day .calendar-day-number {
  color: #615749;
  font-weight: 700;
}

.haven-home .calendar-day-dot {
  width: 7px;
  height: 7px;
}

.haven-home .calendar-day:hover:not(.blocked) {
  transform: translateY(-1px);
  border-color: #d8ccba;
  box-shadow: 0 6px 14px rgba(66, 50, 37, 0.11);
}

.haven-home .calendar-day.available {
  background: #f5faef;
  border-color: #cfddbc;
}

.haven-home .calendar-day.available .calendar-day-dot,
.haven-home .legend-dot.available {
  background: #7f9564;
}

.haven-home .calendar-day.partial {
  background: #fbf6ee;
  border-color: #e6dbc8;
}

.haven-home .calendar-day.partial .calendar-day-dot,
.haven-home .legend-dot.partial {
  background: #b79f77;
}

.haven-home .calendar-day.full {
  background: #fbf1f0;
  border-color: #e7d3ce;
}

.haven-home .calendar-day.full .calendar-day-dot,
.haven-home .legend-dot.full {
  background: #c28c83;
}

.haven-home .calendar-day.today {
  border-color: #a6b98a;
  box-shadow: inset 0 0 0 2px rgba(143, 163, 107, 0.26);
}

.haven-home .calendar-day.outside-month {
  background: #f6f2eb;
  opacity: 0.64;
}

.haven-home .calendar-legend {
  margin-top: 0.25rem;
  gap: 0.5rem 1.1rem;
  color: #6b6157;
}

.haven-home .auditorium-calendar-card .calendar-day {
  background: #fffdf8;
}

.haven-home .auditorium-calendar-card .calendar-day.auditorium-busy {
  background: #f3f8ee;
  border-color: #ccdbb8;
  color: #5c6c45;
}

.haven-home .auditorium-calendar-card .calendar-day.auditorium-busy::after {
  display: none;
}

.haven-home .auditorium-calendar-card .calendar-day.aud-featured {
  background: linear-gradient(148deg, #8ea06f 0%, #77885d 100%);
  border-color: transparent;
  color: #fffefb;
  box-shadow: 0 8px 16px rgba(96, 116, 70, 0.26);
}

.haven-home .auditorium-calendar-card .calendar-day.aud-featured .calendar-day-number {
  color: #fffefb;
}

.haven-home .auditorium-calendar-card .calendar-day-dot.workshop {
  background: #7f9564;
}

.haven-home .auditorium-calendar-card .calendar-day-dot.conference {
  background: #97a97a;
}

.haven-home .auditorium-calendar-card .calendar-day-dot.special {
  background: #baa077;
}

.haven-home .auditorium-calendar-card .calendar-day-dot.inactive {
  background: #d6ccbe;
  opacity: 0.7;
}

/* Elegant location block refinement */
.haven-home .haven-map-card {
  background: #fffdfa !important;
  border: 1px solid #e6dccf !important;
  border-radius: 20px !important;
  padding: clamp(1.1rem, 2.2vw, 1.65rem);
  gap: 0.95rem;
  box-shadow: 0 12px 24px rgba(71, 56, 41, 0.08) !important;
}

.haven-home .haven-map-card h2,
.haven-home .haven-map-card > p,
.haven-home .haven-map-card .haven-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
}

.haven-home .haven-map-card h2 {
  color: #3f3931;
}

.haven-home .haven-map-card h2::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #8b7a66;
  box-shadow: 0 0 0 2px rgba(168, 150, 127, 0.22);
}

.haven-home .haven-map-card > p {
  color: #655a4f;
  line-height: 1.55;
}

.haven-home .haven-map-card > p::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #bea98c;
  margin-top: 0.05rem;
  flex-shrink: 0;
}

.haven-home .haven-map-link.button.secondary {
  width: fit-content;
  padding: 0.62rem 1.02rem;
  border-radius: 10px;
  border: 1px solid #84715c !important;
  background: linear-gradient(135deg, #95806a 0%, #7b6855 100%) !important;
  color: #fffdf9 !important;
  box-shadow: 0 8px 16px rgba(76, 61, 45, 0.2);
}

.haven-home .haven-map-link.button.secondary::before {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
}

.haven-home .haven-map-link.button.secondary:hover {
  background: linear-gradient(135deg, #87715c 0%, #6e5d4c 100%) !important;
  box-shadow: 0 10px 18px rgba(76, 61, 45, 0.24);
}

.haven-home .haven-map-card iframe {
  border: 1px solid #d8ccbc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(68, 53, 39, 0.11);
}

/* 8px spacing system + whitespace expansion */
.haven-home {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-9: 72px;
  --space-10: 80px;
  --space-11: 88px;
  --space-12: 96px;
}

.haven-home .haven-shell {
  padding: 0 var(--space-4) var(--space-12);
}

.haven-home .haven-topbar {
  margin: var(--space-3) auto 0;
  padding: var(--space-3) var(--space-4);
  gap: var(--space-3);
}

.haven-home .haven-menu,
.haven-home .haven-actions {
  gap: var(--space-3);
}

.haven-home .haven-hero {
  margin-top: var(--space-5);
  margin-bottom: var(--space-6);
  padding: var(--space-8) var(--space-6);
}

.haven-home .haven-hero-copy {
  padding: var(--space-5);
}

.haven-home .haven-hero-actions {
  margin-top: var(--space-4);
  gap: var(--space-2);
}

.haven-home .haven-section {
  margin: var(--space-5) auto;
  padding: var(--space-9) var(--space-6);
}

.haven-home .haven-section::before {
  top: var(--space-3);
  left: var(--space-6);
  right: var(--space-6);
}

.haven-home .haven-rooms-head,
.haven-home .haven-services-head,
.haven-home .auditorium-events-page-head {
  margin-bottom: var(--space-6);
}

.haven-home .haven-rooms-head p,
.haven-home .auditorium-events-page-head > p {
  margin-top: var(--space-3);
}

.haven-home .haven-rooms-grid,
.haven-home .haven-availability,
.haven-home .reserve-layout,
.haven-home .auditorium-events-layout,
.haven-home .haven-services-track {
  gap: var(--space-4);
}

.haven-home .haven-services-track {
  margin-top: var(--space-4);
}

.haven-home .haven-room-card-copy,
.haven-home .reserve-info-card,
.haven-home .reserve-form-card,
.haven-home .monthly-calendar-card,
.haven-home .auditorium-calendar-panel,
.haven-home .auditorium-activities-list,
.haven-home .haven-map-card {
  padding: var(--space-4);
}

.haven-home .reserve-points {
  margin: var(--space-3) 0 var(--space-4);
  gap: var(--space-2);
}

.haven-home .grid-two {
  gap: var(--space-3);
}

.haven-home label {
  gap: var(--space-1);
}

.haven-home .actions {
  margin-top: var(--space-3);
  gap: var(--space-2);
}

.haven-home .helper-text {
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

.haven-home input,
.haven-home select,
.haven-home textarea {
  padding: var(--space-2);
}

.haven-home .calendar-header {
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.haven-home .calendar-weekdays {
  gap: var(--space-2);
}

.haven-home .calendar-grid {
  gap: var(--space-2);
}

.haven-home .calendar-day {
  min-height: var(--space-9);
  padding: var(--space-1);
}

.haven-home .calendar-legend {
  margin-top: var(--space-3);
  gap: var(--space-2) var(--space-4);
}

.haven-home .haven-map-card {
  gap: var(--space-3);
}

.haven-home .haven-map-link.button.secondary {
  padding: var(--space-2) var(--space-3);
}

.haven-home .haven-map-card iframe {
  margin-top: var(--space-2);
}

.haven-home .haven-contact-band {
  margin: var(--space-6) auto 0;
  padding: var(--space-9) var(--space-6);
}

.haven-home .haven-contact-band h2::after {
  margin: var(--space-3) auto var(--space-4);
}

.haven-home .reserve-hero-copy,
.haven-home .haven-about-copy,
.haven-home .haven-auditorium-copy {
  padding: var(--space-6);
}

@media (max-width: 900px) {
  .haven-home .haven-shell {
    padding: 0 var(--space-2) var(--space-10);
  }

  .haven-home .haven-topbar {
    margin-top: var(--space-2);
    padding: var(--space-2) var(--space-3);
    gap: var(--space-2);
  }

  .haven-home .haven-hero {
    margin-top: var(--space-3);
    margin-bottom: var(--space-4);
    padding: var(--space-6) var(--space-3);
  }

  .haven-home .haven-hero-copy {
    padding: var(--space-4);
  }

  .haven-home .haven-section {
    margin: var(--space-4) auto;
    padding: var(--space-7) var(--space-3);
  }

  .haven-home .haven-section::before {
    top: var(--space-2);
    left: var(--space-3);
    right: var(--space-3);
  }

  .haven-home .haven-contact-band {
    padding: var(--space-7) var(--space-3);
  }
}

@media (max-width: 640px) {
  .haven-home .haven-shell {
    padding: 0 var(--space-1) var(--space-8);
  }

  .haven-home .haven-topbar {
    padding: var(--space-2);
  }

  .haven-home .haven-hero {
    padding: var(--space-5) var(--space-2);
  }

  .haven-home .haven-hero-copy {
    padding: var(--space-3);
  }

  .haven-home .haven-section {
    padding: var(--space-6) var(--space-2);
  }

  .haven-home .haven-contact-band {
    padding: var(--space-6) var(--space-2);
  }

  .haven-home .haven-rooms-grid,
  .haven-home .haven-availability,
  .haven-home .reserve-layout,
  .haven-home .auditorium-events-layout,
  .haven-home .haven-services-track {
    gap: var(--space-3);
  }

  .haven-home .grid-two {
    gap: var(--space-2);
  }
}

/* Full-width + centered editorial layout system */
.haven-home {
  --layout-max-width: 1200px;
  --layout-gutter: clamp(24px, 2.8vw, 32px);
  --layout-inline: max(var(--layout-gutter), calc((100vw - var(--layout-max-width)) / 2));
}

.haven-home .haven-shell {
  padding-inline: 0;
}

.haven-home .haven-topbar,
.haven-home .haven-hero,
.haven-home .haven-about,
.haven-home .haven-auditorium,
.haven-home .reserve-hero {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.haven-home .haven-topbar {
  margin-top: var(--space-3);
  border-radius: 0;
  padding-inline: var(--layout-inline);
}

.haven-home .haven-hero,
.haven-home .haven-about,
.haven-home .haven-auditorium,
.haven-home .reserve-hero {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding-inline: var(--layout-inline);
}

.haven-home .haven-hero {
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.haven-home .haven-about,
.haven-home .haven-auditorium,
.haven-home .reserve-hero {
  margin-top: var(--space-5);
}

.haven-home .haven-hero-copy,
.haven-home .reserve-hero-copy {
  width: min(100%, 640px);
  margin-left: 0;
  margin-right: 0;
}

.haven-home .haven-about-copy,
.haven-home .haven-auditorium-copy {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
}

.haven-home .haven-rooms,
.haven-home .haven-services,
.haven-home .haven-availability,
.haven-home .reserve-layout,
.haven-home .auditorium-events-standalone,
.haven-home .haven-contact-band {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  padding-inline: var(--layout-inline);
}

.haven-home .haven-rooms-head,
.haven-home .haven-services-head,
.haven-home .haven-services-carousel,
.haven-home .haven-rooms-grid,
.haven-home .auditorium-events-page-head,
.haven-home .auditorium-events-standalone > .monthly-calendar-card,
.haven-home .haven-contact-band > div {
  width: min(100%, var(--layout-max-width));
  margin-left: auto;
  margin-right: auto;
}

.haven-home .haven-availability > .card,
.haven-home .reserve-layout > .card {
  width: 100%;
  max-width: 100%;
}

.haven-home .haven-services-carousel,
.haven-home .auditorium-events-layout,
.haven-home .haven-rooms-grid,
.haven-home .reserve-layout {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .haven-home {
    --layout-gutter: 20px;
  }
}

@media (max-width: 640px) {
  .haven-home {
    --layout-gutter: 16px;
  }
}

.haven-home .haven-location-section,
.haven-home .reserve-availability {
  grid-template-columns: 1fr;
}

.haven-home .haven-location-section .haven-map-card,
.haven-home .reserve-availability .room-availability-card {
  width: 100%;
  margin: 0;
}

/* Subtle institutional accent integration (#336699) */
:root {
  --institutional-accent: #336699;
  --institutional-accent-soft: rgba(51, 102, 153, 0.34);
  --institutional-accent-weak: rgba(51, 102, 153, 0.16);
}

.haven-home .button:hover,
.haven-home .button:focus-visible,
body:not(.haven-home) .button:hover,
body:not(.haven-home) .button:focus-visible {
  box-shadow: 0 0 0 1px var(--institutional-accent-soft), 0 10px 22px var(--institutional-accent-weak);
}

.haven-home .button.secondary:hover,
body:not(.haven-home) .button.secondary:hover {
  color: var(--institutional-accent);
  border-color: rgba(51, 102, 153, 0.34);
}

.haven-home .haven-menu a:hover,
.haven-home .haven-menu a:focus-visible,
.haven-home .haven-menu a[aria-current="page"],
.haven-home .haven-menu a.active,
body:not(.haven-home) .top-nav a:hover,
body:not(.haven-home) .top-nav a:focus-visible,
body:not(.haven-home) .top-nav a[aria-current="page"],
body:not(.haven-home) .top-nav a.active,
body:not(.haven-home) .link-button:hover {
  color: var(--institutional-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.haven-home input:focus,
.haven-home select:focus,
.haven-home textarea:focus,
body:not(.haven-home) input:focus,
body:not(.haven-home) select:focus,
body:not(.haven-home) textarea:focus {
  border-color: rgba(51, 102, 153, 0.44);
  box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.14);
  outline: none;
}

.haven-home .calendar-day.today {
  border-color: rgba(51, 102, 153, 0.56);
  box-shadow: inset 0 0 0 2px rgba(51, 102, 153, 0.18);
}

.haven-home .calendar-day:hover:not(.blocked) {
  border-color: rgba(51, 102, 153, 0.36);
}

/* Admin and base-panel visual parity with main style */
body:not(.haven-home) {
  background: #f5f1eb;
  color: #3f3a34;
}

body:not(.haven-home) .site-header,
body:not(.haven-home) .site-footer {
  background: rgba(252, 248, 241, 0.94);
  border-color: rgba(51, 102, 153, 0.14);
}

body:not(.haven-home) .brand {
  color: #2f2a24;
}

body:not(.haven-home) .card,
body:not(.haven-home) .card-soft {
  background: #fffaf4;
  border-color: #e8dfd2;
  box-shadow: 0 10px 24px rgba(66, 53, 40, 0.08);
}

body:not(.haven-home) .button {
  background: linear-gradient(135deg, #7c8464 0%, #66704f 100%);
  border: 1px solid rgba(87, 95, 68, 0.35);
  color: #fdfaf4;
}

body:not(.haven-home) .button.secondary {
  background: rgba(255, 252, 247, 0.82);
  color: #574f45;
  border-color: #e8dfd2;
}

/* Blue tone update for admin + reserve buttons */
body:not(.haven-home) .button,
.haven-home .reserve-shell .haven-actions .button,
.haven-home .haven-shell:not(.reserve-shell) .haven-actions .button {
  background: linear-gradient(135deg, #3b73aa 0%, #336699 58%, #2d5a86 100%);
  border: 1px solid rgba(45, 90, 134, 0.62);
  color: #f7fbff;
}

body:not(.haven-home) .button:hover,
body:not(.haven-home) .button:focus-visible,
.haven-home .reserve-shell .haven-actions .button:hover,
.haven-home .reserve-shell .haven-actions .button:focus-visible,
.haven-home .haven-shell:not(.reserve-shell) .haven-actions .button:hover,
.haven-home .haven-shell:not(.reserve-shell) .haven-actions .button:focus-visible {
  background: linear-gradient(135deg, #427ab2 0%, #376fa5 58%, #2f608f 100%);
  color: #ffffff;
}

/* Better legibility for "Nosotros" text on image background */
.haven-home .haven-about-copy h2 {
  color: #fffdf8;
  text-shadow: 0 2px 10px rgba(24, 19, 15, 0.34);
}

.haven-home .haven-about-copy p {
  color: #f7efe3;
  text-shadow: 0 1px 8px rgba(24, 19, 15, 0.28);
}

/* ════════════════════════════════════════════════════════════
   ADMIN PANEL — SaaS Dashboard Redesign
   ════════════════════════════════════════════════════════════ */

/* --- Layout shell --- */
body.admin-panel {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f8;
  color: #2d3748;
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.admin-panel h1,
body.admin-panel h2,
body.admin-panel h3 {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.3;
}

/* --- Sidebar --- */
.ap-sidebar {
  grid-column: 1;
  grid-row: 1 / -1;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}

.ap-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem 0.5rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.ap-logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.ap-logo-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: #2d3748;
  line-height: 1.2;
}

.ap-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.ap-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: left;
  transition: all 0.18s ease;
  font-family: inherit;
}

.ap-nav-item:hover {
  background: #f1f5f9;
  color: #334155;
}

.ap-nav-item.active {
  background: #eef2ff;
  color: #336699;
}

.ap-nav-item.active svg {
  stroke: #336699;
}

.ap-sidebar-bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ap-nav-link {
  text-decoration: none;
}

.ap-nav-logout {
  color: #94a3b8;
}

.ap-nav-logout:hover {
  color: #ef4444;
  background: #fef2f2;
}

/* --- Mobile topbar --- */
.ap-mobile-topbar {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 40;
}

.ap-hamburger {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem;
  color: #475569;
}

.ap-mobile-title {
  font-weight: 700;
  font-size: 1rem;
  color: #2d3748;
}

/* --- Main content --- */
.ap-main {
  grid-column: 2;
  padding: 2rem 2.5rem 3rem;
  overflow-y: auto;
  min-width: 0;
}

.ap-hidden {
  display: none !important;
}

/* --- Section headers --- */
.ap-section-header {
  margin-bottom: 1.5rem;
}

.ap-section-header h1 {
  margin: 0;
  font-size: 1.65rem;
  color: #1e293b;
}

.ap-subtitle {
  margin: 0.25rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* --- Cards --- */
.ap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ap-card-title {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: #334155;
}

/* --- KPI Grid --- */
.ap-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.ap-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.ap-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-kpi-blue  { background: #eff6ff; color: #3b82f6; }
.ap-kpi-green { background: #f0fdf4; color: #22c55e; }
.ap-kpi-purple { background: #f5f3ff; color: #8b5cf6; }
.ap-kpi-amber { background: #fffbeb; color: #f59e0b; }

.ap-kpi-blue svg  { stroke: #3b82f6; }
.ap-kpi-green svg { stroke: #22c55e; }
.ap-kpi-purple svg { stroke: #8b5cf6; }
.ap-kpi-amber svg { stroke: #f59e0b; }

.ap-kpi-body {
  display: flex;
  flex-direction: column;
}

.ap-kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ap-kpi-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
  margin: 0.15rem 0;
}

.ap-kpi-sub {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* --- Table --- */
.ap-table-wrap {
  overflow-x: auto;
}

.ap-table {
  width: 100%;
  border-collapse: collapse;
}

.ap-table th {
  text-align: left;
  padding: 0.7rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
}

.ap-table td {
  padding: 0.85rem 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.ap-table tbody tr:hover {
  background: #f8fafc;
}

.ap-cell-id {
  font-weight: 700;
  color: #336699;
}

.ap-cell-dates {
  white-space: nowrap;
}

.ap-cell-money {
  font-weight: 700;
  color: #1e293b;
}

.ap-empty {
  text-align: center;
  color: #94a3b8;
  padding: 2rem 1rem !important;
}

/* --- Pills / status badges --- */
.ap-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f1f5f9;
  color: #64748b;
}

.ap-pill-confirmed,
.ap-pill-paid {
  background: #f0fdf4;
  color: #16a34a;
}

.ap-pill-active {
  background: #eff6ff;
  color: #2563eb;
}

.ap-pill-expired,
.ap-pill-cancelled {
  background: #fef2f2;
  color: #dc2626;
}

.ap-pill-unpaid,
.ap-pill-pending {
  background: #fffbeb;
  color: #d97706;
}

/* --- Alerts --- */
.ap-alerts {
  margin-bottom: 1.25rem;
}

.ap-alert {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.ap-alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.ap-alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.ap-alert-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* --- Config groups --- */
.ap-config-group {
  padding: 1.5rem;
}

.ap-group-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  color: #334155;
}

.ap-group-title svg {
  stroke: #94a3b8;
  flex-shrink: 0;
}

/* --- Forms --- */
.ap-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.ap-full {
  grid-column: 1 / -1;
}

.ap-label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.ap-label > span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.admin-panel input,
body.admin-panel select,
body.admin-panel textarea {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  background: #ffffff;
  color: #334155;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.admin-panel input:focus,
body.admin-panel select:focus,
body.admin-panel textarea:focus {
  outline: none;
  border-color: #336699;
  box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.12);
}

body.admin-panel textarea {
  min-height: 72px;
  resize: vertical;
}

body.admin-panel input::placeholder {
  color: #cbd5e1;
}

.ap-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.5rem;
}

.ap-checkbox > span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  text-transform: none;
  letter-spacing: 0;
}

.ap-helper {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.ap-form-divider {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 0 0.15rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.3rem;
}

.ap-form-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background: linear-gradient(135deg, #3b73aa 0%, #336699 58%, #2d5a86 100%);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(51, 102, 153, 0.25);
  transition: all 0.2s ease;
}

.ap-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(51, 102, 153, 0.35);
  filter: brightness(1.04);
}

/* --- CMS Tabs --- */
.ap-cms-card {
  padding: 0;
  overflow: hidden;
}

.ap-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0 0.5rem;
}

.ap-tab {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.18s ease;
  font-family: inherit;
}

.ap-tab:hover {
  color: #475569;
}

.ap-tab.active {
  color: #336699;
  border-bottom-color: #336699;
}

.ap-tab-panel {
  display: none;
  padding: 1.35rem;
}

.ap-tab-panel.active {
  display: block;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  body.admin-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .ap-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 260px;
    height: 100vh;
    transition: left 0.25s ease;
    box-shadow: none;
  }

  .ap-sidebar.open {
    left: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  }

  .ap-mobile-topbar {
    display: flex;
  }

  .ap-main {
    grid-column: 1;
    padding: 1.25rem 1rem 2rem;
  }

  .ap-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ap-tabs {
    padding: 0 0.25rem;
  }

  .ap-tab {
    padding: 0.75rem 0.65rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .ap-kpi-grid {
    grid-template-columns: 1fr;
  }

  .ap-main {
    padding: 1rem 0.75rem 2rem;
  }
}

