:root {
  --color-ink: #f5efe2;
  --color-muted: #b9ad98;
  --color-navy: #d6b56a;
  --color-navy-deep: #050505;
  --color-blue: #d6b56a;
  --color-teal: #a98236;
  --color-gold: #d6b56a;
  --color-gold-soft: #f1d994;
  --color-cream: #121212;
  --color-surface: #080808;
  --color-line: #2a251b;
  --shadow-soft: 0 22px 54px rgba(0, 0, 0, 0.38);
  --shadow-tight: 0 12px 28px rgba(0, 0, 0, 0.26);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: "Red Hat Display", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 4px;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 14px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.topbar {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.topbar__inner,
.topbar__right,
.topbar__item {
  display: flex;
  align-items: center;
}

.topbar__inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
}

.topbar__right {
  gap: 18px;
}

.topbar__item {
  gap: 8px;
  min-width: 0;
}

.topbar__item svg {
  width: 15px;
  height: 15px;
  color: var(--color-gold);
  flex: 0 0 auto;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 56, 85, 0.10);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  width: 188px;
  display: block;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  border-radius: 4px;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 12px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(19, 150, 226, 0.10);
  color: var(--color-navy);
  outline: 0;
}

.header-cta,
.nav-toggle,
.btn,
.search-panel__submit,
.property-card__bottom a,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.header-cta {
  min-height: 44px;
  border-radius: 6px;
  background: var(--color-navy);
  color: #fff;
  font-weight: 800;
  padding: 0 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--color-teal);
  transform: translateY(-1px);
}

.header-cta svg,
.btn svg,
.search-panel__submit svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-navy);
}

.hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background-image: url("../img/hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 31, 47, 0.88) 0%, rgba(4, 31, 47, 0.62) 44%, rgba(4, 31, 47, 0.20) 100%),
    linear-gradient(180deg, rgba(4, 31, 47, 0.15) 0%, rgba(4, 31, 47, 0.50) 100%);
}

.hero__content {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 44px;
  padding: 70px 0 52px;
}

.hero__copy {
  width: min(620px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about__content h2,
.contact__content h2 {
  font-family: "EB Garamond", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: 72px;
  font-weight: 700;
}

.hero__copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-teal);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--soft {
  background: rgba(19, 150, 226, 0.10);
  color: var(--color-navy);
}

.btn--soft:hover {
  background: rgba(19, 150, 226, 0.18);
}

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

.btn--outline-dark:hover {
  background: var(--color-navy);
  color: #fff;
}

.search-panel {
  width: min(980px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.search-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.search-panel__head > a {
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 800;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-cream);
  padding: 4px;
}

.segmented__item {
  min-width: 104px;
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--color-muted);
  font-weight: 800;
}

.segmented__item.is-active {
  background: var(--color-navy);
  color: #fff;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 0.9fr;
  gap: 10px;
}

label span {
  display: block;
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-ink);
  outline: 0;
  padding: 0 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(19, 150, 226, 0.14);
}

.search-panel__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--color-navy);
  color: #fff;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-panel__submit:hover {
  background: var(--color-teal);
  transform: translateY(-1px);
}

.proof-band {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.proof-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.proof-band__grid div {
  min-height: 116px;
  display: grid;
  align-content: center;
  border-left: 1px solid var(--color-line);
  padding: 20px 28px;
}

.proof-band__grid div:last-child {
  border-right: 1px solid var(--color-line);
}

.proof-band strong {
  color: var(--color-navy);
  font-size: 24px;
  line-height: 1.15;
}

.proof-band span {
  color: var(--color-muted);
  font-weight: 600;
}

.section {
  padding: 88px 0;
}

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

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading--left {
  margin: 0;
  text-align: left;
}

.section-heading--compact {
  margin-bottom: 24px;
}

.section-heading h2,
.about__content h2,
.contact__content h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 46px;
  font-weight: 700;
}

.section-heading p:not(.eyebrow),
.about__content p,
.contact__content p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 18px;
}

.listing-toolbar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.listing-toolbar__button {
  min-height: 40px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-muted);
  font-weight: 800;
  padding: 0 14px;
}

.listing-toolbar__button.is-active,
.listing-toolbar__button:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
}

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

.property-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-tight);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.property-card.is-hidden {
  display: none;
}

.property-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #e8eeec;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.04);
}

.property-card__image span {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 4px;
  background: rgba(7, 56, 85, 0.90);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
}

.property-card__body {
  padding: 18px;
}

.property-card__place {
  margin: 0 0 6px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 900;
}

.property-card h3 {
  min-height: 54px;
  margin: 0;
  color: var(--color-ink);
  font-size: 20px;
  line-height: 1.25;
}

.property-card__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.property-card__features div {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 8px;
}

.property-card__features dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.property-card__features dd {
  margin: 2px 0 0;
  color: var(--color-navy);
  font-weight: 900;
}

.property-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.property-card__bottom strong {
  color: var(--color-navy);
  font-size: 22px;
}

.property-card__bottom a {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--color-gold);
  color: var(--color-navy-deep);
}

.property-card__bottom a:hover {
  background: var(--color-gold-soft);
}

.property-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 14px;
}

.property-card__actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 900;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.property-card__actions a:hover {
  border-color: var(--color-navy);
  background: rgba(7, 56, 85, 0.06);
}

.action-strip {
  background: var(--color-navy);
  color: #fff;
}

.action-strip .section-heading h2 {
  color: #fff;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-action {
  min-height: 150px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-action:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.quick-action img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.quick-action span,
.quick-action strong {
  grid-column: 2;
}

.quick-action span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.quick-action strong {
  margin-top: -24px;
  color: #fff;
  font-size: 22px;
}

.services {
  background: #fff;
}

.services__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-item {
  display: flex;
  gap: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 20px;
}

.service-item > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--color-gold);
}

.service-item h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 20px;
}

.service-item p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 54px;
  align-items: center;
}

.about__image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about__image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--color-navy);
  font-weight: 900;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.text-link:hover {
  color: var(--color-blue);
}

.contact {
  background: var(--color-surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 54px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-weight: 800;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.contact-list a:hover {
  color: var(--color-navy);
}

.callback-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-cream);
  box-shadow: var(--shadow-tight);
  padding: 24px;
}

.callback-form h3 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 24px;
}

.callback-form label {
  display: block;
  margin-bottom: 14px;
}

.callback-form .btn {
  width: 100%;
  border: 0;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding: 56px 0;
}

.footer-logo {
  display: block;
  width: 220px;
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer a {
  display: block;
  margin: 0 0 9px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom .container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer__bottom a {
  color: var(--color-gold-soft);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.flash-stack {
  position: fixed;
  top: 124px;
  right: 20px;
  z-index: 1200;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100% - 40px));
}

.flash-stack--admin {
  position: static;
  width: 100%;
  margin: 0 0 18px;
}

.flash {
  border-radius: 6px;
  box-shadow: var(--shadow-tight);
  color: #fff;
  font-weight: 800;
  padding: 14px 16px;
}

.flash--success {
  background: #1b7a55;
}

.flash--error,
.flash--danger {
  background: #b42318;
}

.flash--warning {
  background: #9a6700;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef2f3;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  white-space: nowrap;
}

.badge--success {
  background: #e7f7ef;
  color: #176b48;
}

.badge--warning {
  background: #fff5d8;
  color: #815100;
}

.badge--danger {
  background: #fde7e7;
  color: #a11f1f;
}

.form-hero {
  background:
    linear-gradient(90deg, rgba(4, 31, 47, 0.92), rgba(7, 56, 85, 0.82)),
    url("../img/hero.jpg") center/cover;
  color: #fff;
  padding: 78px 0;
}

.form-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 56px;
  line-height: 1.03;
}

.form-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.form-shell {
  max-width: 980px;
}

.form-shell--narrow {
  max-width: 520px;
}

.system-form,
.content-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-tight);
  padding: 26px;
}

.system-form h2,
.content-panel h2 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 24px;
}

.system-form h2:not(:first-child) {
  margin-top: 30px;
}

.system-form h3,
.content-panel h3 {
  color: var(--color-navy);
}

.system-form textarea,
.row-actions textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 12px;
  resize: vertical;
}

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

.form-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.form-help {
  margin: -4px 0 16px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.check-card,
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
}

.check-card input,
.consent-box input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.check-card span,
.consent-box span {
  margin: 0;
  color: var(--color-ink);
}

.consent-box {
  margin: 20px 0;
}

.slot-board {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.slot-day {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-cream);
  padding: 16px;
}

.slot-day legend {
  color: var(--color-navy);
  font-weight: 900;
  padding: 0 8px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}

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

.slot-option span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  color: var(--color-navy);
  font-weight: 900;
  text-align: center;
}

.slot-option small {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
}

.slot-option input:checked + span {
  border-color: var(--color-blue);
  background: var(--color-navy);
  color: #fff;
}

.slot-option input:checked + span small {
  color: rgba(255, 255, 255, 0.72);
}

.property-hero {
  padding: 52px 0;
  background: var(--color-cream);
}

.property-hero__grid,
.property-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.property-hero__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.property-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-hero__content h1 {
  margin: 0;
  color: var(--color-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 52px;
  line-height: 1.04;
}

.property-hero__content p {
  color: var(--color-muted);
  font-size: 18px;
}

.property-hero__price {
  display: block;
  margin: 18px 0;
  color: var(--color-navy);
  font-size: 34px;
}

.property-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.property-summary div {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.property-summary dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.property-summary dd {
  margin: 2px 0 0;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 900;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  border-radius: 999px;
  background: rgba(19, 150, 226, 0.10);
  color: var(--color-navy);
  font-weight: 800;
  padding: 8px 12px;
}

.property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.property-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #f5f7f7;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 24px 16px;
}

.admin-brand {
  display: block;
  width: 190px;
  margin: 0 auto 24px;
}

.admin-menu {
  display: grid;
  gap: 6px;
}

.admin-menu a,
.admin-sidebar__foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  padding: 11px 12px;
  font-weight: 800;
}

.admin-menu a svg {
  width: 18px;
  height: 18px;
}

.admin-menu a:hover,
.admin-menu a.is-active,
.admin-sidebar__foot a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.admin-sidebar__foot {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
}

.admin-shell {
  min-width: 0;
}

.admin-top {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--color-line);
  background: #fff;
  padding: 22px 32px;
}

.admin-top h1 {
  margin: 0;
  color: var(--color-navy);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 38px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.admin-main {
  display: grid;
  gap: 22px;
  padding: 28px 32px 44px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-card,
.admin-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.metric-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.metric-card span {
  color: var(--color-muted);
  font-weight: 800;
}

.metric-card strong {
  color: var(--color-navy);
  font-size: 34px;
  line-height: 1;
}

.admin-card {
  padding: 22px;
}

.admin-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 22px;
}

.admin-link {
  color: var(--color-blue);
  font-weight: 900;
}

.admin-filter {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  margin-bottom: 16px;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--color-line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--color-muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.admin-table td small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.action-links a,
.action-links button,
.row-actions summary,
.row-actions button {
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-weight: 900;
  padding: 0;
}

.row-actions {
  position: relative;
}

.row-actions summary {
  cursor: pointer;
}

.row-actions form {
  min-width: 250px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
  padding: 12px;
}

.row-actions a {
  display: block;
  margin-top: 8px;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 900;
}

.system-form--admin {
  box-shadow: none;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.check-list label {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 10px 12px;
}

.availability-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.availability-row {
  display: grid;
  grid-template-columns: 1fr 150px 150px;
  gap: 10px;
  align-items: center;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.template-grid div {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-cream);
  color: var(--color-navy);
  font-weight: 900;
  padding: 14px;
}

@media (max-width: 1080px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .brand {
    width: 172px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 124px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 10px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .header-cta {
    display: none;
  }

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

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

  .services__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

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

  .hero__content {
    padding: 48px 0 36px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero__copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .search-panel {
    padding: 14px;
  }

  .search-panel__head {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
  }

  .search-grid,
  .proof-band__grid,
  .property-grid,
  .quick-actions,
  .service-list,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .proof-band__grid div,
  .proof-band__grid div:last-child {
    border-right: 1px solid var(--color-line);
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .about__content h2,
  .contact__content h2 {
    font-size: 36px;
  }

  .listing-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .listing-toolbar__button {
    white-space: nowrap;
  }

  .quick-action strong {
    margin-top: -18px;
  }

  .site-footer__bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 154px;
  }

  .site-header__inner {
    min-height: 78px;
  }

  .main-nav {
    inset: 116px 14px auto 14px;
  }

  .hero,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
    padding: 42px 0 34px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .property-card h3 {
    min-height: auto;
  }

  .property-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-action {
    grid-template-columns: 56px 1fr;
    min-height: 128px;
  }

  .quick-action img {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 1080px) {
  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-brand {
    width: 150px;
    margin: 0 0 16px;
  }

  .admin-menu {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

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

  .property-hero__grid,
  .property-detail-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .flash-stack {
    top: 100px;
    right: 14px;
    width: calc(100% - 28px);
  }

  .form-hero {
    padding: 54px 0;
  }

  .form-hero h1,
  .property-hero__content h1 {
    font-size: 38px;
  }

  .form-grid,
  .form-grid--compact,
  .property-summary,
  .property-gallery,
  .metric-grid,
  .admin-filter,
  .availability-row {
    grid-template-columns: 1fr;
  }

  .system-form,
  .content-panel,
  .admin-card {
    padding: 18px;
  }

  .property-actions .btn {
    width: 100%;
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .admin-main {
    padding: 20px 14px 34px;
  }

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

/* Black and gold theme refinements */
body {
  background:
    linear-gradient(180deg, #040404 0%, #0b0b0b 42%, #15120c 100%);
}

.topbar {
  border-bottom: 1px solid rgba(214, 181, 106, 0.16);
  background: #030303;
}

.site-header {
  background: rgba(7, 7, 7, 0.88);
  border-bottom-color: rgba(214, 181, 106, 0.18);
}

.main-nav a {
  color: #e9dfca;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(214, 181, 106, 0.12);
  color: var(--color-gold-soft);
}

.header-cta,
.btn--primary,
.search-panel__submit {
  background: linear-gradient(180deg, #e4c77c 0%, #bd9341 100%);
  color: #080808;
  box-shadow: 0 12px 24px rgba(214, 181, 106, 0.18);
}

.header-cta:hover,
.btn--primary:hover,
.search-panel__submit:hover {
  background: linear-gradient(180deg, #f1d994 0%, #d0a85a 100%);
  color: #050505;
}

.nav-toggle {
  background: #111;
  border-color: rgba(214, 181, 106, 0.28);
  color: var(--color-gold);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(8, 8, 8, 0.78) 46%, rgba(18, 16, 12, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.search-panel,
.system-form,
.content-panel,
.callback-form {
  background: rgba(15, 15, 15, 0.96);
  border-color: rgba(214, 181, 106, 0.18);
}

input,
select,
textarea,
.system-form textarea,
.row-actions textarea {
  background: #0b0b0b;
  border-color: rgba(214, 181, 106, 0.22);
  color: var(--color-ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(214, 181, 106, 0.16);
}

.segmented,
.slot-day,
.check-card,
.consent-box,
.property-summary div,
.property-card__features div,
.template-grid div {
  background: #101010;
  border-color: rgba(214, 181, 106, 0.18);
}

.segmented__item.is-active,
.listing-toolbar__button.is-active,
.listing-toolbar__button:hover,
.slot-option input:checked + span {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #080808;
}

.listing-toolbar__button,
.slot-option span {
  background: #0f0f0f;
  border-color: rgba(214, 181, 106, 0.20);
  color: var(--color-muted);
}

.section--light,
.property-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
}

.services,
.contact,
.proof-band {
  background: linear-gradient(180deg, #080808 0%, #111 100%);
}

.proof-band__grid div,
.proof-band__grid div:last-child {
  border-color: rgba(214, 181, 106, 0.16);
}

.property-card,
.service-item,
.admin-card,
.metric-card {
  background: #101010;
  border-color: rgba(214, 181, 106, 0.18);
}

.property-card:hover,
.service-item:hover,
.quick-action:hover {
  border-color: rgba(214, 181, 106, 0.42);
}

.property-card__image,
.property-card__image span {
  background: rgba(214, 181, 106, 0.92);
  color: #080808;
}

.property-card__actions a:hover {
  background: rgba(214, 181, 106, 0.10);
  border-color: rgba(214, 181, 106, 0.44);
}

.btn--soft,
.feature-tags li {
  background: rgba(214, 181, 106, 0.12);
  color: var(--color-gold-soft);
}

.btn--soft:hover {
  background: rgba(214, 181, 106, 0.20);
}

.btn--outline-dark {
  border-color: var(--color-gold);
  color: var(--color-gold-soft);
}

.btn--outline-dark:hover {
  background: var(--color-gold);
  color: #080808;
}

.action-strip,
.form-hero,
.site-footer,
.admin-sidebar {
  background:
    linear-gradient(135deg, #030303 0%, #111 64%, #21190b 100%);
}

.quick-action {
  background: rgba(214, 181, 106, 0.08);
  border-color: rgba(214, 181, 106, 0.22);
}

.quick-action:hover {
  background: rgba(214, 181, 106, 0.14);
}

.site-footer__bottom {
  border-top-color: rgba(214, 181, 106, 0.18);
}

.flash {
  box-shadow: var(--shadow-tight);
}

.badge {
  background: #171717;
  color: var(--color-muted);
}

.badge--success {
  background: rgba(38, 128, 88, 0.20);
  color: #8fe0b8;
}

.badge--warning {
  background: rgba(214, 181, 106, 0.18);
  color: var(--color-gold-soft);
}

.badge--danger {
  background: rgba(180, 35, 24, 0.20);
  color: #ffb2aa;
}

.admin-body {
  background: #080808;
}

.admin-top {
  background: #0e0e0e;
  border-bottom-color: rgba(214, 181, 106, 0.18);
}

.admin-table th,
.admin-table td {
  border-bottom-color: rgba(214, 181, 106, 0.14);
}

.row-actions form {
  background: #111;
  border-color: rgba(214, 181, 106, 0.20);
}

@media (max-width: 1080px) {
  .main-nav {
    background: #0d0d0d;
    border-color: rgba(214, 181, 106, 0.24);
  }
}
