:root {
  --navy: #13233d;
  --navy-soft: #315c7d;
  --gold: #d4a657;
  --teal: #2cb67d;
  --sand: #eef5f7;
  --border: rgba(255, 255, 255, 0.45);
  --bg: linear-gradient(180deg, #f4fbfd, #eef3f8 55%, #f8f4ee);
  --text: #2d4057;
  --success: #166534;
  --error: #b91c1c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.admin-layout img, .property-grid img, .card-grid img { image-rendering: auto; }
.shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { background: rgba(255,255,255,0.62); border-bottom: 1px solid rgba(255, 255, 255, 0.42); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(22px); box-shadow: 0 18px 44px rgba(27, 52, 76, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--navy); }
.brand-mark { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: linear-gradient(145deg, var(--navy), #1e355d); color: white; display: grid; place-items: center; font-weight: 700; box-shadow: 0 12px 30px rgba(15, 35, 66, 0.18); }
.brand small { display: block; color: #64748b; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-nav a { padding: 0.6rem 0.9rem; border-radius: 999px; font-weight: 600; }
.site-nav a.active, .site-nav a:hover { background: var(--navy); color: white; box-shadow: 0 14px 28px rgba(15, 35, 66, 0.14); }
.theme-luxe {
  --navy: #0a2f5d;
  --navy-soft: #55769a;
  --gold: #d7b067;
  --sand: #ecf3f8;
  --bg: linear-gradient(180deg, #eef5fa, #f7fbff 45%, #f7fafc);
}
.theme-luxe .site-header {
  background: linear-gradient(180deg, rgba(7, 25, 52, 0.9), rgba(10, 35, 67, 0.72));
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 18px 44px rgba(4, 14, 28, 0.28);
  backdrop-filter: blur(18px);
}
.theme-luxe .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.theme-luxe .brand,
.theme-luxe .site-nav a { color: #f8fbff; }
.theme-luxe .brand small { color: rgba(255,255,255,0.78); }
.theme-luxe .site-nav a.active,
.theme-luxe .site-nav a:hover { background: rgba(255,255,255,0.16); color: white; }
.theme-luxe .brand-mark { background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08)); border: 1px solid rgba(255,255,255,0.18); }
.theme-luxe .header-inner {
  padding: 0.85rem 0;
}
.theme-luxe .brand {
  gap: 0.95rem;
}
.theme-luxe .site-nav {
  gap: 0.55rem;
}
.theme-luxe .site-nav a {
  padding: 0.68rem 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero { padding: 4rem 0 3rem; background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.16), transparent 28%), radial-gradient(circle at top right, rgba(212, 166, 87, 0.14), transparent 22%); }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 700; }
.hero h1, h1, h2, h3 { color: var(--navy); margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.05; margin-top: 1rem; }
.hero p { font-size: 1.05rem; line-height: 1.8; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.button, button, input[type=submit] {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px;
  background: linear-gradient(145deg, var(--navy), #17325b); color: white; padding: 0.9rem 1.4rem; font-weight: 700;
  box-shadow: 0 18px 35px rgba(15, 35, 66, 0.16);
}
.button.secondary { background: rgba(255,255,255,0.64); color: var(--navy); border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(14px); }
.button:hover, button:hover, input[type=submit]:hover { transform: translateY(-1px); }
.card-grid, .property-grid, .admin-grid { display: grid; gap: 1.5rem; }
.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .panel {
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 1.65rem;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(21, 43, 64, 0.09);
  backdrop-filter: blur(20px);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(15, 35, 66, 0.12); }
.card-body, .panel-body { padding: 1.4rem; }
.hero-card { border-radius: 2rem; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(240,247,251,0.62)); }
.hero-copy { max-width: 44rem; }
.hero-feature { display: grid; gap: 0; }
.section-header { max-width: 46rem; margin-bottom: 1.5rem; }
.section-header p:last-child { line-height: 1.8; color: #64748b; }
.image-frame { background: rgba(255,255,255,0.66); padding: 0.85rem; min-height: 188px; display: flex; align-items: center; justify-content: center; }
.image-frame img { width: 100%; height: 168px; object-fit: contain; }
.luxe-hero { position: relative; padding: 0 0 2.5rem; }
.luxe-carousel { position: relative; overflow: hidden; }
.luxe-slide {
  display: none;
  min-height: 86vh;
  background-size: cover;
  background-position: center;
  padding: 8.2rem 0 4.25rem;
}
.luxe-slide.is-active { display: block; }
.luxe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 2rem;
  align-items: center;
}
.luxe-copy {
  color: white;
  max-width: 42rem;
  padding: 2rem 0;
}
.luxe-copy .eyebrow {
  color: rgba(215, 176, 103, 0.96);
}
.luxe-copy h1 {
  color: white;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-top: 0.75rem;
  max-width: 14ch;
  text-shadow: 0 10px 40px rgba(4, 13, 27, 0.25);
}
.luxe-copy p {
  color: rgba(255,255,255,0.88);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 42rem;
}
.luxe-subtitle {
  color: var(--teal) !important;
  font-size: 1.3rem !important;
  font-weight: 700;
  margin: 1rem 0 1.1rem;
}
.luxe-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.luxe-bullets li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.94);
}
.luxe-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #78f0be, #2cb67d);
  box-shadow: 0 0 0 6px rgba(44, 182, 125, 0.14);
}
.luxe-form-panel {
  background: rgba(255,255,255,0.94);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 28px 70px rgba(3, 19, 41, 0.26);
}
.luxe-form-panel .panel-body {
  padding: 1.2rem;
}
.luxe-form-panel h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 0.98;
  max-width: 11ch;
}
.luxe-form-panel .editor-note {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}
.luxe-inquiry-form textarea {
  min-height: 72px;
}
.luxe-inquiry-form .forms-grid {
  gap: 0.55rem;
}
.luxe-inquiry-form .form-group {
  margin-bottom: 0.2rem;
}
.luxe-inquiry-form label {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}
.luxe-inquiry-form input[type=text],
.luxe-inquiry-form input[type=email],
.luxe-inquiry-form textarea {
  padding: 0.68rem 0.82rem;
  border-radius: 0.85rem;
}
.luxe-inquiry-form button[type=submit] {
  margin-top: 0.2rem;
  padding: 0.78rem 1rem;
}
.luxe-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.carousel-nav,
.carousel-dot { pointer-events: auto; }
.carousel-nav {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  box-shadow: none;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
}
.carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  box-shadow: none;
}
.carousel-dot.is-active { background: white; transform: scale(1.08); }
.luxe-search-section {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}
.luxe-search-panel {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px rgba(9, 28, 54, 0.12);
  border-radius: 2rem;
}
.theme-luxe .section-soft {
  padding-top: 2.6rem;
}
.theme-luxe .section-soft .card,
.theme-luxe .section-sand .card {
  background: rgba(255,255,255,0.68);
}
.theme-luxe .section-header {
  max-width: 52rem;
}
.theme-luxe .section-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.theme-luxe .section-soft,
.theme-luxe .section-sand {
  position: relative;
}
.theme-luxe .section-soft::before,
.theme-luxe .section-sand::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.5), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(13, 61, 113, 0.06), transparent 26%);
}
.luxe-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.luxe-service-card {
  min-height: 100%;
}
.luxe-service-card .card-body {
  display: grid;
  gap: 0.8rem;
}
.service-index {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(10, 47, 93, 0.08);
  color: var(--navy-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.luxe-featured-section .section-header {
  margin-bottom: 1.8rem;
}
.luxe-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}
.luxe-editorial-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
}
.luxe-editorial-image {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  padding: 0.9rem;
  border-bottom: 1px solid rgba(228, 235, 244, 0.85);
}
.luxe-editorial-lead .card-body {
  display: grid;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
}
.luxe-editorial-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
}
.luxe-editorial-stack {
  display: grid;
  gap: 1.2rem;
}
.luxe-editorial-card .image-frame {
  min-height: 150px;
}
.luxe-editorial-card .image-frame img {
  height: 138px;
  object-fit: cover;
}
.section { padding: 2.4rem 0 3.3rem; }
.section-soft { padding: 2.8rem 0 3.5rem; }
.page-shell {
  position: relative;
}
.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,0.42), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(10, 47, 93, 0.05), transparent 22%);
}
.page-intro {
  max-width: 56rem;
  margin-bottom: 1.8rem;
}
.page-intro h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}
.catalog-category-grid {
  margin-bottom: 1.35rem;
}
.catalog-category-card .card-body,
.catalog-property-card .card-body,
.property-summary-panel .panel-body,
.contact-info-panel .panel-body,
.contact-form-panel .panel-body,
.auth-panel .panel-body {
  padding: 1.55rem;
}
.catalog-category-card,
.catalog-property-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(246,250,253,0.88));
}
.catalog-category-card h3,
.catalog-property-card h3 {
  font-size: 1.7rem;
}
.catalog-property-grid .image-frame {
  min-height: 205px;
}
.catalog-property-grid .image-frame img {
  height: 190px;
}
.property-summary-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(245,249,252,0.92));
}
.property-summary-panel h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}
.contact-panels {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
}
.contact-info-panel,
.contact-form-panel,
.auth-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(245,249,252,0.9));
}
.contact-info-panel h1,
.contact-form-panel h2,
.auth-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.auth-section {
  padding-top: 3rem;
}
.auth-shell {
  max-width: 560px;
}
.section-sand .shell > .panel { background: linear-gradient(180deg, #f9f3ea, #fff); }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; }
.stat { background: rgba(255,255,255,0.86); border: 1px solid var(--border); border-radius: 1.25rem; padding: 1rem; backdrop-filter: blur(10px); }
.stat strong { display: block; font-size: 1.8rem; color: var(--navy); }
.filter-bar, .admin-tabs { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.filter-panel {
  margin: 1.75rem 0 1.5rem;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.62);
  border-radius: 1.7rem;
  padding: 1.25rem;
  box-shadow: 0 22px 48px rgba(15, 35, 66, 0.08);
  backdrop-filter: blur(20px);
}
.filter-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.chip { padding: 0.7rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.62); background: rgba(255,255,255,0.5); font-weight: 600; backdrop-filter: blur(12px); }
.active-chip { background: var(--navy); color: white; border-color: var(--navy); box-shadow: 0 15px 30px rgba(15, 35, 66, 0.18); }
.gallery-main { background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.56); border-radius: 1.5rem; padding: 1rem; backdrop-filter: blur(14px); }
.gallery-main img { width: 100%; height: 460px; object-fit: contain; }
.gallery-controls { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 0.85rem; }
.thumbnail-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.75rem; margin-top: 0.9rem; }
.thumbnail { border: 1px solid rgba(255,255,255,0.56); border-radius: 1rem; overflow: hidden; background: rgba(255,255,255,0.7); padding: 0.45rem; box-shadow: none; }
.thumbnail img { width: 100%; height: 100px; object-fit: contain; }
.detail-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 0.9fr; }
.meta-list { display: grid; gap: 0.75rem; }
.meta-item, .badge { display: inline-flex; align-items: center; gap: 0.5rem; }
.badge { background: var(--sand); color: var(--navy); padding: 0.45rem 0.75rem; border-radius: 999px; font-weight: 700; }
.price-chip { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.contact-info-stack { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.contact-info-stack p { margin: 0; }
.contact-cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; }
.flash { margin: 1rem 0; padding: 0.95rem 1rem; border-radius: 1rem; font-weight: 600; }
.flash-success { background: #ecfdf5; color: var(--success); border: 1px solid #bbf7d0; }
.flash-error { background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.forms-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-grid { align-items: start; }
label { display: block; font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
input[type=text], input[type=email], input[type=password], textarea, select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,0.58); border-radius: 1rem; background: rgba(255,255,255,0.72); backdrop-filter: blur(10px);
}
input[type=file] { width: 100%; padding: 0.75rem 0; }
textarea { min-height: 120px; resize: vertical; }
.form-group { margin-bottom: 1rem; }
.admin-layout { padding: 2rem 0 3rem; }
.admin-grid { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); align-items: start; }
.admin-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; }
.admin-header h1 { margin-top: 0.55rem; margin-bottom: 0.6rem; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.admin-kpi { background: linear-gradient(145deg, rgba(255,255,255,0.74), rgba(242,248,251,0.54)); border: 1px solid rgba(255,255,255,0.55); border-radius: 1.35rem; padding: 1rem; }
.admin-kpi strong { font-size: 2rem; color: var(--navy); display: block; }
.editor-section { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.editor-note { color: #64748b; font-size: 0.92rem; margin-top: 0; line-height: 1.65; }
.panel-body > .eyebrow + h2,
.panel-body > .eyebrow + h1 { margin-top: 0.55rem; }
.panel-body > h2 + .editor-note,
.panel-body > h1 + .editor-note { margin-top: 0.45rem; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.75rem; }
.preview-card { border: 1px solid rgba(255,255,255,0.58); border-radius: 1rem; padding: 0.6rem; background: rgba(255,255,255,0.54); }
.preview-card img { width: 100%; height: 110px; object-fit: contain; background: white; border-radius: 0.75rem; }
.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.selection-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(209, 221, 234, 0.85);
  background: rgba(255,255,255,0.78);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.selection-card:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 47, 93, 0.25);
  box-shadow: 0 14px 30px rgba(15, 35, 66, 0.08);
}
.selection-card.is-selected,
.selection-card:has(input:checked) {
  border-color: rgba(10, 47, 93, 0.32);
  background: linear-gradient(180deg, rgba(233, 243, 252, 0.92), rgba(255,255,255,0.9));
  box-shadow: 0 16px 34px rgba(15, 35, 66, 0.1);
}
.selection-card input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
}
.selection-card-copy {
  display: grid;
  gap: 0.22rem;
}
.selection-card-copy strong {
  color: var(--navy);
  line-height: 1.3;
}
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.78rem; font-weight: 700; }
.status-published { background: #ecfdf5; color: #166534; }
.status-draft { background: #fff7ed; color: #c2410c; }
.table-wrap { overflow-x: auto; border-radius: 1rem; }
.list-table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td { padding: 0.85rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.muted { color: #64748b; }
.stack { display: grid; gap: 1rem; }
.site-footer { border-top: 1px solid rgba(255,255,255,0.48); background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(244,249,252,0.78)); padding: 2.3rem 0; margin-top: 3.5rem; backdrop-filter: blur(18px); }
.footer-grid { display: grid; gap: 1rem; grid-template-columns: 1.2fr 1fr 1fr; }
.footer-link { color: var(--navy-soft); font-weight: 600; }
.footer-link:hover { color: var(--navy); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.small-button { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.danger { background: #b91c1c; }
.empty-state { text-align: center; padding: 2rem; color: #64748b; }
.results-note { align-self: center; color: #64748b; font-weight: 600; }
@media (max-width: 960px) {
  .hero-grid, .detail-grid, .admin-grid, .footer-grid, .card-grid, .property-grid, .forms-grid, .stats, .admin-kpis, .preview-grid, .filter-grid { grid-template-columns: 1fr; }
  .site-nav { justify-content: flex-start; }
  .thumbnail-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-header { align-items: start; flex-direction: column; }
  .panel-body { padding: 1.15rem; }
  .selection-grid { grid-template-columns: 1fr; }
  .contact-panels { grid-template-columns: 1fr; }
  .luxe-services-grid,
  .luxe-editorial-grid,
  .luxe-editorial-lead { grid-template-columns: 1fr; }
  .luxe-editorial-image img { aspect-ratio: 16 / 10; max-height: 320px; }
  .image-frame { min-height: auto; padding: 0.7rem; }
  .image-frame img { height: 220px; object-fit: contain; object-position: center; }
  .gallery-main img { height: 340px; object-fit: contain; object-position: center; }
  .thumbnail img { height: 88px; object-fit: contain; object-position: center; }
  .luxe-slide { min-height: auto; padding: 7.2rem 0 6rem; background-position: center center; background-size: cover; }
  .luxe-hero-grid { grid-template-columns: 1fr; }
  .luxe-copy h1 { max-width: 11ch; }
  .luxe-copy { padding: 1rem 0 0; }
  .luxe-form-panel { max-width: 100%; }
  .luxe-carousel-controls {
    position: static;
    transform: none;
    margin-top: -1.2rem;
    justify-content: center;
    width: min(1180px, calc(100% - 2rem));
  }
  .luxe-search-section { margin-top: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100%, calc(100% - 1rem)); }
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.85rem 0;
  }
  .site-nav {
    width: 100%;
    gap: 0.45rem;
  }
  .site-nav a {
    flex: 1 1 calc(50% - 0.45rem);
    text-align: center;
    padding: 0.72rem 0.8rem;
  }
  .brand {
    width: 100%;
  }
  .brand strong {
    font-size: 1.15rem;
  }
  .brand small {
    font-size: 0.95rem;
  }
  .button-row,
  .inline-actions,
  .gallery-controls,
  .contact-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .button,
  .button.secondary,
  button,
  input[type=submit] {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero h1,
  .theme-luxe .section-header h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .luxe-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    max-width: 100%;
  }
  .luxe-copy p {
    font-size: 0.98rem;
  }
  .luxe-subtitle {
    font-size: 1.05rem !important;
  }
  .luxe-slide {
    padding: 6.6rem 0 4.8rem;
  }
  .luxe-form-panel .panel-body {
    padding: 0.95rem;
  }
  .luxe-form-panel h2 {
    font-size: 1.45rem;
    line-height: 1;
  }
  .luxe-form-panel .editor-note {
    font-size: 0.88rem;
    line-height: 1.42;
    margin-bottom: 0.3rem;
  }
  .luxe-inquiry-form .forms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .luxe-inquiry-form .form-group {
    margin-bottom: 0.15rem;
  }
  .luxe-inquiry-form label {
    font-size: 0.78rem;
    margin-bottom: 0.22rem;
  }
  .luxe-inquiry-form input[type=text],
  .luxe-inquiry-form input[type=email],
  .luxe-inquiry-form textarea {
    padding: 0.62rem 0.72rem;
    border-radius: 0.82rem;
  }
  .luxe-inquiry-form textarea {
    min-height: 64px;
  }
  .luxe-inquiry-form button[type=submit] {
    margin-top: 0.1rem;
    padding: 0.72rem 0.9rem;
  }
  .luxe-carousel-controls {
    margin-top: -0.6rem;
    gap: 0.65rem;
  }
  .carousel-nav {
    min-width: 5rem;
    padding: 0.72rem 0.95rem;
  }
  .carousel-dots {
    padding: 0.55rem 0.7rem;
  }
  .luxe-search-panel,
  .card,
  .panel {
    border-radius: 1.35rem;
  }
  .luxe-editorial-image img {
    aspect-ratio: 4 / 3;
    max-height: 240px;
  }
  .luxe-editorial-card .image-frame img {
    height: 180px;
    object-fit: cover;
  }
  .section-header {
    margin-bottom: 1rem;
  }
  .page-intro {
    margin-bottom: 1.2rem;
  }
  .page-intro h1,
  .property-summary-panel h1,
  .contact-info-panel h1,
  .contact-form-panel h2,
  .auth-panel h1 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }
  .section {
    padding: 2rem 0 2.8rem;
  }
  .image-frame img {
    height: 190px;
  }
  .gallery-main img {
    height: 260px;
  }
  .thumbnail-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thumbnail img {
    height: 80px;
  }
  .filter-panel {
    padding: 1rem;
  }
  .catalog-category-card .card-body,
  .catalog-property-card .card-body,
  .property-summary-panel .panel-body,
  .contact-info-panel .panel-body,
  .contact-form-panel .panel-body,
  .auth-panel .panel-body {
    padding: 1.15rem;
  }
  .catalog-property-grid .image-frame img {
    height: 175px;
  }
}

/* ─── Global Banner ──────────────────────────────────────────────── */
.global-banner {
  padding: 0.65rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 21;
}
.global-banner-info { background: linear-gradient(90deg, #1e3a5f, #1e40af); color: #dbeafe; }
.global-banner-warning { background: linear-gradient(90deg, #78350f, #b45309); color: #fef3c7; }
.global-banner-danger { background: linear-gradient(90deg, #7f1d1d, #dc2626); color: #fee2e2; }
.global-banner-success { background: linear-gradient(90deg, #14532d, #16a34a); color: #dcfce7; }

/* ─── Superadmin Theme ───────────────────────────────────────────── */
.sa-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #08090d;
  color: #c9d1d9;
}
.sa-body * { box-sizing: border-box; }
.sa-body a { color: inherit; text-decoration: none; }
.sa-body img { max-width: 100%; display: block; }

/* Login */
.sa-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #08090d 0%, #0d1117 40%, #161b22 100%);
  position: relative;
  overflow: hidden;
}
.sa-login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.sa-login-card {
  width: min(420px, calc(100% - 2rem));
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.2rem;
  padding: 2.2rem 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.sa-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1.2rem 1.2rem 0 0;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
}
.sa-login-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.sa-login-card h1 {
  font-size: 1.5rem;
  color: #f0f6fc;
  margin: 0 0 0.4rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.sa-login-card .sa-muted {
  color: #8b949e;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}
.sa-login-card label {
  display: block;
  color: #c9d1d9;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.sa-login-card input[type=password] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.7rem;
  color: #f0f6fc;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.sa-login-card input[type=password]:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.sa-login-card button[type=submit] {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  border: none;
  border-radius: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.2);
}
.sa-login-card button[type=submit]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.3);
}

/* Dashboard Layout */
.sa-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}
.sa-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}
.sa-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.sa-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #f59e0b);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
}
.sa-brand strong {
  color: #f0f6fc;
  font-size: 1rem;
}
.sa-brand small {
  color: #8b949e;
  font-size: 0.78rem;
  display: block;
}
.sa-topbar-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #c9d1d9;
  cursor: pointer;
  box-shadow: none;
}
.sa-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  transform: none;
}
.sa-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.sa-btn-danger:hover {
  background: rgba(239, 68, 68, 0.18);
}
.sa-btn-primary {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}
.sa-btn-primary:hover {
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.3);
}
.sa-btn-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.22);
  color: #86efac;
}

/* Tabs */
.sa-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0;
  flex-wrap: wrap;
}
.sa-tab {
  padding: 0.7rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #8b949e;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.sa-tab:hover {
  color: #c9d1d9;
  transform: none;
}
.sa-tab.active {
  color: #f0f6fc;
  border-bottom-color: #ef4444;
}

/* Cards / Panels */
.sa-card {
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.9rem;
  padding: 1.3rem;
  margin-bottom: 1.2rem;
}
.sa-card h2, .sa-card h3 {
  color: #f0f6fc;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin: 0;
}
.sa-card h2 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.sa-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.sa-eyebrow {
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.sa-muted { color: #8b949e; font-size: 0.88rem; }
.sa-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 1rem 0;
}

/* KPI Grid */
.sa-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.sa-kpi {
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  padding: 1rem;
}
.sa-kpi-label {
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sa-kpi-value {
  color: #f0f6fc;
  font-size: 1.65rem;
  font-weight: 700;
  display: block;
  margin-top: 0.25rem;
}
.sa-kpi-accent { border-left: 3px solid #ef4444; }
.sa-kpi-warning { border-left: 3px solid #f59e0b; }
.sa-kpi-success { border-left: 3px solid #22c55e; }
.sa-kpi-info { border-left: 3px solid #3b82f6; }

/* Forms */
.sa-form-group {
  margin-bottom: 1rem;
}
.sa-form-group label {
  display: block;
  color: #c9d1d9;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.sa-input, .sa-textarea, .sa-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  color: #f0f6fc;
  font-size: 0.9rem;
  font-family: inherit;
}
.sa-input:focus, .sa-textarea:focus, .sa-select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.sa-textarea {
  min-height: 100px;
  resize: vertical;
}
.sa-select {
  cursor: pointer;
}
.sa-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.sa-form-hint {
  color: #8b949e;
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

/* Flash */
.sa-flash {
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.sa-flash-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.sa-flash-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

/* Toggle Switch */
.sa-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.sa-toggle input {
  display: none;
}
.sa-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sa-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8b949e;
  transition: transform 0.2s, background 0.2s;
}
.sa-toggle input:checked + .sa-toggle-track {
  background: rgba(239, 68, 68, 0.3);
}
.sa-toggle input:checked + .sa-toggle-track::after {
  transform: translateX(20px);
  background: #ef4444;
}
.sa-toggle-label {
  color: #c9d1d9;
  font-weight: 600;
  font-size: 0.9rem;
}

/* File Manager */
.sa-fm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.sa-fm-breadcrumbs a {
  color: #58a6ff;
  font-weight: 600;
}
.sa-fm-breadcrumbs a:hover {
  text-decoration: underline;
}
.sa-fm-breadcrumbs .sa-fm-sep {
  color: #484f58;
}
.sa-fm-table {
  width: 100%;
  border-collapse: collapse;
}
.sa-fm-table th, .sa-fm-table td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem;
}
.sa-fm-table th {
  color: #8b949e;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sa-fm-table tr:hover {
  background: rgba(255,255,255,0.02);
}
.sa-fm-icon {
  display: inline-flex;
  margin-right: 0.5rem;
  font-size: 1rem;
}
.sa-fm-name a {
  color: #58a6ff;
  font-weight: 600;
}
.sa-fm-name a:hover {
  text-decoration: underline;
}
.sa-fm-size, .sa-fm-perm, .sa-fm-date {
  color: #8b949e;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.82rem;
}
.sa-fm-actions {
  display: flex;
  gap: 0.35rem;
}

/* Code Editor */
.sa-code-editor {
  width: 100%;
  min-height: 400px;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.6rem;
  color: #c9d1d9;
  font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 1rem;
  resize: vertical;
  tab-size: 4;
}
.sa-code-editor:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Status Indicators */
.sa-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.sa-status-on {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}
.sa-status-off {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}
.sa-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.sa-status-on .sa-status-dot { background: #22c55e; }
.sa-status-off .sa-status-dot { background: #ef4444; }

/* Info Grid */
.sa-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.sa-info-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sa-info-label {
  color: #8b949e;
  font-size: 0.85rem;
}
.sa-info-value {
  color: #f0f6fc;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'SF Mono', 'Consolas', monospace;
}

/* IP list */
.sa-ip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.sa-ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.4rem;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.8rem;
  color: #c9d1d9;
}

/* Superadmin responsive */
@media (max-width: 960px) {
  .sa-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .sa-info-grid { grid-template-columns: 1fr; }
  .sa-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sa-shell { width: calc(100% - 1rem); }
  .sa-kpi-grid { grid-template-columns: 1fr; }
  .sa-topbar { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .sa-tabs { gap: 0; }
  .sa-tab { padding: 0.6rem 0.7rem; font-size: 0.8rem; }
}
