:root {
  --bg: #f7f1e8;
  --card: rgba(255, 251, 244, 0.94);
  --ink: #1f1a17;
  --muted: #6f6257;
  --line: rgba(44, 34, 24, 0.12);
  --accent: #ad5c2c;
  --accent-deep: #7b3e1c;
  --success: #1f7a55;
  --warning: #b57019;
  --radius: 26px;
  --shadow: 0 22px 60px rgba(55, 36, 16, 0.12);
  --headline: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top left, rgba(247, 191, 136, 0.25), transparent 32%),
    radial-gradient(circle at top right, rgba(173, 92, 44, 0.14), transparent 30%),
    linear-gradient(180deg, #fff8ee 0%, var(--bg) 46%, #efe5d7 100%);
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(255, 249, 241, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-nav,
.property-meta,
.card-grid,
.stats,
.form-grid,
.photo-grid,
.button-row,
.split {
  display: flex;
  gap: 1rem;
}

.site-header__inner {
  justify-content: space-between;
  padding: 1rem 0;
}

.brand,
h1,
h2,
h3 {
  font-family: var(--headline);
}

.brand {
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.site-nav {
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.brand:hover {
  color: var(--accent-deep);
}

.page-shell {
  padding: 2rem 0 4rem;
}

.hero,
.panel,
.card,
.table-card,
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.hero {
  padding: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero h1,
.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.hero p,
.lead,
.muted {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

.card-grid,
.stats,
.form-grid,
.photo-grid,
.property-meta,
.button-row {
  flex-wrap: wrap;
}

.card-grid > *,
.stats > * {
  flex: 1 1 260px;
}

.property-meta span,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(173, 92, 44, 0.1);
  color: var(--accent-deep);
  font-size: 0.92rem;
}

.badge--success {
  background: rgba(31, 122, 85, 0.12);
  color: var(--success);
}

.badge--warning {
  background: rgba(181, 112, 25, 0.14);
  color: var(--warning);
}

.badge--muted {
  background: rgba(111, 98, 87, 0.12);
  color: var(--muted);
}

.photo-grid img,
.placeholder-photo {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(173, 92, 44, 0.18), rgba(123, 62, 28, 0.06));
}

.placeholder-photo {
  display: grid;
  place-items: center;
  color: var(--muted);
  min-height: 220px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(44, 34, 24, 0.16);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

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

.button,
button,
input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  text-decoration: none;
}

.button--secondary {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid rgba(123, 62, 28, 0.22);
}

.button--danger {
  background: #7a2d1d;
}

.flash {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.empty-state {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px dashed rgba(44, 34, 24, 0.18);
  color: var(--muted);
}

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

th,
td {
  padding: 0.85rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.inspection-form {
  margin-top: 1.25rem;
}

.inspection-section {
  margin-top: 1.25rem;
}

.field {
  flex: 1 1 320px;
}

.field--paragraph,
.field--file {
  flex-basis: 100%;
}

.field-note {
  margin: -0.15rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.required {
  color: var(--accent-deep);
}

.scale-control {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 0.45rem;
}

.scale-option {
  margin: 0;
}

.scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scale-option span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid rgba(44, 34, 24, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.scale-option input:checked + span {
  border-color: var(--accent-deep);
  background: rgba(173, 92, 44, 0.12);
  color: var(--accent-deep);
}

.inspection-actions {
  position: sticky;
  bottom: 0;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(247, 241, 232, 0), rgba(247, 241, 232, 0.96) 30%);
}

@media (max-width: 780px) {
  .site-header__inner,
  .site-nav,
  .split {
    flex-direction: column;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.4rem;
  }
}

/* HomeExchange guest guide */
.guest-guide-body {
  --guide-ink: #102f3f;
  --guide-paper: #f7f2e8;
  --guide-card: #fffdf8;
  --guide-sage: #dfe8df;
  --guide-sand: #f3dfbd;
  --guide-coral: #bd6046;
  background: var(--guide-paper);
  color: var(--guide-ink);
}

.guest-guide-shell {
  width: min(1216px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.guide-header,
.guide-brand,
.guide-language,
.guide-nav,
.guide-info-grid,
.guide-schedule > div,
.guide-alert,
.guide-footer {
  display: flex;
  align-items: center;
}

.guide-header {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.guide-brand {
  gap: 0.8rem;
  text-decoration: none;
}

.guide-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--guide-ink);
  color: white;
  font-size: 1.9rem;
  line-height: 1;
}

.guide-brand small,
.guide-brand strong {
  display: block;
}

.guide-brand small {
  margin-bottom: 0.16rem;
  color: #66767d;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guide-brand strong {
  font-family: var(--body);
  font-size: 1.08rem;
}

.guide-language {
  gap: 0.2rem;
  padding: 0.28rem;
  border: 1px solid rgba(16, 47, 63, 0.12);
  border-radius: 999px;
  background: white;
}

.guide-language a {
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #63737a;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.guide-language a.is-active {
  background: var(--guide-ink);
  color: white;
}

.guide-nav {
  width: fit-content;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  padding: 0.34rem;
  border-radius: 999px;
  background: var(--guide-ink);
  box-shadow: 0 14px 36px rgba(16, 47, 63, 0.18);
}

.guide-nav a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.guide-nav a.is-active {
  background: var(--guide-paper);
  color: var(--guide-ink);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.guide-flash {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: #e1eee4;
  color: #17492d;
}

.guide-flash--alert {
  background: #f6ddd8;
  color: #792e21;
}

.guide-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--guide-ink);
}

.guide-hero__image,
.guide-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.guide-hero__image {
  object-fit: cover;
  object-position: center 48%;
}

.guide-hero__veil {
  background: linear-gradient(90deg, rgba(5, 28, 39, 0.92) 0%, rgba(5, 28, 39, 0.5) 51%, rgba(5, 28, 39, 0.05) 100%);
}

.guide-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 570px;
  max-width: 720px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4.2rem);
  color: white;
}

.guide-pill {
  width: fit-content;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.guide-hero h1,
.guide-section-heading h1 {
  max-width: 760px;
  margin: 1.1rem 0 0;
  font-family: var(--body);
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.guide-hero p,
.guide-section-heading p {
  max-width: 660px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-hero small {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.54);
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guide-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.guide-grid--essentials {
  grid-template-columns: 1.2fr 0.8fr;
}

.guide-panel {
  padding: 1.5rem;
  border: 1px solid rgba(16, 47, 63, 0.11);
  border-radius: 28px;
  background: var(--guide-card);
  box-shadow: 0 14px 40px rgba(16, 47, 63, 0.06);
}

.guide-panel--navy {
  border: 0;
  background: var(--guide-ink);
  color: white;
}

.guide-panel--sage {
  border: 0;
  background: var(--guide-sage);
}

.guide-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--guide-coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-panel--navy .guide-kicker {
  color: rgba(255, 255, 255, 0.54);
}

.guide-panel p {
  color: #67777e;
  line-height: 1.55;
}

.guide-panel--navy p {
  color: rgba(255, 255, 255, 0.67);
}

.guide-info-grid {
  align-items: stretch;
  gap: 0.7rem;
}

.guide-info-grid > div {
  flex: 1;
  padding: 1rem;
  border-radius: 20px;
  background: #f1ede3;
}

.guide-info-grid strong,
.guide-info-grid p {
  display: block;
}

.guide-info-grid p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}

.guide-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 13px;
  background: white;
  color: var(--guide-ink);
  box-shadow: 0 5px 16px rgba(16, 47, 63, 0.08);
}

.guide-schedule {
  margin: 1.25rem 0 0;
}

.guide-schedule > div {
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.guide-schedule dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.guide-alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.guide-alert {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 26px;
}

.guide-alert > span {
  display: grid;
  min-width: 52px;
  min-height: 52px;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.guide-alert h2,
.guide-alert p {
  margin: 0;
}

.guide-alert h2 {
  font-family: var(--body);
  font-size: 1rem;
}

.guide-alert p {
  margin-top: 0.35rem;
  color: rgba(16, 47, 63, 0.69);
  font-size: 0.9rem;
  line-height: 1.55;
}

.guide-alert--sand {
  background: var(--guide-sand);
}

.guide-alert--sage {
  background: var(--guide-sage);
}

.guide-section {
  margin-top: 2.25rem;
}

.guide-section > h2 {
  margin: 0 0 1rem;
  font-family: var(--body);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.guide-rule-grid,
.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.guide-rule-grid article,
.place-grid article {
  padding: 1.25rem;
  border: 1px solid rgba(16, 47, 63, 0.1);
  border-radius: 24px;
  background: var(--guide-card);
}

.guide-rule-grid article > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--guide-coral);
  font-size: 0.74rem;
  font-weight: 800;
}

.guide-rule-grid h2,
.guide-rule-grid h3,
.guide-rule-grid p,
.place-grid h3 {
  margin: 0;
  font-family: var(--body);
}

.guide-rule-grid h2,
.guide-rule-grid h3 {
  font-size: 1rem;
}

.guide-rule-grid p {
  margin-top: 0.55rem;
  color: #68777d;
  font-size: 0.88rem;
  line-height: 1.55;
}

.guide-rule-grid--two {
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.guide-gallery {
  display: grid;
  grid-auto-rows: 210px;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.guide-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.guide-gallery img:first-child {
  grid-column: span 4;
  grid-row: span 2;
}

.guide-gallery img:not(:first-child) {
  grid-column: span 2;
}

.guide-section-heading {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 34px;
}

.guide-section-heading--navy {
  background: var(--guide-ink);
  color: white;
}

.guide-section-heading--sage {
  background: var(--guide-sage);
  color: var(--guide-ink);
}

.guide-section-heading--sage p {
  color: rgba(16, 47, 63, 0.68);
}

.private-stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.private-stay-card {
  min-height: 175px;
  padding: 1.3rem;
  border: 1px solid rgba(16, 47, 63, 0.1);
  border-radius: 26px;
  background: var(--guide-card);
}

.private-stay-card small,
.private-stay-card strong,
.private-stay-card span {
  display: block;
}

.private-stay-card small {
  color: #66777d;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.private-stay-card strong {
  margin-top: 1.8rem;
  font-size: 1.15rem;
}

.private-stay-card span {
  margin-top: 0.65rem;
  color: #65747b;
  font-size: 0.86rem;
  line-height: 1.5;
}

.private-stay-card--secret {
  border: 0;
  background: var(--guide-sand);
}

.private-stay-card code {
  padding: 0.16rem 0.36rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.45);
  color: #543a24;
}

.guest-document-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1rem;
  margin-top: 1rem;
}

.guide-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.guide-form-grid small {
  display: block;
  margin-top: 0.4rem;
  color: #708087;
}

.guide-button {
  margin-top: 1.2rem;
  background: var(--guide-ink) !important;
}

.privacy-note {
  margin-top: 2rem;
  font-size: 0.83rem;
}

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.emergency-grid a {
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--guide-card);
  text-decoration: none;
}

.emergency-grid strong,
.emergency-grid span {
  display: block;
}

.emergency-grid strong {
  font-size: 2.3rem;
}

.emergency-grid span {
  margin-top: 0.35rem;
  color: #69787f;
  font-size: 0.83rem;
}

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

.rio-card {
  overflow: hidden;
  border: 1px solid rgba(16, 47, 63, 0.1);
  border-radius: 28px;
  background: var(--guide-card);
}

.rio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rio-card > div {
  padding: 1.2rem;
}

.rio-card h3,
.rio-card p {
  margin: 0;
  font-family: var(--body);
}

.rio-card p {
  margin: 0.65rem 0 1rem;
  color: #68777d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.rio-card a {
  display: inline-block;
  margin: 0.2rem 0.7rem 0.2rem 0;
  color: var(--guide-ink);
  font-size: 0.85rem;
  font-weight: 750;
}

.rio-card--place {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.rio-card--place:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(16, 47, 63, 0.1);
}

.rio-card--place > div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.rio-card--place .rio-card__moment {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--guide-coral);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rio-card--place .rio-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(16, 47, 63, 0.1);
  text-decoration: none;
}

.rio-card--place .rio-card__link span:last-child {
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.rio-card--place .rio-card__link:hover span:last-child {
  transform: translate(2px, -2px);
}

.guide-source {
  margin-top: 1rem;
  color: #738187;
  font-size: 0.78rem;
}

.guide-footer {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(16, 47, 63, 0.1);
  color: #708087;
  font-size: 0.76rem;
}

/* Admin booking and printable porteiro sheet */
.private-link-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(173, 92, 44, 0.08);
}

.private-link-box strong,
.private-link-box code,
.traveler-admin-item span {
  display: block;
}

.private-link-box code {
  overflow-wrap: anywhere;
  margin-top: 0.5rem;
}

.traveler-admin-list {
  margin-top: 1.5rem;
}

.traveler-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.traveler-admin-item span {
  margin-top: 0.3rem;
  color: var(--muted);
}

.document-removal-list {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.document-removal-list label {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.document-removal-list input {
  width: auto;
}

.porteiro-sheet {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}

.porteiro-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #183748;
}

.porteiro-header h1,
.porteiro-header p {
  margin: 0;
}

.porteiro-header h1 {
  font-size: 2.4rem;
}

.porteiro-dates {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.porteiro-actions,
.porteiro-welcome,
.porteiro-private-note {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border-radius: 18px;
  background: #f3eee6;
}

.porteiro-welcome p {
  margin: 0.45rem 0;
  line-height: 1.65;
}

.porteiro-travelers article {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.porteiro-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #183748;
  color: white;
  font-weight: 750;
}

.porteiro-passports {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.porteiro-passports figure {
  margin: 0;
}

.porteiro-passports img,
.porteiro-passports object {
  width: 100%;
  min-height: 300px;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: contain;
}

.porteiro-passports figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 780px) {
  .guest-guide-shell {
    width: min(100% - 1rem, 1216px);
    padding-top: 0.75rem;
  }

  .guide-brand small {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .guide-nav {
    position: fixed;
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 20;
    display: grid;
    width: auto;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 18px;
  }

  .guide-nav a {
    overflow: hidden;
    padding: 0.8rem 0.25rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .guide-hero,
  .guide-hero__content {
    min-height: 510px;
  }

  .guide-hero {
    border-radius: 28px;
  }

  .guide-grid--essentials,
  .guide-alert-grid,
  .private-stay-grid,
  .guest-document-grid,
  .emergency-grid,
  .rio-card-grid,
  .guide-rule-grid,
  .guide-rule-grid--two,
  .guide-form-grid,
  .porteiro-passports {
    grid-template-columns: 1fr;
  }

  .guide-info-grid {
    flex-direction: column;
  }

  .guide-gallery {
    display: grid;
    grid-auto-rows: 220px;
    grid-template-columns: 1fr;
  }

  .guide-gallery img,
  .guide-gallery img:first-child,
  .guide-gallery img:not(:first-child) {
    grid-column: auto;
    grid-row: auto;
  }

  .guide-footer {
    margin-bottom: 5rem;
  }

  .traveler-admin-item,
  .porteiro-header,
  .porteiro-dates {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .print-hidden,
  .flash {
    display: none !important;
  }

  html,
  body {
    background: white !important;
  }

  .page-shell {
    width: auto;
    padding: 0;
  }

  .porteiro-sheet {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .porteiro-travelers article,
  .porteiro-passports figure {
    break-inside: avoid;
  }

  .porteiro-passports img,
  .porteiro-passports object {
    max-height: 380px;
  }
}

/* Booking hub — visual language inspired by Numbr's bold, friendly geometry */
.booking-hub-body {
  --booking-blue: #1737d1;
  --booking-blue-dark: #112aa9;
  --booking-navy: #10194f;
  --booking-pink: #e52b78;
  --booking-yellow: #ffda58;
  --booking-paper: #f6f7ff;
  --booking-line: rgba(16, 25, 79, 0.12);
  background: #fff;
  color: var(--booking-navy);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.booking-hub,
.booking-hub * {
  box-sizing: border-box;
}

.booking-hub a {
  color: inherit;
}

.booking-hero {
  overflow: hidden;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-radius: 0 0 0 104px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 160px 100%,
    var(--booking-blue);
  color: white;
}

.booking-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.booking-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: white;
  text-decoration: none;
}

.booking-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px 15px 4px 15px;
  background: linear-gradient(135deg, var(--booking-pink) 0 52%, var(--booking-yellow) 52% 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.booking-brand strong,
.booking-brand small {
  display: block;
}

.booking-brand strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.booking-brand small {
  margin-top: 0.14rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-header__nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.booking-header__nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.booking-header__nav a:hover {
  color: white;
}

.booking-header__nav .booking-header__admin {
  padding: 0.68rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
}

.public-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(6, 17, 76, 0.22);
}

.booking-header__nav .public-language-switcher a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.booking-header__nav .public-language-switcher a:hover,
.booking-header__nav .public-language-switcher a:focus-visible {
  color: white;
}

.booking-header__nav .public-language-switcher a.is-active {
  background: white;
  color: var(--booking-blue);
  box-shadow: 0 3px 10px rgba(6, 17, 76, 0.2);
}

.booking-hero__grid {
  display: grid;
  min-height: 610px;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  padding: 3rem 0 4rem;
}

.booking-hero__copy {
  position: relative;
  z-index: 2;
}

.booking-kicker {
  margin: 0 0 0.8rem;
  color: var(--booking-pink);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-kicker--light {
  color: var(--booking-yellow);
}

.booking-hero h1,
.booking-page-heading h1,
.property-hero h1,
.booking-confirmation h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(3.15rem, 6vw, 6.4rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.booking-hero__lead {
  max-width: 620px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

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

.booking-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 13px 13px 3px 13px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
}

.booking-button--pink,
input.booking-button--pink {
  background: var(--booking-pink);
  color: white;
}

.booking-button--blue,
input.booking-button--blue {
  width: 100%;
  background: var(--booking-blue);
  color: white;
}

.booking-button--outline {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: white;
}

.booking-hero__feature {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 480px;
  color: white;
  text-decoration: none;
}

.booking-hero__feature::before {
  position: absolute;
  top: -86px;
  left: -104px;
  width: 340px;
  height: 340px;
  border: 42px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.booking-hero__feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 74px 12px 74px 12px;
  object-fit: cover;
  box-shadow: 0 34px 70px rgba(7, 20, 91, 0.38);
}

.booking-shape {
  position: absolute;
  z-index: 2;
  display: block;
}

.booking-shape--pink {
  top: 28%;
  left: -44px;
  width: 88px;
  height: 120px;
  border-radius: 88px 0 0 88px;
  background: var(--booking-pink);
}

.booking-shape--yellow {
  right: -24px;
  bottom: -20px;
  width: 132px;
  height: 132px;
  border-radius: 132px 0 0 0;
  background: var(--booking-yellow);
}

.booking-hero__feature-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px 18px 5px 18px;
  background: rgba(8, 17, 68, 0.7);
  backdrop-filter: blur(14px);
}

.booking-hero__feature-label small,
.booking-hero__feature-label strong {
  display: block;
}

.booking-hero__feature-label small {
  margin-bottom: 0.2rem;
  color: var(--booking-yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-hero__feature-label strong {
  font-size: 1.1rem;
}

.booking-hero__proof {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.booking-hero__proof span {
  padding: 1.25rem 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.booking-hero__proof strong {
  margin-right: 0.25rem;
  color: white;
}

.booking-section {
  width: min(1240px, calc(100vw - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) 0;
}

.booking-section--compact {
  padding-top: 1rem;
}

.booking-section__heading,
.property-availability__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.booking-section h2,
.booking-how h2,
.property-content h2,
.booking-confirmation h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.booking-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--booking-blue);
  font-size: 0.9rem;
  font-weight: 820;
  text-decoration: none;
}

.booking-arrow-link::after {
  content: "→";
  font-size: 1.25em;
}

.booking-listing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-listing-card {
  overflow: hidden;
  border: 1px solid var(--booking-line);
  border-radius: 30px 30px 8px 30px;
  background: white;
  box-shadow: 0 18px 55px rgba(21, 39, 124, 0.09);
}

.booking-listing-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--booking-paper);
}

.booking-listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.booking-listing-card:hover .booking-listing-card__media img {
  transform: scale(1.025);
}

.booking-listing-card__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #6570a8;
}

.booking-listing-card__location {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--booking-navy);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: uppercase;
}

.booking-listing-card__body {
  padding: 1.6rem;
}

.booking-listing-card__body h3 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  letter-spacing: -0.035em;
}

.booking-listing-card__body h3 a {
  text-decoration: none;
}

.booking-listing-card__body > div > p:last-child {
  min-height: 3.2em;
  color: #64709b;
  line-height: 1.6;
}

.booking-listing-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.booking-listing-card__facts span {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--booking-paper);
  color: #606b99;
  font-size: 0.8rem;
}

.booking-listing-card__facts strong {
  color: var(--booking-blue);
}

.booking-listing-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--booking-line);
}

.booking-listing-card footer p {
  margin: 0;
  color: #67719a;
  font-size: 0.82rem;
}

.booking-listing-card footer strong {
  color: var(--booking-navy);
}

.booking-how {
  display: grid;
  width: min(1320px, calc(100vw - 2rem));
  margin: 1rem auto 6rem;
  gap: 4rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: 68px 12px 68px 12px;
  background: var(--booking-blue);
  color: white;
}

.booking-how__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-how__steps li {
  display: grid;
  gap: 1rem;
  grid-template-columns: 52px 1fr;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-how__steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--booking-yellow);
  color: var(--booking-navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.booking-how__steps strong {
  font-size: 1.1rem;
}

.booking-how__steps p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.booking-footer {
  display: flex;
  width: min(1240px, calc(100vw - 3rem));
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--booking-line);
  color: #6b7396;
}

.booking-brand--dark {
  color: var(--booking-navy);
}

.booking-brand--dark small {
  color: #7a82a5;
}

.booking-empty {
  padding: 2rem;
  border: 1px dashed var(--booking-line);
  border-radius: 22px;
  color: #68729e;
  text-align: center;
}

.booking-inner-header {
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: var(--booking-blue);
}

.booking-page-heading {
  padding: clamp(4rem, 8vw, 7rem) max(24px, calc((100vw - 1240px) / 2));
  background: var(--booking-paper);
}

.booking-page-heading h1 {
  color: var(--booking-blue);
}

.booking-page-heading > p:last-child {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: #626d9b;
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Property page */
.property-hero {
  display: grid;
  min-height: 620px;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  padding: clamp(3rem, 7vw, 6rem) max(24px, calc((100vw - 1240px) / 2));
  border-radius: 0 0 0 90px;
  background: var(--booking-blue);
  color: white;
}

.property-hero__copy > p:not(.booking-kicker) {
  max-width: 590px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
  line-height: 1.65;
}

.property-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.property-hero__facts span {
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.property-hero__facts strong {
  color: white;
}

.property-hero__media {
  position: relative;
  height: 500px;
}

.property-hero__media img {
  width: 100%;
  height: 100%;
  border-radius: 70px 10px 70px 10px;
  object-fit: cover;
  box-shadow: 0 32px 70px rgba(7, 20, 91, 0.36);
}

.property-gallery {
  display: grid;
  width: min(1240px, calc(100vw - 3rem));
  margin: 4rem auto 0;
  grid-auto-rows: 250px;
  gap: 0.75rem;
  grid-template-columns: repeat(4, 1fr);
}

.property-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 24px 24px 6px 24px;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery__item--1 {
  grid-column: span 2;
  grid-row: span 2;
}

.property-gallery__item--2,
.property-gallery__item--5 {
  grid-column: span 2;
}

.property-layout {
  display: grid;
  width: min(1240px, calc(100vw - 3rem));
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) 390px;
  margin: 5rem auto 7rem;
}

.property-content > section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--booking-line);
}

.property-content > section:first-child {
  padding-top: 0;
}

.property-copy-section__lead {
  margin: 1.5rem 0;
  color: var(--booking-navy);
  font-size: 1.25rem;
  font-weight: 620;
  line-height: 1.65;
}

.property-copy-section > p:last-child,
.property-neighborhood > p {
  color: #68719a;
  line-height: 1.75;
}

.property-neighborhood {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.8fr 1.2fr;
}

.property-neighborhood__number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--booking-yellow);
  color: var(--booking-navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.property-amenities__grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  border-top: 1px solid var(--booking-line);
}

.property-amenities__grid span {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--booking-line);
  color: #555f8d;
}

.property-amenities__grid span:nth-child(odd) {
  padding-right: 1rem;
}

.property-amenities__grid i {
  color: var(--booking-pink);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.calendar-legend {
  display: flex;
  gap: 1rem;
  color: #68719a;
  font-size: 0.75rem;
}

.calendar-legend span::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #d5daf4;
  content: "";
}

.calendar-legend .is-available::before {
  background: var(--booking-blue);
}

.availability-calendars {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.availability-calendar {
  padding: 1rem;
  border: 1px solid var(--booking-line);
  border-radius: 18px 18px 5px 18px;
  background: var(--booking-paper);
}

.availability-calendar h3 {
  margin: 0 0 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: capitalize;
}

.availability-calendar__weekdays,
.availability-calendar__days {
  display: grid;
  gap: 0.18rem;
  grid-template-columns: repeat(7, 1fr);
}

.availability-calendar__weekdays span {
  padding: 0.25rem 0;
  color: #8a92b6;
  font-size: 0.62rem;
  font-weight: 850;
  text-align: center;
}

.availability-calendar__days span {
  display: grid;
  min-height: 27px;
  place-items: center;
  border-radius: 7px;
  color: #9aa1bf;
  font-size: 0.68rem;
}

.availability-calendar__days .is-available {
  background: white;
  color: var(--booking-blue);
  font-weight: 800;
}

.availability-calendar__days .is-unavailable {
  background: #e3e5ef;
  color: #9ca1b4;
  text-decoration: line-through;
}

.availability-calendar__days .is-past {
  opacity: 0.45;
}

.booking-request-card {
  position: sticky;
  top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--booking-line);
  border-radius: 28px 28px 7px 28px;
  background: white;
  box-shadow: 0 25px 65px rgba(21, 39, 124, 0.13);
}

.booking-request-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.booking-request-card__price span,
.booking-request-card__price small {
  color: #7780a7;
  font-size: 0.72rem;
}

.booking-request-card__price strong {
  color: var(--booking-blue);
  font-size: 1.65rem;
}

.booking-request-card > p,
.booking-request-card__hint,
.booking-form-help {
  color: #727ba2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.booking-date-form,
.booking-contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.booking-date-form__grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-request-card label {
  margin-bottom: 0.3rem;
  color: var(--booking-navy);
  font-size: 0.72rem;
  font-weight: 820;
}

.booking-request-card input,
.booking-request-card textarea,
.booking-request-card select {
  padding: 0.78rem;
  border: 1px solid var(--booking-line);
  border-radius: 10px;
  background: var(--booking-paper);
  color: var(--booking-navy);
}

.booking-request-card textarea {
  min-height: 82px;
}

.booking-request-card input[type="submit"] {
  border: 0;
  border-radius: 13px 13px 3px 13px;
}

.booking-quote {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 14px 14px 4px 14px;
  background: #eef0ff;
}

.booking-quote p,
.booking-quote strong,
.booking-quote span {
  display: block;
  margin: 0;
}

.booking-quote span {
  margin-top: 0.2rem;
  color: var(--booking-blue);
}

.booking-quote small {
  display: block;
  margin-top: 0.55rem;
  color: #7d85aa;
}

.booking-quote--error {
  background: #fff0f4;
  color: #9c234e;
}

.booking-contact-form {
  padding-top: 1.2rem;
  border-top: 1px solid var(--booking-line);
}

.booking-contact-form h3 {
  margin: 0;
  font-family: inherit;
}

.booking-whatsapp-note {
  margin: 0;
  padding: 0.8rem;
  border-left: 3px solid var(--booking-yellow);
  background: #fff9dc;
  color: #6b6033 !important;
}

/* Booking request confirmation */
.booking-confirmation {
  padding: clamp(4rem, 8vw, 7rem) max(24px, calc((100vw - 1100px) / 2)) 7rem;
  background: var(--booking-paper);
}

.booking-confirmation__status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  color: var(--booking-blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-confirmation__status span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--booking-yellow);
}

.booking-confirmation__status p {
  margin: 0;
}

.booking-confirmation > h1 {
  color: var(--booking-blue);
}

.booking-confirmation > p {
  max-width: 730px;
  margin: 1.5rem 0 0;
  color: #65709e;
  font-size: 1.1rem;
  line-height: 1.7;
}

.booking-confirmation__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}

.booking-confirmation__grid article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--booking-line);
  border-radius: 22px 22px 5px 22px;
  background: white;
}

.booking-confirmation__grid small {
  color: var(--booking-pink);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-confirmation__grid strong {
  margin-top: auto;
  font-size: 1.05rem;
  line-height: 1.35;
}

.booking-confirmation__grid span {
  margin-top: 0.4rem;
  color: #7780a6;
  font-size: 0.8rem;
  line-height: 1.5;
}

.booking-confirmation__next {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 36px 36px 8px 36px;
  background: var(--booking-blue);
  color: white;
}

.booking-confirmation__next p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .booking-hero__grid,
  .property-hero,
  .property-layout,
  .booking-how {
    grid-template-columns: 1fr;
  }

  .booking-hero__feature {
    min-height: 440px;
  }

  .property-layout {
    width: min(100% - 2rem, 760px);
  }

  .booking-request-card {
    position: static;
  }

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

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

  .booking-confirmation__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .booking-hero {
    padding: 0 1rem;
    border-radius: 0 0 0 48px;
  }

  .booking-header {
    min-height: 76px;
  }

  .booking-header__nav > a:not(.booking-header__admin) {
    display: none;
  }

  .booking-header__nav {
    gap: 0.55rem;
  }

  .booking-header__nav .public-language-switcher a {
    width: 27px;
    height: 27px;
    font-size: 0.61rem;
  }

  .booking-header__nav .booking-header__admin {
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
  }

  .booking-hero__grid {
    min-height: 0;
    padding: 3rem 0 2rem;
  }

  .booking-hero h1,
  .booking-page-heading h1,
  .property-hero h1,
  .booking-confirmation h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .booking-hero__feature,
  .property-hero__media {
    min-height: 390px;
    height: 390px;
  }

  .booking-hero__proof {
    grid-template-columns: 1fr;
  }

  .booking-hero__proof span {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .booking-section,
  .property-gallery,
  .booking-footer {
    width: min(100% - 2rem, 1240px);
  }

  .booking-section__heading,
  .property-availability__heading,
  .booking-footer,
  .booking-listing-card footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-listing-grid {
    grid-template-columns: 1fr;
  }

  .booking-how {
    width: calc(100% - 1rem);
    gap: 2rem;
    padding: 2.2rem 1.2rem;
    border-radius: 38px 8px 38px 8px;
  }

  .property-hero {
    min-height: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 0 0 0 48px;
  }

  .property-hero__facts span {
    flex: 1 1 40%;
  }

  .property-gallery {
    grid-auto-rows: 210px;
  }

  .property-gallery__item--1,
  .property-gallery__item--2,
  .property-gallery__item--5 {
    grid-column: span 2;
  }

  .property-neighborhood,
  .property-amenities__grid {
    grid-template-columns: 1fr;
  }

  .property-amenities__grid span:nth-child(odd) {
    padding-right: 0;
  }

  .booking-date-form__grid {
    grid-template-columns: 1fr;
  }

  .booking-confirmation {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Confirmed-stay client guide */
.guest-guide-body {
  --guide-ink: #10194f;
  --guide-paper: #f5f6ff;
  --guide-card: #ffffff;
  --guide-sage: #e8f0ff;
  --guide-sand: #fff0bd;
  --guide-coral: #e52b78;
  background: var(--guide-paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.guest-guide-shell {
  width: min(1240px, calc(100vw - 2rem));
  padding-top: 1rem;
}

.guide-header {
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(16, 25, 79, 0.1);
  border-radius: 20px 20px 5px 20px;
  background: white;
}

.guide-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 15px 15px 4px 15px;
  background: linear-gradient(135deg, #e52b78 0 52%, #ffda58 52% 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

.guide-brand small {
  color: #7b83a7;
}

.guide-brand strong {
  color: var(--guide-ink);
  font-family: inherit;
}

.guide-language {
  border-color: rgba(16, 25, 79, 0.1);
  background: var(--guide-paper);
}

.guide-language a.is-active {
  background: #1737d1;
}

.guide-nav {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0.42rem;
  border-radius: 18px 18px 5px 18px;
  background: #1737d1;
  box-shadow: 0 15px 35px rgba(23, 55, 209, 0.18);
}

.guide-nav a {
  padding: 0.72rem 1.25rem;
}

.guide-nav a.is-active {
  background: white;
  color: #1737d1;
}

.guide-stay-strip {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1.5fr 0.55fr;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 25, 79, 0.1);
  border-radius: 18px 18px 5px 18px;
  background: rgba(16, 25, 79, 0.1);
}

.guide-stay-strip > div {
  padding: 1rem 1.2rem;
  background: white;
}

.guide-stay-strip small,
.guide-stay-strip strong {
  display: block;
}

.guide-stay-strip small {
  margin-bottom: 0.25rem;
  color: #8a91b1;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-stay-strip strong {
  color: var(--guide-ink);
  font-size: 0.88rem;
}

.guide-hero--split {
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  border-radius: 46px 12px 46px 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 140px 100%,
    #1737d1;
}

.guide-hero--split .guide-hero__content {
  position: static;
  min-height: 0;
  max-width: none;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3.6rem);
}

.guide-hero--split .guide-hero__content h1 {
  font-family: inherit;
  max-width: 620px;
  font-size: clamp(2.65rem, 4.2vw, 4.25rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.guide-hero--split .guide-hero__content p {
  font-size: 1.05rem;
}

.guide-hero__media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  margin: 0;
  border-radius: 58px 8px 58px 8px;
}

.guide-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-hero__media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px 16px 4px 16px;
  background: rgba(16, 25, 79, 0.68);
  color: white;
  font-size: 0.78rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.guide-hero__sun {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #ffda58;
  mix-blend-mode: screen;
}

.guide-hero__wifi {
  display: grid;
  width: min(100%, 560px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.4rem;
}

.guide-hero__wifi > div {
  padding: 0;
}

.guide-hero__wifi small,
.guide-hero__wifi strong,
.guide-hero__wifi code {
  display: block;
  margin: 0;
}

.guide-hero__wifi small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero__wifi strong,
.guide-hero__wifi code {
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
}

.guest-registration-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 34px 8px 34px 8px;
  background: #ffda58;
  box-shadow: 0 18px 44px rgba(16, 25, 79, 0.1);
}

.guest-registration-section__intro {
  align-self: center;
  padding: clamp(0.4rem, 2vw, 1.2rem);
}

.guest-registration-section__intro h2,
.guest-registration-section__intro p {
  margin: 0;
}

.guest-registration-section__intro h2 {
  max-width: 420px;
  color: #10194f;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.guest-registration-section__intro > p:not(.privacy-note) {
  margin-top: 1.2rem;
  color: rgba(16, 25, 79, 0.72);
  line-height: 1.65;
}

.guest-registration-section__intro .privacy-note {
  margin-top: 1.4rem;
  color: rgba(16, 25, 79, 0.62);
}

.guest-registration-section__form {
  align-self: stretch;
  border: 0;
  border-radius: 26px 26px 6px 26px;
  box-shadow: none;
}

.private-stay-grid--merged {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.private-stay-card--address strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.45;
}

.guide-pill {
  border-radius: 10px 10px 3px 10px;
  background: rgba(255, 255, 255, 0.14);
}

.guide-grid,
.guide-alert-grid,
.guide-section,
.private-stay-grid,
.guest-document-grid,
.emergency-grid,
.rio-card-grid,
.guide-rule-grid {
  margin-top: 1rem;
}

.guide-panel,
.guide-rule-grid article,
.private-stay-card,
.emergency-grid a,
.rio-card {
  border-radius: 24px 24px 6px 24px;
}

.guide-panel {
  border-color: rgba(16, 25, 79, 0.1);
  box-shadow: 0 14px 40px rgba(23, 55, 209, 0.06);
}

.guide-panel--navy,
.guide-section-heading--navy {
  background: #1737d1;
}

.guide-section-heading {
  border-radius: 42px 10px 42px 10px;
}

.guide-section-heading h1 {
  font-family: inherit;
  font-weight: 780;
}

.private-stay-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.private-stay-card {
  min-height: 220px;
  justify-content: flex-end;
  border: 1px solid rgba(16, 25, 79, 0.1);
  background: white;
}

.private-stay-card--secret {
  background: #10194f;
}

.private-stay-card--whatsapp {
  border: 0;
  background: #ffda58;
  color: #10194f;
}

.admin-button--danger {
  border: 1px solid #efccd0;
  background: #fff1f2;
  color: #a21d2b;
}

.admin-header-actions form {
  margin: 0;
}

.admin-traveler-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-traveler-documents article {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: white;
}

.admin-traveler-documents img,
.admin-document-placeholder {
  width: 100%;
  min-height: 160px;
  max-height: 230px;
  border-radius: 10px;
  object-fit: contain;
  background: #f4f5fb;
}

.admin-document-placeholder {
  display: grid;
  place-items: center;
  color: var(--admin-blue);
  font-size: 1.2rem;
  font-weight: 850;
}

.admin-traveler-documents strong,
.admin-traveler-documents span {
  display: block;
}

.admin-traveler-documents span {
  margin: 0.25rem 0 0.8rem;
  color: var(--admin-muted);
  font-size: 0.72rem;
}

.private-stay-card--whatsapp small,
.private-stay-card--whatsapp span {
  color: rgba(16, 25, 79, 0.7);
}

.guest-document-grid {
  align-items: stretch;
}

.guide-button {
  border-radius: 13px 13px 3px 13px;
  background: #e52b78;
}

.guide-gallery {
  border-radius: 32px 32px 8px 32px;
}

.guide-footer {
  border-color: rgba(16, 25, 79, 0.12);
}

@media (max-width: 780px) {
  .guide-header {
    flex-direction: row;
  }

  .guide-nav {
    border-radius: 16px 16px 4px 16px;
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-stay-strip,
  .guide-hero--split,
  .private-stay-grid,
  .guest-registration-section,
  .admin-traveler-documents,
  .admin-traveler-documents article {
    grid-template-columns: 1fr;
  }

  .guide-stay-strip > div {
    padding: 0.8rem 1rem;
  }

  .guide-hero--split {
    min-height: 0;
    padding: 0.75rem;
    border-radius: 30px 8px 30px 8px;
  }

  .guide-hero--split .guide-hero__content {
    min-height: 430px;
    padding: 2rem 1.25rem;
  }

  .guide-hero__media {
    min-height: 430px;
  }

  .guide-hero__wifi {
    grid-template-columns: 1fr;
  }

  .private-stay-card {
    min-height: 170px;
  }
}

/* Admin workspace — operational counterpart to the public Numbr-inspired UI */
.admin-body {
  --admin-blue: #1737d1;
  --admin-navy: #10194f;
  --admin-pink: #e52b78;
  --admin-yellow: #ffda58;
  --admin-bg: #f2f4fb;
  --admin-surface: #ffffff;
  --admin-line: #dfe3f1;
  --admin-muted: #747b99;
  min-height: 100vh;
  background: var(--admin-bg);
  color: var(--admin-navy);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
}

.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body .brand {
  font-family: inherit;
}

.admin-shell {
  width: min(1440px, calc(100vw - 3rem));
  margin-inline: auto;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--admin-navy);
  color: white;
  box-shadow: 0 10px 35px rgba(16, 25, 79, 0.16);
}

.admin-topbar__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 2rem;
}

.admin-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  color: white;
  text-decoration: none;
}

.admin-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(145deg, var(--admin-pink) 0 50%, var(--admin-yellow) 50% 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.admin-brand small {
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex: 1;
  align-items: stretch;
  align-self: stretch;
  gap: 0.25rem;
}

.admin-nav a {
  display: grid;
  place-items: center;
  padding: 0 1rem;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  border-bottom-color: var(--admin-yellow);
  color: white;
  background: rgba(255, 255, 255, 0.045);
}

.admin-public-link {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  color: white;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.admin-page-shell {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0;
}

.admin-page-header h1 {
  max-width: 920px;
  margin: 0;
  color: var(--admin-navy);
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.admin-page-header p:last-child {
  max-width: 760px;
  margin: 0.75rem 0 0;
  color: var(--admin-muted);
}

.admin-kicker {
  margin: 0 0 0.45rem;
  color: var(--admin-blue);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-page-header__status,
.admin-booking-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: white;
  font-size: 0.78rem;
}

.admin-status-dot,
.admin-booking-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a5abc1;
}

.admin-status-dot.is-live,
.admin-booking-status.is-confirmed i {
  background: #15a071;
  box-shadow: 0 0 0 4px rgba(21, 160, 113, 0.12);
}

.admin-booking-status.is-pending_payment i {
  background: #e3a113;
  box-shadow: 0 0 0 4px rgba(227, 161, 19, 0.12);
}

.admin-booking-status.is-cancelled i {
  background: #d4545c;
}

.admin-panel,
.admin-body .section,
.admin-body .table-card,
.admin-body .card {
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: var(--admin-surface);
  box-shadow: 0 12px 35px rgba(31, 43, 96, 0.055);
}

.admin-body .section,
.admin-body .table-card {
  padding: 1.5rem;
}

.admin-body .page-title {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 820;
  letter-spacing: -0.055em;
}

.admin-body .eyebrow {
  color: var(--admin-blue);
  font-family: inherit;
  font-weight: 800;
}

.admin-body .button,
.admin-body button,
.admin-body input[type="submit"],
.admin-button,
.admin-primary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 10px;
  background: var(--admin-blue);
  color: white;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.admin-body .button--secondary,
.admin-button--secondary {
  border: 1px solid var(--admin-line);
  background: white;
  color: var(--admin-navy);
}

.admin-body .button--danger {
  background: #b6313d;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.admin-property-layout,
.admin-booking-layout,
.admin-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 1.25rem;
}

.admin-property-main,
.admin-booking-main {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.admin-form-section,
.admin-booking-section,
.admin-calendar-panel {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.admin-panel__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-panel__heading > div {
  flex: 1;
}

.admin-panel__heading h2 {
  margin: 0;
  color: var(--admin-navy);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.admin-panel__heading p:last-child {
  margin: 0.4rem 0 0;
  color: var(--admin-muted);
  font-size: 0.86rem;
}

.admin-section-number {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px 12px 3px 12px;
  background: var(--admin-blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-section-number--pink {
  background: var(--admin-pink);
}

.admin-section-number--yellow {
  background: var(--admin-yellow);
  color: var(--admin-navy);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.admin-form-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-field--wide {
  grid-column: 1 / -1;
}

.admin-field label,
.admin-bulk-form label,
.admin-period-form label {
  margin-bottom: 0.42rem;
  color: var(--admin-navy);
  font-size: 0.75rem;
  font-weight: 780;
}

.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-bulk-form input,
.admin-bulk-form select,
.admin-period-form input {
  border: 1px solid #d9deee;
  border-radius: 10px;
  background: #fafbff;
  color: var(--admin-navy);
  box-shadow: none;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus,
.admin-bulk-form input:focus,
.admin-bulk-form select:focus,
.admin-period-form input:focus {
  outline: 3px solid rgba(23, 55, 209, 0.12);
  border-color: var(--admin-blue);
  background: white;
}

.admin-field small {
  display: block;
  margin-top: 0.35rem;
  color: var(--admin-muted);
  font-size: 0.7rem;
}

.admin-photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 155px;
  gap: 0.75rem;
}

.admin-photo-order-help {
  margin: -0.1rem 0 0.9rem;
  color: var(--admin-muted);
  font-size: 0.76rem;
}

.admin-photo-gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: #e8ebf6;
  cursor: grab;
  transition: opacity 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.admin-photo-gallery__item:active {
  cursor: grabbing;
}

.admin-photo-gallery__item.is-dragging {
  z-index: 2;
  opacity: 0.58;
  transform: scale(0.98);
  box-shadow: 0 18px 35px rgba(16, 25, 79, 0.2);
}

.admin-photo-gallery__item.is-primary {
  grid-row: span 2;
  grid-column: span 2;
}

.admin-photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-photo-gallery__item figcaption {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  left: 0.55rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: rgba(16, 25, 79, 0.76);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  backdrop-filter: blur(8px);
}

.admin-photo-gallery__item figcaption span {
  color: white;
  font-weight: 800;
}

.admin-photo-gallery__item .admin-photo-origin {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-photo-order-actions {
  display: flex;
  gap: 0.25rem;
}

.admin-photo-order-actions button {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  place-items: center;
}

.admin-photo-order-actions button:hover:not(:disabled),
.admin-photo-order-actions button:focus-visible {
  outline: none;
  background: white;
  color: var(--admin-blue);
}

.admin-photo-order-actions button:disabled {
  opacity: 0.28;
  cursor: default;
}

.admin-upload-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #bcc5e3;
  border-radius: 12px;
  background: #f8f9fe;
}

.admin-upload-field p {
  margin: 0.25rem 0 0;
  color: var(--admin-muted);
  font-size: 0.75rem;
}

.admin-upload-field input {
  max-width: 440px;
}

.admin-empty-media,
.admin-empty-state {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 1.5rem;
  border: 1px dashed #cbd1e4;
  border-radius: 12px;
  background: #f8f9fd;
  color: var(--admin-muted);
}

.admin-empty-state strong,
.admin-empty-state span {
  display: block;
  text-align: center;
}

.admin-empty-state span {
  margin-top: 0.3rem;
  font-size: 0.78rem;
}

.admin-info-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #fff8d7;
  color: #5b4a08;
}

.admin-info-callout span {
  padding: 0.45rem 0.6rem;
  border-radius: 7px;
  background: var(--admin-yellow);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-info-callout p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.5;
}

.admin-property-sidebar,
.admin-booking-sidebar {
  display: grid;
  gap: 1rem;
}

.admin-side-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: white;
}

.admin-side-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-side-card p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.admin-side-card > a {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--admin-line);
  color: inherit;
  font-size: 0.79rem;
  font-weight: 750;
  text-decoration: none;
}

.admin-side-card > a:last-of-type {
  border-bottom: 0;
}

.admin-side-card--blue {
  border-color: transparent;
  background: var(--admin-blue);
  color: white;
}

.admin-side-card--blue .admin-kicker,
.admin-side-card--blue p {
  color: rgba(255, 255, 255, 0.68);
}

.admin-side-card--blue > a {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.admin-side-card--yellow {
  border-color: transparent;
  background: var(--admin-yellow);
  color: var(--admin-navy);
}

.admin-side-card--yellow .admin-kicker,
.admin-side-card--yellow p {
  color: rgba(16, 25, 79, 0.7);
}

.admin-sticky-actions {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(16, 25, 79, 0.1);
  backdrop-filter: blur(15px);
}

.admin-text-link {
  color: var(--admin-muted);
  font-size: 0.75rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.admin-switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.25rem 0;
  cursor: pointer;
}

.admin-switch input {
  position: absolute;
  opacity: 0;
}

.admin-switch span {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #c8cde0;
  transition: 0.2s ease;
}

.admin-switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(16, 25, 79, 0.2);
  content: "";
  transition: 0.2s ease;
}

.admin-switch input:checked + span {
  background: #19a878;
}

.admin-switch input:checked + span::after {
  transform: translateX(18px);
}

.admin-switch strong {
  font-size: 0.78rem;
}

.admin-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
}

.admin-period-form,
.admin-calendar-stats {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.admin-period-form > span {
  padding-bottom: 0.75rem;
  color: var(--admin-muted);
}

.admin-calendar-stats > div {
  min-width: 90px;
  padding-left: 0.9rem;
  border-left: 3px solid #38b887;
}

.admin-calendar-stats > div.is-booked {
  border-color: var(--admin-blue);
}

.admin-calendar-stats > div.is-blocked {
  border-color: var(--admin-pink);
}

.admin-calendar-stats strong,
.admin-calendar-stats span {
  display: block;
}

.admin-calendar-stats strong {
  font-size: 1.2rem;
}

.admin-calendar-stats span {
  color: var(--admin-muted);
  font-size: 0.65rem;
}

.admin-calendar-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.admin-panel__heading--calendar {
  align-items: flex-end;
}

.admin-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--admin-muted);
  font-size: 0.68rem;
}

.admin-calendar-legend span::before {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #38b887;
  content: "";
}

.admin-calendar-legend .is-booked::before {
  background: var(--admin-blue);
}

.admin-calendar-legend .is-blocked::before {
  background: var(--admin-pink);
}

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

.admin-calendar-weekdays {
  margin-bottom: 0.55rem;
  color: var(--admin-muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.admin-calendar-day {
  position: relative;
  display: flex;
  min-height: 145px;
  flex-direction: column;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid #dde2f0;
  border-radius: 11px;
  background: #fbfcff;
}

.admin-calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.admin-calendar-day.is-booked {
  border-color: rgba(23, 55, 209, 0.34);
  background: #eef1ff;
}

.admin-calendar-day.is-blocked {
  border-color: rgba(229, 43, 120, 0.25);
  background: #fff0f6;
}

.admin-calendar-day.is-today {
  outline: 3px solid rgba(255, 218, 88, 0.8);
}

.admin-calendar-day header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.admin-calendar-day header span {
  color: var(--admin-muted);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.admin-calendar-day header strong {
  font-size: 1.2rem;
}

.admin-calendar-day__status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  color: var(--admin-muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.admin-calendar-day__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38b887;
}

.admin-calendar-day.is-booked .admin-calendar-day__status i {
  background: var(--admin-blue);
}

.admin-calendar-day.is-blocked .admin-calendar-day__status i {
  background: var(--admin-pink);
}

.admin-calendar-day footer {
  display: grid;
  gap: 0.15rem;
  margin-top: auto;
}

.admin-calendar-day footer strong {
  font-size: 0.76rem;
}

.admin-calendar-day footer span {
  color: var(--admin-muted);
  font-size: 0.61rem;
}

.admin-calendar-day__booking {
  position: absolute;
  inset: auto 0.45rem 0.45rem auto;
  color: var(--admin-blue);
  font-size: 0.55rem;
  font-weight: 800;
}

.admin-bulk-panel {
  position: sticky;
  top: 96px;
  padding: 1.4rem;
}

.admin-bulk-panel h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.admin-bulk-panel > p:not(.admin-kicker) {
  color: var(--admin-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.admin-bulk-form,
.admin-status-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.admin-booking-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  min-height: 340px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.admin-booking-hero__media {
  min-height: 340px;
  background: #e4e8f5;
}

.admin-booking-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-booking-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.admin-booking-hero__content h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.admin-booking-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: var(--admin-line);
}

.admin-booking-metrics > div {
  padding: 0.9rem;
  background: #fafbff;
}

.admin-booking-metrics small,
.admin-booking-metrics strong,
.admin-booking-metrics span,
.admin-contact-grid small,
.admin-contact-grid strong,
.admin-property-sheet__facts small,
.admin-property-sheet__facts strong,
.admin-property-sheet__facts span {
  display: block;
}

.admin-booking-metrics small,
.admin-contact-grid small,
.admin-property-sheet__facts small,
.admin-property-sheet__notes small,
.admin-note small {
  margin-bottom: 0.35rem;
  color: var(--admin-muted);
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-booking-metrics strong {
  font-size: 0.82rem;
}

.admin-booking-metrics span,
.admin-property-sheet__facts span {
  margin-top: 0.25rem;
  color: var(--admin-muted);
  font-size: 0.65rem;
}

.admin-booking-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.admin-contact-grid,
.admin-property-sheet__facts,
.admin-property-sheet__notes {
  display: grid;
  gap: 0.75rem;
}

.admin-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-contact-grid > div,
.admin-property-sheet__facts > div,
.admin-property-sheet__notes article,
.admin-note {
  padding: 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  background: #fafbff;
}

.admin-contact-grid strong,
.admin-property-sheet__facts strong {
  overflow-wrap: anywhere;
  font-size: 0.83rem;
}

.admin-note {
  margin-top: 0.75rem;
}

.admin-note p,
.admin-property-sheet__notes p {
  margin: 0;
  color: #4e5677;
  font-size: 0.78rem;
  line-height: 1.55;
}

.admin-property-sheet__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-property-sheet__notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.admin-count {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-left: 0.35rem;
  border-radius: 9px;
  background: #edf0fb;
  color: var(--admin-blue);
  font-size: 0.72rem;
  vertical-align: middle;
}

.admin-traveler-list {
  display: grid;
  gap: 0.65rem;
}

.admin-traveler-list article {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
}

.admin-traveler-list article > div:nth-child(2) {
  flex: 1;
}

.admin-traveler-list strong,
.admin-traveler-list span {
  display: block;
}

.admin-traveler-list span:not(.admin-avatar) {
  margin-top: 0.2rem;
  color: var(--admin-muted);
  font-size: 0.69rem;
}

.admin-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px 12px 3px 12px;
  background: #edf0ff;
  color: var(--admin-blue);
  font-size: 0.65rem;
  font-weight: 850;
}

.admin-stay-tools .admin-primary-action {
  width: 100%;
  background: var(--admin-navy);
}

.admin-private-link {
  min-width: 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(16, 25, 79, 0.18);
}

.admin-private-link small {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.admin-private-link code {
  display: block;
  overflow: hidden;
  color: white;
  font-size: 0.65rem;
  text-overflow: ellipsis;
}

.admin-body table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-body th {
  color: var(--admin-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-body th,
.admin-body td {
  border-bottom-color: var(--admin-line);
}

.admin-body .badge {
  border-radius: 8px;
  font-size: 0.7rem;
}

.guest-property-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-property-notes .guide-panel > p > p {
  margin: 0;
}

@media (max-width: 1120px) {
  .admin-topbar__inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .admin-nav {
    order: 3;
    width: 100%;
    min-height: 42px;
  }

  .admin-property-layout,
  .admin-booking-layout,
  .admin-calendar-layout {
    grid-template-columns: 1fr;
  }

  .admin-property-sidebar,
  .admin-booking-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sticky-actions,
  .admin-bulk-panel {
    position: static;
  }

  .admin-photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-calendar-day {
    min-height: 125px;
  }
}

@media (max-width: 760px) {
  .admin-shell {
    width: min(100% - 1.25rem, 1440px);
  }

  .admin-brand small,
  .admin-public-link {
    display: none;
  }

  .admin-nav {
    overflow-x: auto;
  }

  .admin-nav a {
    flex: 0 0 auto;
    padding-inline: 0.7rem;
    font-size: 0.72rem;
  }

  .admin-page-shell {
    padding-top: 1.1rem;
  }

  .admin-page-header,
  .admin-calendar-toolbar,
  .admin-panel__heading,
  .admin-upload-field {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-page-header h1 {
    font-size: 2.55rem;
  }

  .admin-form-grid,
  .admin-form-grid--compact,
  .admin-contact-grid,
  .admin-property-sheet__facts,
  .admin-property-sheet__notes,
  .admin-booking-metrics,
  .guest-property-notes,
  .admin-property-sidebar,
  .admin-booking-sidebar {
    grid-template-columns: 1fr;
  }

  .admin-photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;
  }

  .admin-photo-gallery__item.is-primary {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .admin-calendar-toolbar,
  .admin-period-form,
  .admin-calendar-stats {
    flex-wrap: wrap;
  }

  .admin-calendar-weekdays,
  .admin-calendar-grid {
    min-width: 700px;
  }

  .admin-calendar-panel {
    overflow-x: auto;
  }

  .admin-booking-hero {
    grid-template-columns: 1fr;
  }

  .admin-booking-hero__media {
    min-height: 260px;
  }

  .admin-traveler-list article {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
