:root {
  --green: #C1E000;
  --green-dark: #5F6D04;
  --green-deep: #5F6D04;
  --off-white: #F5F5F5;
  --white: #FFFFFF;
  --beige: #EDE3D6;
  --gold: #C2A46D;
  --ink: #26332C;
  --muted: #66736B;
  --line: #DDE4DE;
  --soft-line: #ECEFEB;
  --whatsapp: #25D366;
  --display: 'Montserrat', sans-serif;
  --body: 'Montserrat', sans-serif;
  --container: 1180px;
  --radius: 14px;
  --shadow-soft: 0 14px 40px rgba(95, 109, 4, 0.12);
  --shadow-card: 0 10px 28px rgba(38, 51, 44, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.contact-strip {
  display: none;
  color: rgba(255, 255, 255, 0.78);
  background: var(--green-dark);
  font-size: 13px;
}

.contact-strip__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.contact-strip a:hover {
  color: var(--white);
}

.navbar {
  border-bottom: 1px solid rgba(95, 109, 4, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 22px rgba(38, 51, 44, 0.06);
}

.navbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}

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

.btn--primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 20px rgba(193, 224, 0, 0.22);
}

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

.btn--light {
  color: var(--green-dark);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
}

.btn--light:hover {
  color: var(--green-deep);
  box-shadow: 0 12px 24px rgba(38, 51, 44, 0.14);
}

.btn--outline-green {
  color: var(--green-dark);
  background: var(--white);
  border-color: rgba(95, 109, 4, 0.24);
}

.btn--outline-green:hover {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn--whatsapp {
  color: var(--white);
  background: var(--whatsapp);
}

.btn--whatsapp:hover {
  background: #1EBE5C;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
}

.btn__icon,
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn__icon svg,
.icon svg {
  width: 100%;
  height: 100%;
}

.btn__icon svg path,
.icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--whatsapp .btn__icon svg path,
.float-whatsapp svg path {
  fill: currentColor;
  stroke: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(95, 109, 4, 0.18);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: var(--green-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  display: grid;
  gap: 2px;
  padding: 18px 16px 24px;
  border-bottom: 1px solid rgba(95, 109, 4, 0.14);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a:not(.btn) {
  padding: 14px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.mobile-menu a:not(.btn):hover {
  color: var(--green-dark);
  background: var(--off-white);
}

.mobile-menu__cta {
  margin-top: 10px;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

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

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

.hero__shade {
  background:
    linear-gradient(180deg, rgba(19, 38, 29, 0.7), rgba(19, 38, 29, 0.4) 38%, rgba(19, 38, 29, 0.78)),
    linear-gradient(90deg, rgba(19, 38, 29, 0.72), rgba(19, 38, 29, 0.22));
}

.hero__inner {
  position: relative;
  min-height: 760px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 56px 16px;
}

.hero__copy {
  max-width: 790px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow,
.valuation .eyebrow,
.section-heading--light .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
}

h1 {
  font-size: 52px;
  font-weight: 800;
}

h2 {
  font-size: 40px;
  font-weight: 800;
}

h3 {
  font-size: 25px;
  font-weight: 800;
}

.hero__copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.property-search {
  width: min(100%, 960px);
  min-width: 0;
  max-width: 960px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(20, 38, 29, 0.24);
}

.property-search__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  min-width: 0;
  padding: 0 0 0 10px;
  border-radius: 0;
  background: transparent;
}

.search-tab {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.search-tab.is-active {
  color: var(--ink);
  background: rgba(193, 224, 0, 0.1);
  box-shadow: inset 0 -3px 0 var(--green-dark);
}

.search-tab:disabled,
.search-tab.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.property-search__grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(260px, 1fr) minmax(150px, auto);
  align-items: end;
  gap: 14px;
  min-width: 0;
  margin-top: 14px;
}

.property-search__grid--portal {
  grid-template-columns: minmax(230px, 0.48fr) minmax(360px, 1fr) minmax(160px, auto);
  align-items: stretch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  padding: 0 18px;
  font-size: 17px;
  font-weight: 800;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field--location {
  position: relative;
}

.home-type-select {
  position: relative;
  min-width: 0;
}

.home-type-trigger,
.home-location-field input {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.home-type-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.home-type-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-type-trigger:focus,
.home-location-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(193, 224, 0, 0.16);
}

.home-type-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 22;
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(38, 51, 44, 0.16);
  list-style: none;
}

.home-type-options[hidden] {
  display: none;
}

.home-type-options button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  padding: 0 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.home-type-options button:hover,
.home-type-options button:focus,
.home-type-options button.is-selected {
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.12);
}

.field--location input {
  font-weight: 700;
}

.location-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 230px;
  overflow-y: auto;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(38, 51, 44, 0.16);
  list-style: none;
}

.location-autocomplete[hidden] {
  display: none;
}

.location-autocomplete button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  padding: 0 12px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.location-autocomplete button:hover,
.location-autocomplete button:focus {
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.12);
}

.search-wizard {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  pointer-events: none;
}

.search-wizard.is-open {
  display: flex;
}

.search-wizard__scrim {
  display: none;
}

.search-wizard__dialog {
  position: relative;
  --wizard-content: min(calc(100% - clamp(24px, 6vw, 40px)), 380px);
  --wizard-control-h: clamp(48px, 7dvh, 58px);
  --wizard-action-h: clamp(50px, 7dvh, 58px);
  --wizard-title: clamp(22px, 3vw, 30px);
  width: min(100%, 460px);
  max-height: min(600px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 18px;
  background: var(--white);
  color: #0A0A0A;
  overflow: hidden;
  pointer-events: auto;
  box-shadow: 0 22px 54px rgba(95, 109, 4, 0.28);
}

.search-wizard__header {
  width: var(--wizard-content);
  margin: 0 auto;
  padding: clamp(18px, 4dvh, 28px) 0 clamp(12px, 2dvh, 18px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.search-wizard__back,
.search-wizard__close {
  border: 0;
  background: transparent;
  color: #0A0A0A;
  font-family: var(--font-body);
  cursor: pointer;
}

.search-wizard__back {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  padding: 8px 0;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
}

.search-wizard__back svg,
.search-wizard__results svg {
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-wizard__header strong {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
  white-space: nowrap;
}

.search-wizard__close {
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
}

.search-wizard__body {
  width: var(--wizard-content);
  margin: 0 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(12px, 2.5dvh, 18px) 0 clamp(14px, 2.5dvh, 20px);
}

.search-wizard__step h2 {
  margin: 0 0 16px;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--wizard-title);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.search-wizard__step p {
  margin: -4px 0 18px;
  color: #0A0A0A;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.35;
}

.wizard-section {
  margin-bottom: clamp(18px, 4dvh, 28px);
}

.wizard-section h3 {
  margin: 0 0 14px;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--wizard-title);
  font-weight: 800;
  line-height: 1.18;
}

.wizard-range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wizard-select,
.wizard-input {
  width: 100%;
  min-height: var(--wizard-control-h);
  border: 2px solid #777;
  border-radius: 12px;
  color: #080808;
  background: #FFF;
  padding: 0 clamp(16px, 3vw, 26px);
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  outline: none;
}

.wizard-select:focus,
.wizard-input:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(193, 224, 0, 0.18);
}

.wizard-price-currency {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: clamp(18px, 4dvh, 28px) 0 clamp(16px, 3dvh, 22px);
}

.wizard-radio {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #0A0A0A;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  cursor: pointer;
}

.wizard-radio input {
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  accent-color: var(--green-dark);
}

.wizard-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(14px, 3dvh, 20px);
}

.wizard-feature {
  min-height: clamp(48px, 7dvh, 56px);
  border: 2px solid #777;
  border-radius: 12px;
  color: #111;
  background: #FFF;
  padding: 0 clamp(16px, 3vw, 26px);
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 800;
  cursor: pointer;
}

.wizard-feature.is-selected {
  border-color: var(--green-dark);
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.1);
}

.search-wizard__footer {
  width: var(--wizard-content);
  margin: 0 auto;
  padding: 0 0 clamp(16px, 3dvh, 22px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #FFF 22%);
}

.search-wizard__continue,
.search-wizard__results {
  min-height: var(--wizard-action-h);
  border-radius: clamp(14px, 2vw, 18px);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 800;
  cursor: pointer;
}

.search-wizard__continue {
  border: 2px solid var(--green-dark);
  color: #FFF;
  background: var(--green-dark);
}

.search-wizard__continue:disabled {
  border-color: #F1F1F1;
  color: #CFCFCF;
  background: #F1F1F1;
  cursor: not-allowed;
}

.search-wizard__results {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  background: #FFF;
}

body.search-wizard-open {
  overflow: hidden;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(193, 224, 0, 0.12);
}

.property-search__submit {
  min-width: 128px;
  min-height: 64px;
  border-radius: 12px;
  font-size: 18px;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-note:empty {
  display: none;
}

.hero-proof {
  width: min(100%, 980px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -16px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(95, 109, 4, 0.42);
  backdrop-filter: blur(10px);
  font-size: 13px;
  line-height: 1.2;
}

.hero-proof strong {
  margin-right: 5px;
  color: var(--white);
}

.section {
  padding: 84px 0;
}

.section--soft {
  background: var(--off-white);
}

.section--beige {
  background: var(--beige);
}

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

.section-heading h2 {
  color: var(--ink);
}

.section-heading p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading--light h2,
.section-heading--light p:not(.eyebrow) {
  color: var(--white);
}

.property-grid,
.service-grid,
.benefit-grid,
.development-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

.property-grid,
.development-grid,
.testimonial-grid {
  grid-template-columns: 1fr;
}

.service-grid,
.benefit-grid {
  grid-template-columns: 1fr;
}

.property-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 26px;
  border: 1px solid rgba(95, 109, 4, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.property-empty strong {
  font-size: 18px;
}

.property-empty span {
  color: var(--muted);
  font-size: 14px;
}

.property-card,
.service-card,
.benefit-card,
.development-card,
.testimonial-card,
.contact-form {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.property-card,
.development-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:hover,
.development-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(38, 51, 44, 0.14);
}

.property-card__media,
.development-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--beige);
}

.property-card__media img,
.development-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.property-card:hover .property-card__media img,
.development-card:hover .development-card__media img {
  transform: scale(1.045);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.badge--alquiler {
  background: var(--ink);
}

.badge--oportunidad {
  background: var(--gold);
  color: var(--ink);
}

.property-card__body,
.development-card__body,
.service-card,
.benefit-card,
.testimonial-card {
  padding: 22px;
}

.property-card__price {
  color: var(--green-dark);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.property-card__title {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.property-card__location,
.property-card__description,
.development-card__location,
.development-card__description,
.service-card p,
.benefit-card p,
.testimonial-card blockquote,
.testimonial-card span {
  color: var(--muted);
  line-height: 1.65;
}

.property-card__description {
  margin: 12px 0 0;
  font-size: 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.property-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--soft-line);
}

.property-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.property-spec svg {
  width: 16px;
  height: 16px;
}

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

.property-card__actions .btn {
  min-height: 40px;
  padding: 10px 12px;
  font-size: 14px;
}

.section-action {
  margin-top: 32px;
  text-align: center;
}

.service-card,
.benefit-card,
.testimonial-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.benefit-card:hover,
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 109, 4, 0.22);
}

.service-icon,
.benefit-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.12);
}

.service-icon svg,
.benefit-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3,
.benefit-card h3 {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.service-card p,
.benefit-card p {
  margin: 10px 0 0;
  font-size: 15px;
}

.why-section {
  background: var(--green-dark);
}

.benefit-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.94);
}

.about {
  display: grid;
  gap: 34px;
  align-items: center;
}

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

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

.about__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 160px;
  padding: 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 14px 28px rgba(95, 109, 4, 0.22);
}

.about__stamp strong {
  display: block;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}

.about__stamp span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
}

.about__content {
  max-width: 580px;
}

.about__content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about__content .btn {
  margin-top: 12px;
}

.development-card__body h3 {
  color: var(--ink);
}

.development-card__location {
  margin-top: 8px;
  font-weight: 800;
}

.development-card__description {
  margin: 10px 0 18px;
}

.valuation {
  padding: 66px 0;
  color: var(--white);
  background: var(--green-dark);
}

.valuation__inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.valuation h2 {
  font-size: 42px;
}

.valuation p:not(.eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.6;
}

.valuation__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.testimonial-card {
  display: grid;
  gap: 16px;
}

.stars {
  color: var(--gold);
  font-size: 18px;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 16px;
}

.testimonial-card strong {
  color: var(--ink);
  font-size: 16px;
}

.testimonial-card span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.testimonial-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.contact {
  display: grid;
  gap: 32px;
  align-items: start;
}

.contact__info p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.contact-list a,
.contact-list__plain {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: var(--white);
}

.contact-list a:hover {
  border-color: rgba(95, 109, 4, 0.24);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green-dark);
  background: rgba(193, 224, 0, 0.12);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-icon svg path,
.social-links svg path,
.back-to-top svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.contact-list span {
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form h3 {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 800;
}

.form-note--privacy {
  margin-top: -4px;
}

.form-note--privacy a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #26332C;
}

.footer__grid {
  display: grid;
  gap: 28px;
}

.footer-layout {
  display: grid;
  gap: 28px;
}

.footer img {
  margin-bottom: 14px;
}

.footer__license {
  display: block;
  margin: -6px 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer p {
  max-width: 310px;
  margin: 0;
  line-height: 1.65;
}

.footer h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a,
.footer span {
  display: block;
  margin-top: 8px;
}

.footer a:hover {
  color: var(--white);
}

.social-links,
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-links a,
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.social-links a:hover,
.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.social-links svg,
.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-map {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-map__copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.footer-map__copy h3,
.footer-map__copy h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
}

.footer-map__copy p {
  max-width: none;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-map__copy a {
  width: fit-content;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.footer-map iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 10px;
  filter: saturate(0.92);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  text-align: center;
}

.footer-divider {
  height: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding-top: 22px;
  font-size: 14px;
  text-align: center;
}

.footer__bottom span,
.footer__bottom a,
.footer-bottom span,
.footer-bottom a {
  margin: 0;
}

.footer-bottom p {
  width: 100%;
  max-width: none;
  margin: 0;
}

.footer-legal a {
  display: inline;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.float-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(38, 51, 44, 0.22);
}

.float-whatsapp {
  right: 18px;
  bottom: 18px;
  color: var(--white);
  background: var(--whatsapp);
}

.float-whatsapp svg {
  width: 27px;
  height: 27px;
}

.back-to-top {
  right: 18px;
  bottom: 82px;
  border: 1px solid rgba(95, 109, 4, 0.2);
  color: var(--green-dark);
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 640px) {
  .property-grid,
  .development-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 760px) {
  .footer-map {
    grid-template-columns: minmax(220px, 0.7fr) minmax(360px, 1.3fr);
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .contact-strip {
    display: block;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

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

  .service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .about,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .valuation__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 1080px) {
  .property-search__grid {
    grid-template-columns: minmax(200px, 0.8fr) minmax(240px, 1fr) minmax(140px, auto);
  }

  .property-search__grid--portal {
    grid-template-columns: minmax(210px, 0.55fr) minmax(300px, 1fr) minmax(140px, auto);
  }

  .property-search__submit {
    width: auto;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    padding: 0 14px;
  }

  .navbar__inner {
    min-height: 64px;
  }

  .nav-whatsapp {
    display: none;
  }

  .brand img {
    width: 148px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    inset: 64px 0 auto 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }

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

  .hero__inner {
    gap: 24px;
    padding: 26px 14px 54px;
  }

  .hero__copy {
    width: 100%;
    max-width: 100%;
  }

  .property-search {
    padding: 13px;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(20, 38, 29, 0.22);
  }

  .property-search__tabs {
    display: flex;
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    padding: 0;
  }

  .search-tab {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    font-size: 15px;
  }

  .property-search__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field input,
  .field select,
  .home-type-trigger,
  .home-location-field input,
  .property-search__submit {
    min-height: 52px;
    font-size: 15px;
  }

  h1 {
    font-size: 38px;
  }

  h2,
  .valuation h2 {
    font-size: 32px;
  }

  .hero__copy p:not(.eyebrow),
  .valuation p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.55;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p:not(.eyebrow),
  .about__content p:not(.eyebrow),
  .contact__info p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.6;
  }

  .property-grid,
  .service-grid,
  .benefit-grid,
  .development-grid,
  .testimonial-grid {
    gap: 16px;
  }

  .property-card__media,
  .development-card__media {
    aspect-ratio: 16 / 11;
  }

  .property-card__body,
  .development-card__body,
  .service-card,
  .benefit-card,
  .testimonial-card,
  .contact-form {
    padding: 18px;
  }

  .property-card__price {
    font-size: 28px;
  }

  .property-card__description {
    -webkit-line-clamp: 2;
  }

  .property-card__specs {
    gap: 9px;
  }

  .service-card h3,
  .benefit-card h3 {
    margin-top: 14px;
  }

  .property-card__actions {
    grid-template-columns: 1fr;
  }

  .about__stamp {
    width: 138px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .about__stamp strong {
    font-size: 36px;
  }

  .valuation {
    padding: 48px 0;
  }

  .valuation__inner {
    gap: 20px;
    text-align: center;
  }

  .valuation p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .valuation__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .valuation__actions .btn,
  .contact-form .btn,
  .section-action .btn {
    width: 100%;
  }

  .contact {
    gap: 24px;
  }

  .contact-list a,
  .contact-list__plain {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }

  .footer {
    padding: 44px 0 22px;
  }

  .footer__grid {
    gap: 24px;
  }

  .footer-layout {
    gap: 24px;
  }

  .float-whatsapp,
  .back-to-top {
    width: 48px;
    height: 48px;
  }

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

  .back-to-top {
    right: 14px;
    bottom: 74px;
  }
}

@media (max-width: 600px) {
  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    align-items: stretch;
    padding: 20px 14px 54px;
  }

  .hero__copy {
    align-self: stretch;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: initial;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 14px;
  }

  .property-search {
    width: 100%;
    max-width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: -12px;
  }

  .hero-proof span {
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    text-align: center;
    font-size: 12px;
  }

  .property-search__grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
  }

  .field {
    gap: 5px;
  }

  .field span {
    font-size: 12px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 42px;
    padding: 9px 10px;
  }

  .home-type-trigger,
  .home-location-field input {
    min-height: 42px;
    padding: 9px 10px;
  }

  .property-search__submit {
    min-height: 42px;
  }

  .search-wizard {
    align-items: center;
    padding: 12px;
  }

  .search-wizard__dialog {
    width: min(100%, 340px);
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .search-wizard__header,
  .search-wizard__body,
  .search-wizard__footer {
    width: calc(100% - 28px);
    padding-right: 0;
    padding-left: 0;
  }

  .search-wizard__header {
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .search-wizard__back {
    gap: 8px;
    font-size: 18px;
  }

  .search-wizard__back svg,
  .search-wizard__results svg {
    width: 24px;
    height: 24px;
  }

  .search-wizard__header strong {
    font-size: 16px;
  }

  .search-wizard__body {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .search-wizard__step h2,
  .wizard-section h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .search-wizard__step p {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .wizard-section {
    margin-bottom: 18px;
  }

  .wizard-range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wizard-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wizard-select,
  .wizard-input,
  .wizard-feature {
    min-height: 46px;
    padding: 0 12px;
    font-size: 15px;
  }

  .wizard-feature {
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
  }

  .wizard-price-currency {
    gap: 16px;
    margin: 18px 0 16px;
  }

  .wizard-radio {
    font-size: 15px;
  }

  .wizard-radio input {
    width: 20px;
    height: 20px;
  }

  .search-wizard__footer {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 14px;
  }

  .search-wizard__continue,
  .search-wizard__results {
    min-height: 48px;
    border-radius: 12px;
    padding: 0 8px;
    font-size: 14px;
    white-space: normal;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: 34px;
  }

  h2,
  .valuation h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 23px;
  }

  .btn {
    min-height: 42px;
    padding: 11px 14px;
    white-space: normal;
  }

  .about__media img {
    aspect-ratio: 4 / 3;
  }

  .about__stamp {
    width: 126px;
    padding: 12px;
  }

  .about__stamp strong {
    font-size: 32px;
  }

  .about__stamp span {
    font-size: 12px;
  }

  .footer__bottom {
    display: grid;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 138px;
  }

  .property-search__tabs {
    gap: 4px;
    padding: 4px;
  }

  .search-tab {
    padding: 7px 6px;
    font-size: 12px;
  }

  .hero__actions .btn {
    font-size: 13px;
  }

  h1 {
    font-size: 31px;
  }

  h2,
  .valuation h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Final compact override: search filters must behave as a small popover, never a full-screen modal. */
.search-wizard.is-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  pointer-events: none !important;
}

.search-wizard__scrim {
  display: none !important;
}

.search-wizard__dialog {
  width: min(92vw, 420px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: min(76vh, 520px) !important;
  border-radius: 18px !important;
  pointer-events: auto !important;
  box-shadow: 0 18px 44px rgba(95, 109, 4, 0.26) !important;
}

.search-wizard__header,
.search-wizard__body,
.search-wizard__footer {
  width: calc(100% - 28px) !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.search-wizard__header {
  padding-top: 14px !important;
  padding-bottom: 8px !important;
}

.search-wizard__back {
  gap: 6px !important;
  font-size: 14px !important;
}

.search-wizard__header strong {
  font-size: 14px !important;
}

.search-wizard__body {
  padding-top: 8px !important;
  padding-bottom: 10px !important;
  overflow-y: auto !important;
}

.search-wizard__step h2,
.wizard-section h3 {
  margin-bottom: 10px !important;
  font-size: 20px !important;
  line-height: 1.12 !important;
}

.search-wizard__step p {
  margin-bottom: 10px !important;
  font-size: 13px !important;
}

.wizard-section {
  margin-bottom: 14px !important;
}

.wizard-range-grid,
.wizard-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.wizard-select,
.wizard-input,
.wizard-feature {
  min-height: 42px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

.wizard-price-currency {
  gap: 14px !important;
  margin: 12px 0 12px !important;
}

.wizard-radio {
  font-size: 13px !important;
}

.wizard-radio input {
  width: 18px !important;
  height: 18px !important;
}

.search-wizard__footer {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  padding-bottom: 14px !important;
}

.search-wizard__continue,
.search-wizard__results {
  min-height: 44px !important;
  padding: 0 8px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  white-space: normal !important;
}

@media (max-width: 420px) {
  .search-wizard__dialog {
    width: min(92vw, 330px) !important;
    max-height: 72vh !important;
  }
}

/* Web reference override: large centered modal with dark overlay, matching the Zonaprop flow size. */
.search-wizard.is-open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px !important;
  pointer-events: auto !important;
}

.search-wizard__scrim {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.58) !important;
  backdrop-filter: none !important;
}

.search-wizard__dialog {
  width: min(960px, calc(100vw - 96px)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: min(840px, calc(100dvh - 112px)) !important;
  max-height: calc(100dvh - 64px) !important;
  border-radius: 10px !important;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34) !important;
}

.search-wizard__header,
.search-wizard__body,
.search-wizard__footer {
  width: min(488px, calc(100% - 48px)) !important;
}

.search-wizard__header {
  padding-top: 46px !important;
  padding-bottom: 38px !important;
}

.search-wizard__back {
  gap: 10px !important;
  font-size: 18px !important;
}

.search-wizard__header strong {
  font-size: 18px !important;
}

.search-wizard__body {
  padding-top: 28px !important;
  padding-bottom: 42px !important;
}

.search-wizard__step h2,
.wizard-section h3 {
  margin-bottom: 26px !important;
  font-size: 28px !important;
  line-height: 1.16 !important;
}

.search-wizard__step p {
  margin-bottom: 28px !important;
  font-size: 20px !important;
}

.wizard-section {
  margin-bottom: 70px !important;
}

.wizard-range-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.wizard-select,
.wizard-input {
  min-height: 66px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
  font-size: 20px !important;
}

.wizard-price-currency {
  gap: 28px !important;
  margin: 52px 0 30px !important;
}

.wizard-radio {
  font-size: 20px !important;
}

.wizard-radio input {
  width: 26px !important;
  height: 26px !important;
}

.wizard-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.wizard-feature {
  min-height: 58px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-size: 18px !important;
}

.search-wizard__footer {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding-bottom: 42px !important;
}

.search-wizard__continue,
.search-wizard__results {
  min-height: 64px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  .search-wizard.is-open {
    padding: 16px !important;
  }

  .search-wizard__dialog {
    width: min(94vw, 520px) !important;
    height: auto !important;
    max-height: calc(100dvh - 32px) !important;
  }

  .search-wizard__header,
  .search-wizard__body,
  .search-wizard__footer {
    width: calc(100% - 32px) !important;
  }

  .search-wizard__header {
    padding-top: 20px !important;
    padding-bottom: 14px !important;
  }

  .search-wizard__body {
    padding-top: 12px !important;
    padding-bottom: 16px !important;
  }

  .search-wizard__step h2,
  .wizard-section h3 {
    margin-bottom: 14px !important;
    font-size: 22px !important;
  }

  .wizard-section {
    margin-bottom: 22px !important;
  }

  .wizard-select,
  .wizard-input,
  .wizard-feature {
    min-height: 48px !important;
    font-size: 15px !important;
  }

  .search-wizard__footer {
    grid-template-columns: 1fr 1fr !important;
    padding-bottom: 18px !important;
  }

  .search-wizard__continue,
  .search-wizard__results {
    min-height: 48px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }
}

/* Balanced search wizard: dark backdrop, medium panel, no full-screen takeover. */
.search-wizard.is-open {
  padding: 24px !important;
  background: rgba(0, 0, 0, 0.56) !important;
}

.search-wizard__scrim {
  display: block !important;
  background: transparent !important;
}

.search-wizard__dialog {
  width: min(680px, calc(100vw - 48px)) !important;
  height: auto !important;
  max-height: min(76dvh, 680px) !important;
  border-radius: 12px !important;
}

.search-wizard__header,
.search-wizard__body,
.search-wizard__footer {
  width: min(440px, calc(100% - 40px)) !important;
}

.search-wizard__header {
  padding-top: 24px !important;
  padding-bottom: 16px !important;
}

.search-wizard__back,
.search-wizard__header strong {
  font-size: 15px !important;
}

.search-wizard__body {
  padding-top: 14px !important;
  padding-bottom: 18px !important;
  overflow-y: auto !important;
}

.search-wizard__step h2,
.wizard-section h3 {
  margin-bottom: 16px !important;
  font-size: 24px !important;
  line-height: 1.16 !important;
}

.search-wizard__step p {
  margin-bottom: 16px !important;
  font-size: 16px !important;
}

.wizard-section {
  margin-bottom: 24px !important;
}

.wizard-range-grid,
.wizard-feature-grid {
  gap: 10px !important;
}

.wizard-select,
.wizard-input {
  min-height: 52px !important;
  padding: 0 14px !important;
  font-size: 16px !important;
}

.wizard-feature {
  min-height: 50px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
}

.wizard-price-currency {
  gap: 18px !important;
  margin: 22px 0 18px !important;
}

.wizard-radio {
  font-size: 16px !important;
}

.wizard-radio input {
  width: 22px !important;
  height: 22px !important;
}

.search-wizard__footer {
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  padding-bottom: 24px !important;
}

.search-wizard__continue,
.search-wizard__results {
  min-height: 50px !important;
  padding: 0 12px !important;
  font-size: 15px !important;
  white-space: normal !important;
}

@media (max-width: 720px) {
  .search-wizard.is-open {
    padding: 14px !important;
  }

  .search-wizard__dialog {
    width: min(92vw, 400px) !important;
    max-height: 76dvh !important;
  }

  .search-wizard__header,
  .search-wizard__body,
  .search-wizard__footer {
    width: calc(100% - 28px) !important;
  }

  .search-wizard__header {
    padding-top: 16px !important;
    padding-bottom: 10px !important;
  }

  .search-wizard__body {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
  }

  .search-wizard__step h2,
  .wizard-section h3 {
    margin-bottom: 12px !important;
    font-size: 21px !important;
  }

  .wizard-section {
    margin-bottom: 16px !important;
  }

  .wizard-select,
  .wizard-input,
  .wizard-feature {
    min-height: 46px !important;
    font-size: 14px !important;
  }

  .search-wizard__footer {
    padding-bottom: 16px !important;
  }

  .search-wizard__continue,
  .search-wizard__results {
    min-height: 46px !important;
    font-size: 13px !important;
  }
}
