:root {
  --navy: #1a2b4b;
  --navy-soft: #243552;
  --sage: #84967f;
  --sage-dark: #6f8070;
  --ink: #1a2b4b;
  --muted: #7a828c;
  --line: #e6e9ee;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe57;
  --shadow: 0 18px 50px rgba(26, 43, 75, 0.12);
  --radius: 18px;
  --header-h: 78px;
  --font: "Poppins", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 1.15rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(4.75rem + var(--safe-bottom));
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(1160px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.accent {
  color: var(--sage);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-open {
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: min(240px, 58vw);
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.78;
  padding: 0.35rem 0;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  opacity: 1;
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-actions .btn-sm {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
  pointer-events: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  gap: 0.2rem;
  padding: 0.4rem var(--pad) 1.2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav-mobile.is-open {
  display: grid;
}

.nav-mobile a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.35rem;
  font-weight: 500;
  color: var(--navy);
}

.nav-mobile .btn {
  margin-top: 0.4rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.2;
}

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

.btn-sm {
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
  min-height: 48px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 43, 75, 0.18);
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-message {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-message:hover {
  border-color: rgba(26, 43, 75, 0.28);
  background: var(--bg-soft);
}

.btn-arrow {
  width: 1.1em;
  height: 1.1em;
}

.wa-icon {
  width: 1.2em;
  height: 1.2em;
}

/* Hero */
.hero {
  position: relative;
  padding: 1.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 150, 127, 0.08), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: visible;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(132, 150, 127, 0.14);
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--navy);
}

.hero-sub {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.hero-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-countries span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-trust {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.city-chip {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  min-width: 88px;
}

.city-icon {
  width: 64px;
  height: 40px;
  color: #9aa3ab;
}

.city-icon svg {
  width: 100%;
  height: 100%;
}

.city-pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(132, 150, 127, 0.18);
}

.plane-trail {
  display: none;
  position: absolute;
  right: -2rem;
  top: 2.5rem;
  width: 280px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-media {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  min-height: 240px;
}

.hero-media-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 460px;
  object-fit: cover;
}

/* Search bar */
.search-wrap {
  position: relative;
  z-index: 9999;
  margin-top: -3.5rem;
  margin-bottom: -1.5rem;
}

.nice-select-dropdown {
  display: none;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(26, 43, 75, 0.22);
  overflow: hidden;
  padding: 0.45rem;
  z-index: 99999;
}

.nice-select-dropdown.is-open {
  display: block;
  animation: dropdown-in 0.18s var(--ease);
}

.search-bar {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 43, 75, 0.06);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.55rem 0.85rem;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid #e8ecf1;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  z-index: 1;
}

.search-field:hover {
  border-color: #d5dbe3;
}

.search-field:focus-within,
.search-field.is-open {
  z-index: 50;
  border-color: rgba(132, 150, 127, 0.65);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.14);
}

.field-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(26, 43, 75, 0.06);
  color: var(--navy);
  flex-shrink: 0;
}

.field-icon svg {
  width: 18px;
  height: 18px;
}

.field-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.field-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa3ab;
  line-height: 1;
}

.search-field input,
.search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0;
  min-height: 24px;
}

.search-field input::placeholder {
  color: #9aa3ab;
  font-weight: 500;
}

.search-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
}

/* Custom nice select */
.nice-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.nice-select.is-open {
  z-index: 100;
}

.nice-select-native {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.nice-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 24px;
  cursor: pointer;
  text-align: left;
  color: var(--navy);
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
}

.nice-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nice-select-value.is-placeholder {
  color: #9aa3ab;
}

.nice-select-caret {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9aa3ab;
  transition: transform 0.2s var(--ease);
}

.nice-select.is-disabled .nice-select-trigger {
  opacity: 0.55;
  cursor: not-allowed;
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nice-select-search {
  width: 100%;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.4rem;
  outline: none;
  font: inherit;
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--bg-soft);
}

.nice-select-search:focus {
  border-color: rgba(132, 150, 127, 0.65);
  background: #fff;
}

.nice-select-options {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nice-select-options::-webkit-scrollbar {
  width: 8px;
}

.nice-select-options::-webkit-scrollbar-thumb {
  background: #d5dbe3;
  border-radius: 999px;
}

.nice-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.nice-select-option:hover,
.nice-select-option.is-active {
  background: rgba(132, 150, 127, 0.12);
  color: var(--navy);
}

.nice-select-option.is-selected {
  background: rgba(26, 43, 75, 0.08);
  font-weight: 600;
}

.nice-select-empty {
  padding: 0.85rem 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.request-form .nice-select-trigger {
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.request-form .nice-select.is-open .nice-select-trigger {
  border-color: rgba(132, 150, 127, 0.7);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.15);
}

/* How it works */
.how {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  background: #fff;
}

.section-kicker {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9aa3ab;
}

.how h2,
.about h2,
.properties h2,
.request h2,
.trust h2,
.destinations h2,
.faq h2,
.promises + .how h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.promises {
  padding: 0.25rem 0 1.5rem;
  position: relative;
  z-index: 2;
}

.stats-bar {
  padding: 0 0 1.25rem;
  position: relative;
  z-index: 2;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.stats-bar-grid div {
  display: grid;
  gap: 0.15rem;
  text-align: center;
  padding: 0.35rem;
}

.stats-bar-grid strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.stats-bar-grid span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.promises-grid {
  display: grid;
  gap: 0.85rem;
}

.promises-grid article {
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(26, 43, 75, 0.05);
}

.promises-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.promises-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.trust-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.trust-card {
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(26, 43, 75, 0.05);
}

.trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.destinations {
  padding: 3.5rem 0;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.country-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}

.country-card:hover {
  border-color: rgba(132, 150, 127, 0.55);
  transform: translateY(-1px);
}

.country-card strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.country-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.destinations-subhead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--navy);
}

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

.destination-card {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: #111;
  min-height: 150px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  font: inherit;
  color: inherit;
}

.destination-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.destination-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  opacity: 0.82;
}

.destination-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  display: grid;
  gap: 0.15rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(16, 25, 38, 0.82));
}

.destination-card-body strong {
  font-size: 1rem;
}

.destination-card-body small {
  font-size: 0.8rem;
  opacity: 0.9;
}

.faq {
  padding: 3.5rem 0;
  background: var(--bg-soft);
}

.faq-layout {
  display: grid;
  gap: 1.5rem;
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 600;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sage-dark);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.how-cta {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.how-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonials {
  padding: 3.5rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.25rem 1.3rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(26, 43, 75, 0.05);
}

.testimonial-card p {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.55;
}

.testimonial-card footer {
  display: grid;
  gap: 0.1rem;
}

.testimonial-card strong {
  font-size: 0.92rem;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  gap: 0.55rem;
  padding: 0.35rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 0;
}

.step-icon {
  width: 56px;
  height: 56px;
  color: var(--sage);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.step h3 span {
  color: var(--sage);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* About */
.about {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about p {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.35rem;
}

.about-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.about-stats li {
  background: #fff;
  border-radius: 16px;
  padding: 1.15rem 1rem;
  border: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.about-stats span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Properties */
.properties {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.properties .section-lead {
  margin: -0.75rem 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.property-filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.property-filter:hover {
  border-color: rgba(132, 150, 127, 0.55);
}

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

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

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

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

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

.property-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.property-city {
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.property-address {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.property-empty {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.property-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.property-more-wrap .btn[hidden] {
  display: none;
}

.property-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.property-card h3 a {
  color: inherit;
}

.property-card h3 a:hover {
  color: var(--sage-dark);
}

.property-card-media {
  display: block;
}

.property-price {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.property-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.property-card-actions .btn {
  width: 100%;
  margin-top: 0;
  font-size: 0.82rem;
  padding-inline: 0.7rem;
}

@media (max-width: 420px) {
  .whatsapp-fab-copy small {
    display: none;
  }

  .whatsapp-fab {
    padding-right: 0.85rem;
  }
}

.property-card-link {
  text-decoration: none;
  color: inherit;
}

/* Property detail page */
.page-property {
  padding-bottom: calc(5rem + var(--safe-bottom));
}

.property-detail {
  padding: 1.5rem 0 3.5rem;
}

.property-loading,
.property-not-found {
  padding: 2rem 0 3rem;
}

.property-not-found h1 {
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

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

.detail-layout {
  display: grid;
  gap: 1.5rem;
}

.detail-gallery-main {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.detail-thumb {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.detail-thumb.is-active,
.detail-thumb:hover {
  border-color: var(--sage);
}

.detail-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.detail-intro h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--navy);
  letter-spacing: -0.03em;
}

.detail-address {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.detail-price-row strong {
  font-size: 1.25rem;
  color: var(--navy);
}

.detail-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(132, 150, 127, 0.16);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.detail-facts div {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.detail-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.detail-facts strong {
  color: var(--navy);
  font-size: 1rem;
}

.detail-block {
  margin-bottom: 1.5rem;
}

.detail-block h2 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.detail-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.detail-highlights,
.detail-amenities {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.detail-highlights li,
.detail-amenities li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

.detail-highlights li::before,
.detail-amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

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

.detail-map-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
}

.detail-map-card p {
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.detail-map-note {
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.detail-sidebar {
  position: relative;
}

.detail-enquire {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.detail-enquire h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.detail-enquire > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.detail-enquire-meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.detail-enquire-meta li {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-enquire .btn + .btn {
  margin-top: 0.55rem;
}

.detail-form-link {
  margin-top: 0.85rem;
  justify-content: center;
  width: 100%;
}

.detail-similar {
  margin-top: 2.5rem;
}

.detail-similar h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.35rem;
}

@media (min-width: 720px) {
  .detail-gallery-main {
    height: 420px;
  }

  .detail-thumb img {
    height: 84px;
  }

  .detail-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-layout {
    grid-template-columns: 1.45fr 0.8fr;
    align-items: start;
    gap: 1.75rem;
  }

  .detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  .detail-similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Request form */
.request {
  padding: 4rem 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(132, 150, 127, 0.12), transparent 40%),
    linear-gradient(160deg, #1a2b4b, #243b63 60%, #2d4568);
  color: #fff;
}

.request .section-kicker {
  color: rgba(255, 255, 255, 0.55);
}

.request h2 {
  color: #fff;
  margin-bottom: 0.85rem;
}

.request-grid {
  display: grid;
  gap: 1.75rem;
}

.request-copy > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
}

.request-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.request-perks li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 500;
}

.request-form {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.request-row {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 5;
}

.request-row label {
  position: relative;
  z-index: 1;
}

.request-row .nice-select.is-open,
.request-form .nice-select.is-open {
  z-index: 100;
}

.request-form h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.request-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.request-form input,
.request-form select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  outline: none;
  font-weight: 500;
}

.request-form input:focus,
.request-form select:focus {
  border-color: rgba(132, 150, 127, 0.7);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.15);
}

.request-row {
  display: grid;
  gap: 0.85rem;
}

.request-form .btn-block {
  width: 100%;
  margin-top: 0.25rem;
}

.request-note {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* WhatsApp contact chip */
.whatsapp-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, calc(1rem + var(--safe-bottom)));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  border: 1px solid rgba(26, 43, 75, 0.1);
  box-shadow: 0 14px 36px rgba(26, 43, 75, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(26, 43, 75, 0.18);
}

.whatsapp-fab-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #128c7e;
  color: #fff;
  flex-shrink: 0;
}

.whatsapp-fab-icon svg {
  width: 20px;
  height: 20px;
}

.whatsapp-fab-copy {
  display: grid;
  line-height: 1.15;
  padding-right: 0.2rem;
}

.whatsapp-fab-copy strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.whatsapp-fab-copy small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #101926;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.75rem 0 calc(1.75rem + var(--safe-bottom));
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-brand-text {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.footer-brand-text strong {
  font-weight: 700;
}

.footer-brand-text em {
  font-style: normal;
  color: var(--sage);
  font-weight: 700;
}

.footer-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sage);
  font-weight: 800;
}

.footer-brand p {
  margin: 0;
  max-width: 28ch;
}

.footer-grid h4 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.4rem;
  min-height: 34px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Tablet+ */
@media (min-width: 720px) {
  :root {
    --pad: 1.5rem;
    --header-h: 88px;
  }

  body {
    padding-bottom: 0;
  }

  .brand-logo {
    height: 62px;
    max-width: 280px;
  }

  .header-actions .btn-sm {
    display: inline-flex;
  }

  .hero {
    padding: 2rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
    max-height: 480px;
  }

  .plane-trail {
    display: block;
  }

  .search-bar {
    grid-template-columns: 1.15fr 1.25fr 1fr 1fr 1fr auto;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.75rem;
  }

  .search-field {
    background: transparent;
    border-radius: 14px;
    border-color: transparent;
  }

  .search-field:hover {
    background: var(--bg-soft);
    border-color: #e8ecf1;
  }

  .search-field:focus-within,
  .search-field.is-open {
    background: #fff;
  }

  .search-btn {
    width: auto;
    min-width: 120px;
    padding-inline: 1.4rem;
    align-self: stretch;
  }

  .nice-select-dropdown {
    min-width: 220px;
  }

  .how {
    padding-top: 7.5rem;
  }

  .promises-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-bar-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.25rem 1.5rem;
  }

  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .destination-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 2.5rem;
  }

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

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .step {
    padding: 0 1.25rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .request-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 2.5rem;
  }

  .request-form {
    padding: 1.6rem;
  }

  .request-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-mobile,
  .nav-mobile.is-open {
    display: none !important;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Booking flow */
.booking-page,
.booking-confirm {
  padding: 1.5rem 0 3.5rem;
}

.booking-header {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.booking-header h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.booking-lead {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.booking-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.booking-steps li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid transparent;
}

.booking-steps li span {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dfe3e8;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.booking-steps li.is-active {
  color: var(--navy);
  border-color: rgba(132, 150, 127, 0.45);
  background: #f3f6f2;
}

.booking-steps li.is-active span,
.booking-steps li.is-done span {
  background: var(--sage);
  color: #fff;
}

.booking-steps li.is-done {
  color: var(--navy);
}

.booking-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.booking-form,
.booking-summary-card,
.confirm-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-form {
  padding: 1.25rem;
}

.booking-form-grid {
  display: grid;
  gap: 1rem;
}

.booking-form label,
.booking-full {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-form textarea {
  resize: vertical;
  min-height: 96px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.2);
}

.booking-full {
  margin-top: 1rem;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.35rem;
}

.form-error {
  margin: 0.85rem 0 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-soft);
}

.booking-summary-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.booking-summary-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.booking-summary-body h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.2rem;
}

.booking-summary-address {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-summary-price {
  margin: 0.65rem 0 0.85rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.booking-summary-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.booking-summary-meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}

.booking-summary-meta li span {
  color: var(--muted);
}

.booking-demo-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.booking-review,
.booking-payment {
  margin-bottom: 1.35rem;
}

.booking-review h2,
.booking-payment h2,
.confirm-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.booking-review-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.booking-review-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.booking-review-list dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.booking-review-list dd {
  margin: 0;
  font-weight: 500;
}

.booking-payment-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.booking-check input {
  width: auto;
  margin-top: 0.2rem;
}

.confirm-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.confirm-check {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.confirm-hero h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.confirm-ref {
  margin: 1rem 0 0;
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #f3f6f2;
  color: var(--navy);
  font-size: 0.95rem;
}

.confirm-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.confirm-panel {
  padding: 1.2rem;
}

.confirm-property {
  display: grid;
  gap: 1rem;
}

.confirm-property img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.confirm-property h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.1rem;
}

.confirm-property p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.confirm-demo {
  text-align: center;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .booking-form-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .confirm-property {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }

  .confirm-property img {
    aspect-ratio: 1;
  }
}

@media (min-width: 960px) {
  .booking-header {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }

  .booking-layout {
    grid-template-columns: 1.45fr 0.9fr;
  }

  .booking-summary {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  .booking-form {
    padding: 1.5rem;
  }
}

/* Auth / Login */
.page-auth {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 150, 127, 0.1), transparent 35%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding-bottom: 0;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 2rem var(--pad) 3rem;
  min-height: calc(100vh - var(--header-h));
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem 1.5rem;
}

.auth-card h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.7rem;
  line-height: 1.2;
}

.auth-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.2);
}

.auth-demo {
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px dashed rgba(132, 150, 127, 0.45);
}

.auth-demo p {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-demo strong {
  color: var(--navy);
}

.auth-demo code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  font-size: 0.84rem;
}

/* Dashboard */
.page-dashboard {
  background: var(--bg-soft);
  padding-bottom: 2rem;
  min-height: 100vh;
}

.dash-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.dash-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.dash-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dash-user {
  display: none;
  text-align: right;
  line-height: 1.2;
}

.dash-user strong {
  display: block;
  font-size: 0.9rem;
}

.dash-user span {
  font-size: 0.75rem;
  color: var(--muted);
}

.dash-main {
  padding: 1.5rem 0 2.5rem;
}

.dash-top-side {
  display: grid;
  gap: 0.75rem;
  justify-items: stretch;
}

.dash-top-side .js-logout {
  justify-self: end;
}

.dash-top h1 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.dash-lead {
  margin: 0;
  color: var(--muted);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.dash-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.15rem;
}

.dash-stat strong {
  font-size: 1.25rem;
  color: var(--navy);
}

.dash-stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.dash-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-search input,
.dash-filter select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff;
  outline: none;
}

.dash-search input:focus,
.dash-filter select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.18);
}

.dash-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(26, 43, 75, 0.05);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.dash-table th,
.dash-table td {
  padding: 0.85rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.9rem;
}

.dash-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: #fafbfc;
  white-space: nowrap;
}

.dash-table tbody tr:last-child td {
  border-bottom: 0;
}

.dash-table tbody tr:hover {
  background: #f8faf8;
}

.dash-property-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.dash-property-cell img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.dash-property-cell strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.dash-property-cell small {
  color: var(--muted);
  font-size: 0.72rem;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(132, 150, 127, 0.16);
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.dash-empty,
.dash-count {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .dash-user {
    display: block;
  }

  .dash-top {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .dash-toolbar {
    grid-template-columns: 1.5fr 0.7fr;
  }

  .auth-card {
    padding: 1.85rem 1.7rem 1.65rem;
  }
}

.btn-danger {
  background: #fff;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.28);
  box-shadow: none;
}

.btn-danger:hover {
  background: #fff5f5;
  border-color: rgba(180, 35, 24, 0.45);
}

.dash-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dash-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.modal-open {
  overflow: hidden;
}

.dash-modal[hidden] {
  display: none !important;
}

.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.dash-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 38, 0.55);
}

.dash-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 25, 38, 0.28);
  padding: 1.2rem 1.2rem 1.35rem;
}

.dash-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.dash-modal-close {
  border: 0;
  background: var(--bg-soft);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--navy);
}

.dash-form-grid {
  display: grid;
  gap: 0.85rem;
}

.dash-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.dash-form input,
.dash-form select,
.dash-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
  background: #fff;
}

.dash-form input:focus,
.dash-form select:focus,
.dash-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(132, 150, 127, 0.18);
}

.dash-form textarea {
  resize: vertical;
}

.dash-form-full {
  grid-column: 1 / -1;
}

.dash-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

@media (min-width: 720px) {
  .dash-toolbar {
    grid-template-columns: 1.3fr 0.7fr auto;
    align-items: center;
  }

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


