@font-face {
  font-family: Manrope;
  src: url('fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f5f6f4;
  --card: #fff;
  --ink: #262c2d;
  --muted: #606b6c;
  --line: #dfe4e1;
  --accent: #bf401b;
  --orange: #ed592e;
  --tint: #fff2ec;
  --dark: #253130;
  --radius: 8px;
  --shadow: 0 15px 45px #1c302010;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #182321;
  --surface: #202d2a;
  --card: #273531;
  --ink: #f4f6f3;
  --muted: #b9c5bf;
  --line: #42524b;
  --accent: #ff9b78;
  --orange: #ff9b78;
  --tint: #3b3027;
  --dark: #101a17;
  --shadow: none;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
}
h2 {
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 600;
  letter-spacing: -1.8px;
}
h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.35px;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wrap {
  width: min(1280px, 88%);
  margin-inline: auto;
}
.section {
  padding: 88px 0;
}
.button {
  display: inline-flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  min-height: 50px;
  padding: 14px 23px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s;
}
.button:hover {
  background: #9f3213;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--tint);
  border-color: var(--accent);
}
[data-theme='dark'] .button:not(.secondary) {
  color: #241b17;
}
[data-theme='dark'] .button:hover {
  background: #ffb99e;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.text-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 650;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  font-size: 22px;
}
.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.site-header.is-scrolled .lang-toggle,
[data-theme='dark'] .site-header.is-scrolled .lang-toggle {
  color: #253130;
  background: #fff;
  border-color: #25313059;
}
.site-header.is-scrolled .lang-toggle:hover,
[data-theme='dark'] .site-header.is-scrolled .lang-toggle:hover {
  color: #253130;
  background: #d7e3dc;
  border-color: #253130;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--card);
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  isolation: isolate;
  height: 96px;
  width: 100%;
  max-width: none;
  padding: 0 max(5.5%, calc((100% - 1536px) / 2 + 84px));
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--bg);
  box-shadow: 0 0 0 transparent;
  transition:
    color 0.4s ease 0.08s,
    box-shadow 0.55s ease;
}
.site-header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #253130;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.62s cubic-bezier(0.77, 0, 0.18, 1);
  pointer-events: none;
}
.site-header.is-scrolled {
  color: #f4f6f3;
  box-shadow: 0 14px 32px #10221d24;
}
.site-header.is-scrolled::before {
  clip-path: inset(0);
}
.site-header.is-scrolled .brand svg,
.site-header.is-scrolled .icon-button,
.site-header.is-scrolled nav a,
.site-header.is-scrolled .header-publish {
  transition:
    color 0.4s ease 0.08s,
    border-color 0.4s ease 0.08s,
    background-color 0.4s ease 0.08s,
    stroke 0.4s ease 0.08s;
}
.site-header.is-scrolled .brand .icon {
  color: #f4f6f3;
  stroke: currentColor;
}
.site-header.is-scrolled nav a:hover {
  color: #d7e3dc;
}
.site-header.is-scrolled .icon-button,
.site-header.is-scrolled .icon-button svg,
[data-theme='dark'] .site-header.is-scrolled .icon-button,
[data-theme='dark'] .site-header.is-scrolled .icon-button svg {
  color: #253130;
  stroke: currentColor;
}
.site-header.is-scrolled .icon-button,
[data-theme='dark'] .site-header.is-scrolled .icon-button {
  background: #fff;
  border-color: #25313059;
}
.site-header.is-scrolled .icon-button:hover,
[data-theme='dark'] .site-header.is-scrolled .icon-button:hover {
  color: #253130;
  background: #d7e3dc;
  border-color: #253130;
}
.site-header.is-scrolled .saved-trigger span {
  background: #f4f6f3;
  color: #253130;
}
.site-header.is-scrolled .header-publish,
[data-theme='dark'] .site-header.is-scrolled .header-publish {
  background: #f4f6f3;
  color: #253130;
}
.site-header.is-scrolled .header-publish:hover,
[data-theme='dark'] .site-header.is-scrolled .header-publish:hover {
  background: #d7e3dc;
  color: #253130;
}
@media (max-width: 900px) {
  .site-header.is-scrolled nav.open {
    color: var(--ink);
    background: var(--card);
  }
  .site-header.is-scrolled nav.open a:hover {
    color: var(--accent);
  }
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
}
.brand svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
  stroke-width: 2.5;
}
.brand > span {
  color: var(--orange);
}
.site-header nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.saved-trigger {
  position: relative;
}
.saved-trigger span {
  position: absolute;
  right: -3px;
  top: -5px;
  border-radius: 100%;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
}
.menu-toggle {
  display: none;
}
.header-publish {
  font-size: 14px;
  padding: 12px 18px;
}
.hero {
  margin: 0 24px;
  position: relative;
  isolation: isolate;
  border-radius: 10px;
  overflow: hidden;
  min-height: 660px;
  color: #fff;
  background: #354340;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-position: center 55%;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #102522c7 0%, #10252285 45%, #10252208 100%);
}
.hero-content {
  width: min(1280px, 90%);
  margin: auto;
  padding: 66px 0 28px;
}
.hero-note {
  display: inline-flex;
  border: 1px solid #ffffff70;
  border-radius: 30px;
  padding: 8px 15px;
  font-size: 14px;
  background: #152d2850;
}
.hero h1 {
  font-size: clamp(52px, 5.4vw, 80px);
  line-height: 1.07;
  letter-spacing: -3.8px;
  font-weight: 600;
  margin: 26px 0 22px;
  max-width: 1000px;
}
.hero p {
  font-size: 16px;
  max-width: 430px;
  line-height: 1.8;
  color: #fff;
}
.hero-search {
  margin-top: 38px;
  max-width: 1150px;
}
.operation-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}
.operation-tabs button {
  border: 0;
  border-radius: 4px;
  background: #17322bd9;
  color: #fff;
  padding: 11px 27px;
  font-size: 14px;
}
.operation-tabs button.active {
  background: #fff;
  color: #262c2d;
}
.search-fields {
  background: var(--card);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  padding: 13px;
  border-radius: 6px;
  align-items: center;
}
.search-fields > label {
  padding: 3px 18px;
  border-right: 1px solid var(--line);
  display: block;
  min-width: 0;
}
.search-fields label span {
  font-size: 14px;
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.search-fields input,
.search-fields select {
  border: 0;
  background: transparent;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  min-height: 32px;
}
.search-fields .button {
  margin-left: 15px;
  white-space: nowrap;
}
.hero-caption {
  margin-top: 23px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  color: white;
}
.hero-caption > span {
  border-left: 1px solid #ffffff70;
  padding-left: 14px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading > p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 390px;
}
.eyebrow {
  display: block;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 650;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.type-tile {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 25px 20px;
  border-radius: 7px;
  text-align: left;
  display: flex;
  gap: 15px;
  align-items: center;
}
.type-tile > svg {
  height: 39px;
  width: 39px;
  color: var(--accent);
}
.type-tile > span:first-of-type {
  font-size: 15px;
  font-weight: 700;
}
.type-tile small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.type-tile > span:last-child {
  margin-left: auto;
  font-size: 20px;
}
.type-tile:hover {
  border-color: var(--accent);
  background: var(--tint);
}
.catalog-section {
  background: var(--surface);
  scroll-margin-top: 20px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: start;
}
.filters {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 23px;
  position: sticky;
  top: 24px;
}
.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.filter-heading h3 {
  font-size: 15px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 4px;
  padding: 12px;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
select {
  padding-right: 20px;
}
textarea {
  resize: vertical;
}
.filters form {
  display: grid;
  gap: 19px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
  padding: 0;
}
.sub-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  gap: 4px;
}
.filters input,
.filters select {
  padding: 10px;
  font-size: 14px;
}
.filters summary {
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.amenity-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 6px;
  margin-top: 16px;
}
.amenity-options label,
.check-label {
  flex-direction: row;
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  gap: 7px;
  cursor: pointer;
}
input[type='checkbox'] {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.field-error {
  font-size: 14px;
  color: var(--accent);
}
.field-error:empty {
  display: none;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  min-height: 45px;
}
.catalog-toolbar p {
  font-size: 14px;
}
.catalog-toolbar p strong {
  color: var(--ink);
}
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.toolbar-actions .icon-button {
  border-radius: 5px;
  width: 37px;
  height: 37px;
}
.sort-label select {
  font-size: 14px;
  padding: 10px;
  max-width: 145px;
}
.toolbar-actions [aria-pressed='true'] {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent);
}
#mobile-filters {
  display: none;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.property-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.15s;
}
.property-card:hover {
  border-color: var(--accent);
}
.card-image {
  display: block;
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.35s;
}
.property-card:hover img {
  transform: scale(1.025);
}
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: #fff;
}
.badge {
  background: #263a33e8;
  padding: 5px 10px;
  border-radius: 3px;
}
.badge.featured {
  background: #bf401b;
}
.favorite-button {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 35px;
  height: 35px;
  border: 0;
  background: #fff;
  color: #26332d;
  z-index: 2;
}
.favorite-button[aria-pressed='true'] {
  background: #bf401b;
  color: #fff;
}
.card-visual {
  position: relative;
}
.card-body {
  padding: 21px;
}
.card-location {
  font-size: 14px;
  margin-bottom: 7px;
}
.card-body h3 {
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 15px;
}
.card-body h3 a:hover {
  color: var(--accent);
}
.card-specs {
  display: flex;
  gap: 15px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.card-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-specs svg {
  width: 16px;
  height: 16px;
}
.card-price {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 15px;
  gap: 10px;
}
.card-price strong {
  font-size: 20px;
  letter-spacing: -0.7px;
}
.card-price small {
  color: var(--muted);
  font-size: 14px;
  margin-left: 3px;
}
.card-price button {
  font-size: 14px;
  background: none;
  border: 0;
  color: var(--muted);
  padding: 8px 0;
}
.card-price button[aria-pressed='true'] {
  color: var(--accent);
  font-weight: 700;
}
.card-ref {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.property-grid.list-view {
  grid-template-columns: 1fr;
}
.list-view .property-card {
  display: grid;
  grid-template-columns: 40% 1fr;
}
.list-view .card-visual,
.list-view .card-image {
  height: 100%;
  min-height: 240px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 30px;
}
.pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  font-size: 14px;
}
.pagination button[aria-current='page'] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.save-search {
  display: block;
  margin: 22px auto 10px;
}
.catalog-note {
  font-size: 14px;
  text-align: center;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}
.active-filters:empty {
  display: none;
}
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  background: var(--card);
  font-size: 14px;
  display: flex;
  gap: 8px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.empty-state > span {
  font-size: 50px;
  color: var(--accent);
}
.empty-state h3 {
  margin: 16px 0 10px;
}
.empty-state p {
  font-size: 14px;
  max-width: 350px;
  margin: 0 auto 24px;
}
.city-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
}
.city-card {
  position: relative;
  height: 340px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  color: #fff;
  text-align: left;
  isolation: isolate;
  background: #32443d;
}
.city-card img {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
}
.city-card:after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, #102a24eb, transparent 85%);
  z-index: -1;
}
.city-card > span:first-of-type {
  position: absolute;
  bottom: 26px;
  left: 25px;
  right: 45px;
}
.city-card strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.city-card small {
  display: block;
  font-size: 14px;
  margin-top: 6px;
}
.city-arrow {
  position: absolute;
  bottom: 30px;
  right: 22px;
  font-size: 25px;
}
.about-section {
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}
.about-photo {
  position: relative;
  align-self: stretch;
  min-height: 630px;
  border-radius: 6px;
  overflow: hidden;
}
.about-photo img {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
}
.about-photo > span {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  background: #142b25db;
  padding: 20px;
  border-radius: 4px;
}
.about-copy .eyebrow {
  color: #ffac88;
}
.about-copy h2 {
  font-size: 42px;
  margin-bottom: 23px;
}
.about-copy p {
  color: #c5ceca;
  font-size: 14px;
  line-height: 1.9;
}
.service-row {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}
.service-row > span {
  font-size: 25px;
  color: #ffac88;
  min-width: 27px;
  line-height: 1.2;
}
.service-row h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.service-row p {
  font-size: 14px;
}
.about-copy > .button {
  margin-top: 32px;
  background: #ffac88;
  color: #28251e;
}
.owners-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.owners-section h2 {
  font-size: 38px;
  margin-bottom: 17px;
}
.owners-section p {
  font-size: 14px;
  line-height: 1.8;
}
.faq-section {
  background: var(--surface);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-grid h2 {
  margin-bottom: 20px;
}
.faq-grid > div > p {
  font-size: 14px;
  margin-bottom: 25px;
}
.faq-grid details {
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.faq-grid details:first-child {
  padding-top: 0;
}
.faq-grid summary {
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-grid summary:after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
.faq-grid details[open] summary:after {
  content: '−';
}
.faq-grid details p {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.8;
}
.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.contact-copy h2 {
  margin-bottom: 22px;
}
.contact-copy > p {
  font-size: 14px;
  line-height: 1.8;
}
.contact-detail {
  display: flex;
  gap: 17px;
  margin-top: 27px;
  font-size: 14px;
  color: var(--muted);
}
.contact-detail > span:first-child {
  font-size: 25px;
  color: var(--accent);
}
.contact-detail strong {
  font-weight: 600;
  color: var(--ink);
}
.contact-note {
  margin-top: 30px;
}
.contact-form {
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 8px;
  display: grid;
  gap: 22px;
  align-self: start;
}
.contact-form .button {
  justify-self: start;
}
.simulation-note {
  font-size: 14px;
  line-height: 1.7;
}
.form-status {
  font-size: 14px;
  color: var(--accent);
}
.form-status:empty {
  display: none;
}
footer {
  background: var(--dark);
  color: #fff;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 45px;
  padding-bottom: 50px;
}
.footer-grid p {
  color: #becbc4;
  font-size: 14px;
  margin-top: 20px;
}
.footer-grid h3 {
  font-size: 14px;
  margin-bottom: 20px;
}
.footer-grid a:not(.brand),
.footer-grid .text-button {
  display: block;
  font-size: 14px;
  color: #becbc4;
  margin-top: 12px;
}
.footer-grid .button.secondary {
  margin-top: 20px;
  color: #fff;
  border-color: #65776c;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff25;
  padding: 24px 0;
  color: #becbc4;
  font-size: 14px;
}
dialog {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  max-width: calc(100vw - 32px);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 25px 100px #0005;
}
dialog::backdrop {
  background: #10221dd9;
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 3;
  font-size: 17px;
}
.property-dialog {
  width: 1050px;
  padding: 0;
}
.property-dialog .dialog-close {
  background: var(--card);
}
.detail-photo {
  height: 400px;
  width: 100%;
}
.detail-content {
  padding: 35px;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
  align-items: center;
}
.detail-top h2 {
  font-size: 32px;
  margin-bottom: 8px;
}
.detail-top p {
  font-size: 14px;
}
.detail-price {
  font-size: 27px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -1px;
}
.detail-price small {
  font-size: 14px;
  font-weight: 400;
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 30px;
}
.detail-specs span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.detail-specs strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.detail-grid h3 {
  margin: 24px 0 12px;
}
.detail-grid h3:first-child {
  margin-top: 0;
}
.detail-grid p {
  font-size: 14px;
  line-height: 1.85;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-tags span {
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 12px;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.agent-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 23px;
}
.agent-box .button {
  width: 100%;
  margin-top: 18px;
}
.agent-box .avatar {
  background: var(--tint);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  float: left;
  margin-right: 12px;
}
.agent-box strong {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}
.agent-box > p {
  font-size: 14px;
}
.agent-box > hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 20px;
  clear: both;
}
.calculator {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.calculator h3 {
  font-size: 15px !important;
}
.calculator form {
  display: grid;
  gap: 12px;
}
.calculator label {
  font-size: 14px;
}
.calculator output {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 10px;
}
.calculator p {
  font-size: 14px !important;
}
.lead-dialog {
  width: 600px;
}
.lead-dialog h2 {
  font-size: 30px;
  margin: 15px 0;
}
.lead-dialog > p,
.lead-dialog form > p {
  font-size: 14px;
  margin-bottom: 20px;
}
.lead-dialog form {
  display: grid;
  gap: 18px;
}
.lead-dialog .form-status {
  margin: 0;
}
.lead-dialog .simulation-note {
  font-size: 14px;
}
.compare-dialog {
  width: 1000px;
  padding-top: 60px;
}
.compare-dialog h2 {
  font-size: 30px;
  margin-bottom: 30px;
}
.compare-scroll {
  overflow: auto;
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  font-weight: 600;
  background: var(--surface);
}
.compare-table td img {
  width: 100%;
  height: 140px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.compare-table td a {
  display: block;
  font-weight: 650;
  font-size: 15px;
  margin-bottom: 10px;
}
.compare-table td .button {
  font-size: 14px;
  min-height: 35px;
  padding: 8px;
}
.compare-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 20px;
  box-shadow: 0 8px 50px #0003;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  max-width: calc(100% - 24px);
  width: 600px;
  font-size: 14px;
}
.compare-bar > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.compare-bar .button {
  min-height: 40px;
  font-size: 14px;
  padding: 10px 15px;
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: 7px;
  font-size: 14px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  position: fixed;
  bottom: 0;
  background: var(--card);
  padding: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 14px;
}
@media (min-width: 1600px) {
  .hero {
    max-width: 1536px;
    margin-inline: auto;
  }
}
@media (max-width: 1180px) {
  .site-header {
    padding-inline: 4%;
    gap: 18px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 14px;
  }
  .header-publish {
    font-size: 14px;
    padding: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .hero-content {
    width: 88%;
  }
  .search-fields {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .search-fields > .button {
    grid-column: 1/-1;
    margin: 12px 0 0;
  }
  .hero h1 {
    font-size: 65px;
  }
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 22px;
  }
  .filters {
    padding: 18px;
  }
  .card-body {
    padding: 16px;
  }
  .card-specs {
    gap: 8px;
    font-size: 14px;
  }
  .card-price strong {
    font-size: 17px;
  }
  .card-body h3 {
    font-size: 15px;
  }
  .about-grid {
    gap: 45px;
  }
  .about-copy h2 {
    font-size: 35px;
  }
  .contact-section {
    gap: 45px;
  }
  .footer-grid {
    gap: 25px;
  }
  .city-grid {
    gap: 15px;
  }
  .city-card {
    height: 300px;
  }
  .city-card strong {
    font-size: 25px;
  }
}
@media (max-width: 900px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 25px;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-header nav.open {
    display: flex;
    flex-direction: column;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    border: 0;
  }
  .site-header {
    height: 80px;
  }
  .header-actions .header-publish {
    display: none;
  }
  .hero {
    margin: 0 16px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .section {
    padding: 65px 0;
  }
  .wrap {
    width: 90%;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
    position: static;
    grid-row: 1;
  }
  .filters.open {
    display: block;
  }
  #mobile-filters {
    display: inline-flex;
    min-height: 37px;
    padding: 7px 13px;
    font-size: 14px;
  }
  .catalog-main {
    min-width: 0;
  }
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid {
    gap: 30px;
  }
  .about-photo {
    min-height: 560px;
  }
  .about-copy h2 {
    font-size: 30px;
  }
  .about-photo > span {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 18px;
  }
  .faq-grid {
    gap: 35px;
  }
  .contact-section {
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
  }
  .contact-form {
    padding: 22px;
  }
  .contact-copy h2 {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .detail-top h2 {
    font-size: 27px;
  }
  .detail-grid {
    gap: 25px;
  }
  .detail-price {
    font-size: 23px;
  }
  .city-card {
    height: 280px;
  }
  .city-card > span:first-of-type {
    left: 18px;
  }
  .city-card strong {
    font-size: 22px;
  }
  .city-card small {
    font-size: 14px;
  }
  .owners-section h2 {
    font-size: 30px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 20px;
  }
  .site-header {
    padding: 0 22px;
    gap: 10px;
  }
  .brand {
    font-size: 29px;
  }
  .brand svg {
    width: 22px;
    height: 22px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .icon-button,
  .header-actions .lang-toggle {
    width: 35px;
    height: 35px;
    min-width: 35px;
    padding: 0;
    font-size: 11px;
  }
  .header-actions svg {
    width: 18px;
    height: 18px;
  }
  .menu-toggle {
    width: 32px;
  }
  .hero {
    margin: 0 12px;
    border-radius: 8px;
    min-height: 0;
  }
  .hero:before {
    background: linear-gradient(90deg, #102522c9, #10252279);
  }
  .hero-image {
    object-position: 64% center;
  }
  .hero-content {
    width: 100%;
    padding: 39px 23px 25px;
  }
  .hero-note {
    font-size: 14px;
    padding: 8px 12px;
  }
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1.9px;
    line-height: 1.1;
    margin: 26px 0 20px;
  }
  .hero h1 br {
    display: none;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.85;
    max-width: 280px;
  }
  .hero-search {
    margin-top: 26px;
  }
  .operation-tabs button {
    font-size: 14px;
    padding: 10px 23px;
  }
  .search-fields {
    display: flex;
    flex-direction: column;
    padding: 12px;
    align-items: stretch;
  }
  .search-fields > label {
    padding: 8px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .search-fields label span {
    font-size: 14px;
  }
  .search-fields input,
  .search-fields select {
    font-size: 14px;
    padding: 3px 0;
  }
  .search-fields > .button {
    margin-top: 12px;
    font-size: 14px;
    padding: 12px;
    min-height: 46px;
  }
  .hero-caption {
    font-size: 14px;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 21px;
  }
  .hero-caption > span {
    padding-left: 8px;
  }
  .wrap {
    width: calc(100% - 44px);
  }
  .section {
    padding: 49px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading > p {
    margin-top: 19px;
    font-size: 14px;
  }
  .section-heading > p br {
    display: none;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.1px;
  }
  .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .type-grid {
    gap: 11px;
  }
  .type-tile {
    padding: 17px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .type-tile > svg {
    width: 29px;
    height: 29px;
  }
  .type-tile > span:first-of-type {
    font-size: 14px;
  }
  .type-tile small {
    font-size: 14px;
    margin-top: 5px;
  }
  .type-tile > span:last-child {
    display: none;
  }
  .catalog-toolbar {
    align-items: start;
    flex-wrap: wrap;
    gap: 15px;
  }
  .catalog-toolbar > p {
    width: 100%;
    font-size: 14px;
  }
  .toolbar-actions {
    justify-content: space-between;
    width: 100%;
    gap: 7px;
  }
  .sort-label {
    flex: 1;
  }
  .sort-label select {
    max-width: none;
    width: 100%;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    aspect-ratio: 1.45;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h3 {
    font-size: 17px;
  }
  .card-location {
    font-size: 14px;
  }
  .card-specs {
    font-size: 14px;
    gap: 18px;
  }
  .card-price strong {
    font-size: 21px;
  }
  .card-price button {
    font-size: 14px;
  }
  .catalog-note {
    font-size: 14px;
  }
  .property-grid.list-view .property-card {
    display: block;
  }
  .list-view .card-visual,
  .list-view .card-image {
    height: auto;
    min-height: 0;
  }
  .city-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .city-card {
    height: 260px;
  }
  .city-card strong {
    font-size: 28px;
  }
  .city-card small {
    font-size: 14px;
  }
  .city-card > span:first-of-type {
    left: 23px;
    bottom: 23px;
  }
  .about-section {
    padding: 48px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-photo {
    min-height: 390px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .about-copy h2 br:last-of-type {
    display: none;
  }
  .about-copy > p {
    font-size: 14px;
  }
  .service-row {
    gap: 15px;
    margin-top: 25px;
  }
  .service-row h3 {
    font-size: 14px;
  }
  .service-row p {
    font-size: 14px;
  }
  .about-copy > .button {
    font-size: 14px;
    width: 100%;
    gap: 12px;
  }
  .owners-section {
    display: block;
  }
  .owners-section h2 {
    font-size: 30px;
  }
  .owners-section p {
    font-size: 14px;
  }
  .owners-section p br {
    display: none;
  }
  .owners-section .button {
    margin-top: 25px;
    width: 100%;
    font-size: 14px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-grid h2 br {
    display: none;
  }
  .faq-grid > div > p {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .faq-grid summary {
    font-size: 14px;
    line-height: 1.65;
  }
  .faq-grid details p {
    font-size: 14px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-copy h2 {
    font-size: 32px;
  }
  .contact-copy > p {
    font-size: 14px;
  }
  .contact-detail {
    display: inline-flex;
    margin-right: 22px;
    font-size: 14px;
    gap: 12px;
  }
  .contact-note {
    display: none;
  }
  .contact-form {
    padding: 20px;
    gap: 20px;
  }
  .contact-form .two-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-form label {
    font-size: 14px;
  }
  .contact-form .check-label {
    font-size: 14px;
  }
  .contact-form .button {
    width: 100%;
    font-size: 14px;
  }
  .simulation-note {
    font-size: 14px;
  }
  footer {
    padding-top: 45px;
  }
  .footer-grid {
    gap: 35px 25px;
    padding-bottom: 35px;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-grid > div:first-child p {
    margin: 0;
    font-size: 14px;
  }
  .footer-grid h3 {
    font-size: 14px;
  }
  .footer-grid p {
    font-size: 14px;
    margin-top: 10px;
  }
  .footer-bottom {
    display: block;
    font-size: 14px;
    padding-bottom: 85px;
  }
  .footer-bottom > span {
    display: block;
    margin-top: 5px;
  }
  .detail-photo {
    height: 250px;
  }
  .detail-content {
    padding: 23px;
  }
  .detail-top {
    display: block;
  }
  .detail-top h2 {
    font-size: 26px;
  }
  .detail-price {
    font-size: 25px;
    margin-top: 20px;
  }
  .detail-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-grid p {
    font-size: 14px;
  }
  .detail-grid h3 {
    font-size: 16px;
  }
  .detail-actions .button {
    font-size: 14px;
    flex: 1;
    padding: 12px;
  }
  .lead-dialog {
    padding: 24px;
    max-height: 94dvh;
  }
  .lead-dialog h2 {
    font-size: 26px;
    margin-top: 35px;
  }
  .lead-dialog .two-fields {
    grid-template-columns: 1fr;
  }
  .lead-dialog form label {
    font-size: 14px;
  }
  .compare-dialog {
    padding: 55px 20px 20px;
  }
  .compare-dialog h2 {
    font-size: 25px;
  }
  .compare-bar {
    bottom: 12px;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
  }
  .compare-bar > div {
    gap: 10px;
  }
  .compare-bar .button {
    font-size: 14px;
    padding: 10px;
    min-height: 38px;
  }
  .compare-bar .text-button {
    font-size: 14px;
  }
  .toast {
    font-size: 14px;
    width: max-content;
    bottom: 90px;
  }
  .filters .two-fields {
    gap: 12px;
  }
  .filters input,
  .filters select {
    font-size: 14px;
  }
  .filters {
    padding: 22px;
  }
  .amenity-options label {
    font-size: 14px;
  }
  .catalog-section {
    scroll-margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .property-card:hover img {
    transform: none;
  }
}

/* Keep primary actions inside narrow layouts. */
.about-copy,
.contact-copy,
.faq-grid > div {
  min-width: 0;
}
.about-copy > .button {
  white-space: normal;
  max-width: 100%;
}
.hero h1 {
  max-width: 900px;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.4px;
    overflow-wrap: normal;
  }
  .about-copy > .button {
    font-size: 14px;
    padding-inline: 14px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    max-width: 290px;
    letter-spacing: -0.8px;
  }
}

/* Open tracking keeps word boundaries clear in the display face. */
h1 {
  word-spacing: 0.06em;
}
.hero h1 {
  letter-spacing: -2px;
}
h2 {
  letter-spacing: -0.9px;
}
.detail-top h2 {
  letter-spacing: -0.6px;
}
@media (max-width: 600px) {
  .hero h1 {
    letter-spacing: -0.4px;
  }
}

/* Readable secondary actions over the dark footer in both themes. */
.footer-grid .button.secondary:hover {
  background: #fff2ec;
  color: #262c2d;
}
/* More space for readable metadata and controls at narrow widths. */
.saved-trigger span {
  width: 22px;
  height: 22px;
}
.type-tile small {
  line-height: 1.5;
}
.card-specs {
  flex-wrap: wrap;
  gap: 10px 15px;
}
.card-price {
  flex-wrap: wrap;
}
.card-price > div {
  min-width: 0;
}
.header-publish {
  white-space: nowrap;
}
@media (max-width: 1180px) and (min-width: 901px) {
  .site-header {
    flex-wrap: wrap;
    height: auto;
    min-height: 96px;
    padding-block: 18px;
    gap: 16px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    font-size: 14px;
  }
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .hero-caption {
    flex-wrap: wrap;
    row-gap: 7px;
  }
  .type-tile {
    flex-direction: column;
    align-items: flex-start;
  }
  .type-tile small {
    font-size: 14px;
  }
  .catalog-toolbar .toolbar-actions {
    flex-wrap: wrap;
  }
  .sort-label {
    min-width: 135px;
  }
  .footer-grid > div:first-child {
    flex-wrap: wrap;
  }
  .compare-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .compare-bar > div {
    flex: 1;
    justify-content: flex-end;
  }
  .compare-bar .button {
    white-space: normal;
  }
  .contact-detail {
    display: flex;
    margin-right: 0;
  }
  .hero p {
    font-size: 15px;
  }
  .search-fields input,
  .search-fields select,
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .filters input,
  .filters select {
    font-size: 16px;
  }
}

/* Lucide: one 24px grid and one stroke weight throughout the theme. */
.icon {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon.is-filled {
  fill: currentColor;
}
.brand .icon {
  color: var(--orange);
  stroke-width: 2;
}
.button > span[aria-hidden],
.city-arrow,
.type-tile > span:last-child {
  display: inline-flex;
  align-items: center;
}
.text-button > .icon,
.text-link > .icon,
.footer-grid a > .icon {
  width: 17px;
  height: 17px;
  margin-left: 5px;
}
.card-price button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card-price button .icon,
.filter-chip .icon {
  width: 16px;
  height: 16px;
}
.contact-detail > span:first-child,
.service-row > span {
  display: flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.contact-detail > span:first-child .icon,
.service-row > span .icon {
  width: 26px;
  height: 26px;
}
.empty-state > span .icon {
  width: 48px;
  height: 48px;
}

/* Background carousel: forms and headline stay stable while spaces change. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media .hero-image {
  z-index: auto;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero-media .hero-image.is-active {
  opacity: 1;
}
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}
.hero-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  justify-content: start;
  align-items: center;
  margin: 0;
  padding: 13px 18px;
  background: #17362f;
  border: 1px solid #ffffff50;
  border-radius: 6px;
  text-align: left;
  color: #fff;
}
.hero-caption > span {
  border: 0;
  padding: 0;
}
.hero-property-name {
  font-size: 14px;
  font-weight: 650;
}
.hero-property-location {
  font-size: 14px;
  color: #e1eee8;
  grid-column: 1;
}
.hero-caption > .icon {
  grid-column: 2;
  grid-row: 1/3;
}
.hero-caption:hover {
  background: #23493e;
}
.carousel-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  padding: 6px 9px;
  border: 1px solid #ffffff50;
  background: #17362f;
  border-radius: 6px;
}
.carousel-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 4px;
}
.carousel-button:hover {
  background: #ffffff20;
}
.carousel-dots {
  display: flex;
  gap: 3px;
}
.carousel-dots button {
  width: 26px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
}
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b1c9be;
  transition:
    width 0.2s,
    background 0.2s;
}
.carousel-dots [aria-pressed='true'] span {
  width: 18px;
  border-radius: 4px;
  background: #fff;
}
.carousel-button[aria-pressed='true'] {
  background: #ffffff20;
}

/* Local interaction motion. Dialog remains modal until its exit completes. */
dialog[open]::backdrop {
  animation: umbria-backdrop-in 260ms ease both;
}
dialog.is-closing::backdrop {
  animation: umbria-backdrop-out 180ms ease both;
}
@keyframes umbria-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes umbria-backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.faq-grid summary::after {
  content: none;
}
summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.accordion-indicator {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 240ms ease;
}
summary[aria-expanded='true'] .accordion-indicator {
  transform: rotate(45deg);
}
.accordion-body {
  display: flow-root;
}

/* Theme controls: native semantics, fully authored visual surfaces. */
input,
textarea {
  appearance: none;
  caret-color: var(--accent);
  background: var(--surface);
  transition:
    border-color 0.15s,
    background 0.15s;
}
input:hover,
textarea:hover {
  border-color: var(--muted);
}
input:focus,
textarea:focus {
  background-color: var(--card);
}
input[type='number'] {
  appearance: textfield;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
input[type='search']::-webkit-search-cancel-button {
  appearance: none;
}
input[type='checkbox'],
input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1.5px solid var(--muted);
  border-radius: 5px;
  margin: 1px 0 0;
  background: var(--card);
  cursor: pointer;
}
input[type='checkbox']:checked,
input[type='radio']:checked {
  border-color: var(--accent);
  background: var(--accent);
}
input[type='checkbox']::after {
  content: '';
  width: 15px;
  height: 15px;
  background: var(--card);
  mask: url('icons/check.svg') center/contain no-repeat;
  -webkit-mask: url('icons/check.svg') center/contain no-repeat;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
input[type='checkbox']:checked::after {
  opacity: 1;
  transform: scale(1);
}
[data-theme='dark'] input[type='checkbox']::after {
  background: #241b17;
}
input[type='radio'] {
  border-radius: 50%;
}
input[type='radio']::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card);
  opacity: 0;
}
input[type='radio']:checked::after {
  opacity: 1;
}
input:disabled,
textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.select-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}
.field-label {
  display: block;
}
.custom-select {
  position: relative;
  min-width: 0;
  width: 100%;
}
.select-trigger {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 400;
}
.select-trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-trigger > .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.18s;
}
.select-trigger:hover {
  border-color: var(--muted);
}
.expanded .select-trigger {
  border-color: var(--accent);
}
.expanded .select-trigger > .icon {
  transform: rotate(180deg);
}
.select-options {
  position: fixed;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  max-height: 260px;
  overflow: auto;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 10px 35px #10221d25;
  z-index: 100;
  font:
    400 14px/1.5 Manrope,
    Arial,
    sans-serif;
}
.select-options:popover-open {
  animation: umbria-options-in 140ms ease-out;
}
@keyframes umbria-options-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.select-options [role='option'] {
  border-radius: 4px;
  padding: 10px 12px;
  cursor: pointer;
}
.select-options [role='option']:hover,
.select-options .highlighted {
  background: var(--tint);
  color: var(--accent);
}
.select-options [aria-selected='true'] {
  font-weight: 700;
  background: var(--surface);
}
.select-options [aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}
.search-fields > .select-field {
  padding: 3px 18px;
  border-right: 1px solid var(--line);
  gap: 4px;
}
.search-fields > .select-field > .field-label,
.search-fields > .select-field > span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.search-fields .select-trigger {
  border: 0;
  background: transparent;
  padding: 5px 0;
  min-height: 32px;
}
.search-fields .select-trigger > span {
  color: var(--ink);
  font-size: 14px;
  margin: 0;
}
.sort-label .select-trigger {
  min-height: 40px;
  max-width: 180px;
  padding: 9px 11px;
}
.sort-label .sr-only {
  position: absolute;
}
.filters .select-trigger {
  padding: 10px;
  min-height: 44px;
}
.filters .two-fields:has(.custom-select) {
  grid-template-columns: 1fr;
}
.input-error {
  display: block;
  margin-top: 5px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}
[aria-invalid='true'] {
  border-color: var(--accent);
}
.date-field {
  background-image: url('icons/calendar-days.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 42px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
* {
  scrollbar-color: var(--muted) var(--surface);
  scrollbar-width: thin;
}

/* Self-hosted Flatpickr, recolored to the same theme tokens. */
.flatpickr-calendar {
  font-family: Manrope, Arial, sans-serif;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px #10221d25;
  border-radius: 8px;
  font-size: 14px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  display: none;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-weekdays,
.flatpickr-weekday,
.flatpickr-day {
  color: var(--ink);
  fill: var(--ink);
}
span.flatpickr-weekday {
  color: var(--muted);
  background: transparent;
  font-size: 14px;
}
.flatpickr-day {
  border-radius: 5px;
}
.flatpickr-day:hover {
  background: var(--tint);
  border-color: var(--tint);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.flatpickr-day.today {
  border-color: var(--accent);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--muted);
  opacity: 0.55;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--ink);
  padding: 8px;
}
.flatpickr-months svg {
  stroke: currentColor;
  fill: none;
  width: 18px;
  height: 18px;
}
.flatpickr-current-month input.cur-year {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 0;
  font-size: 14px;
}
.flatpickr-monthDropdown-months {
  appearance: none;
  background: var(--card) !important;
  color: var(--ink) !important;
  border: 0 !important;
  font:
    600 14px Manrope,
    Arial,
    sans-serif !important;
}
.numInputWrapper span {
  display: none;
}

@media (max-width: 600px) {
  .hero-footer {
    gap: 14px;
    align-items: flex-start;
  }
  .hero-caption {
    width: 100%;
    padding: 13px 14px;
  }
  .carousel-controls {
    width: 100%;
    justify-content: space-between;
  }
  .search-fields > .select-field {
    padding: 8px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .search-fields .select-trigger,
  .select-trigger {
    font-size: 16px;
  }
  .search-fields .select-trigger > span {
    font-size: 16px;
  }
  .sort-label .select-trigger {
    max-width: none;
    font-size: 14px;
  }
  .contact-detail > span:first-child,
  .service-row > span {
    flex-basis: 28px;
  }
  .hero-content {
    padding-bottom: 24px;
  }
  .hero-media .hero-image {
    object-position: 64% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog[open]::backdrop,
  dialog.is-closing::backdrop,
  .select-options:popover-open {
    animation: none;
  }
  .hero-media .hero-image,
  .accordion-indicator,
  .select-trigger > .icon,
  input[type='checkbox']::after {
    transition: none;
  }
}

.flatpickr-wrapper {
  display: block;
  width: 100%;
}
.flatpickr-wrapper > input {
  width: 100%;
}
.flatpickr-calendar.static {
  top: calc(100% + 6px);
}

.faq-grid details[open] summary::after {
  content: none;
}
.success-dialog {
  width: 520px;
  text-align: center;
  padding: 48px 36px;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--tint);
}
.success-icon .icon {
  width: 32px;
  height: 32px;
}
.success-dialog h2 {
  font-size: 30px;
  margin-bottom: 18px;
}
.success-dialog > p {
  font-size: 15px;
  line-height: 1.8;
}
.success-reference {
  padding: 16px;
  margin: 25px 0;
  border-radius: 6px;
  background: var(--surface);
}
.success-reference span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.success-reference strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.success-dialog > .simulation-note {
  font-size: 14px;
  margin-top: 20px;
}
.success-dialog > .button {
  width: 100%;
}
@media (max-width: 600px) {
  .success-dialog {
    padding: 42px 24px 28px;
  }
}

.date-field {
  background-size: 20px 20px;
}
.check-label:has(.input-error) {
  flex-wrap: wrap;
}
.check-label .input-error {
  flex-basis: 100%;
}

textarea {
  resize: none;
}

/* Keep the calendar inside narrow modal fields instead of its vendor width. */
.flatpickr-calendar.static {
  width: 100%;
  max-width: 308px;
}
.flatpickr-calendar .flatpickr-innerContainer,
.flatpickr-calendar .flatpickr-rContainer,
.flatpickr-calendar .flatpickr-days,
.flatpickr-calendar .dayContainer {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.flatpickr-calendar .flatpickr-current-month {
  font-size: 16px;
}

@media (max-width: 600px) {
  .operation-tabs button {
    flex: 1;
    min-width: 0;
    padding-inline: 8px;
  }
}

.portfolio-back{
  position:fixed;
  z-index:80;
  left:max(16px, env(safe-area-inset-left));
  bottom:max(16px, env(safe-area-inset-bottom));
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  border:1px solid #253130;
  border-radius:999px;
  background:#fff;
  color:#253130;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
