:root {
  --ink: #1e1e1e;
  --muted: #707070;
  --paper: #ffffff;
  --white: #ffffff;
  --sage: #f3f0ef;
  --forest: #1e1e1e;
  --clay: #e7413a;
  --gold: #e7413a;
  --neutral: #e8e2df;
  --line: rgba(30, 30, 30, 0.12);
  --shadow: 0 18px 42px rgba(30, 30, 30, 0.14);
  --soft-shadow: 0 14px 34px rgba(30, 30, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(270px, auto) 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 96px;
  padding: 18px clamp(22px, 4vw, 54px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(30, 30, 30, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition: transform 180ms ease;
}

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

.brand-photo {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid var(--clay);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(231, 65, 58, 0.16);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.brand:hover .brand-photo {
  box-shadow: 0 14px 30px rgba(231, 65, 58, 0.24);
  transform: rotate(-2deg) scale(1.03);
}

.brand-photo::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--clay);
}

.brand-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand-text strong {
  position: relative;
  display: grid;
  gap: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.82rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-text strong::after {
  position: absolute;
  right: -13px;
  bottom: 3px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--clay);
}

.brand-text span:last-child {
  text-transform: lowercase;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.86rem;
  font-weight: 850;
}

.main-nav a {
  position: relative;
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
}

.header-action {
  padding: 13px 20px;
  border: 2px solid var(--clay);
  color: var(--white);
  background: var(--clay);
  font-size: 0.88rem;
  box-shadow: 0 13px 30px rgba(231, 65, 58, 0.2);
}

.header-action svg,
.button svg,
.service-card svg,
.proof-list svg,
.contact-panel svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 650px;
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.hero-media,
.hero-overlay {
  display: none;
}

.hero-media {
  background:
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=82")
      center 58% / cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(30, 30, 30, 0.82), rgba(30, 30, 30, 0.5) 54%, rgba(30, 30, 30, 0.16)),
    linear-gradient(0deg, rgba(30, 30, 30, 0.68), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 168px 0 96px;
  animation: riseIn 800ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.35rem, 8vw, 7.5rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 650;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 13px 19px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 16px 34px rgba(231, 65, 58, 0.26);
}

.button.primary:hover,
.header-action:hover {
  box-shadow: 0 20px 40px rgba(231, 65, 58, 0.34);
}

.button.secondary {
  color: var(--clay);
  border-color: var(--clay);
  background: var(--white);
  backdrop-filter: none;
}

.button.secondary.light {
  color: var(--ink);
  border-color: rgba(30, 30, 30, 0.18);
  background: var(--white);
}

.hero-strip {
  position: relative;
  z-index: 2;
  left: auto;
  bottom: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  transform: none;
  background: #f3f0ef;
  color: var(--ink);
  box-shadow: none;
  padding: 46px max(18px, calc((100vw - 1160px) / 2));
  gap: 34px;
}

.hero-strip div {
  padding: 28px 0 0;
  border-top: 1px solid rgba(30, 30, 30, 0.22);
  border-right: 0;
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
}

.hero-strip strong {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.85;
  font-weight: 950;
}

.hero-strip strong span {
  display: inline;
  color: var(--clay);
}

.hero-strip h3 {
  max-width: 320px;
  margin-top: 18px;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 950;
}

.hero-strip span {
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-dot {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  background: var(--clay);
  animation: redDotFloat 9s ease-in-out infinite;
  will-change: transform;
}

.dot-one {
  top: 86px;
  left: 68%;
  width: 68px;
  height: 68px;
  animation-duration: 10s;
}

.dot-two {
  top: 290px;
  right: 7%;
  width: 36px;
  height: 36px;
  animation-delay: -2s;
  animation-duration: 8s;
}

.dot-three {
  right: 10%;
  bottom: 128px;
  width: 86px;
  height: 86px;
  animation-delay: -4s;
  animation-duration: 12s;
}

.dot-four {
  top: 24px;
  left: 28%;
  width: 10px;
  height: 10px;
  animation-delay: -1s;
  animation-duration: 7s;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 128px) 0;
}

.valuation-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(231, 65, 58, 0.08), transparent 28%),
    radial-gradient(circle at 86% 64%, rgba(231, 65, 58, 0.06), transparent 32%),
    #fff8f8;
}

.valuation-section::before,
.valuation-section::after,
.area-section::before,
.services-section::before,
.blog-section::before,
.contact-section::before {
  position: absolute;
  z-index: 0;
  content: "";
  border-radius: 50%;
  background: var(--clay);
  animation: redDotFloat 11s ease-in-out infinite;
  will-change: transform;
}

.valuation-section::before {
  top: 9%;
  left: max(18px, calc((100vw - 1160px) / 2 - 70px));
  width: 42px;
  height: 42px;
}

.valuation-section::after {
  right: max(18px, calc((100vw - 1160px) / 2 - 90px));
  bottom: 16%;
  width: 82px;
  height: 82px;
  animation-delay: -5s;
  animation-duration: 14s;
}

.valuation-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.valuation-heading h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
}

.valuation-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: #686872;
  font-size: 1.08rem;
}

.valuation-heading.compact {
  margin-top: 88px;
  margin-bottom: 38px;
}

.valuation-card {
  overflow: hidden;
  width: min(980px, 100%);
  margin: 0 auto;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 28px 70px rgba(44, 36, 36, 0.16),
    0 10px 0 rgba(30, 30, 30, 0.08);
}

.valuation-card-head {
  padding: clamp(28px, 5vw, 44px) clamp(26px, 5vw, 48px);
  color: var(--white);
  background: linear-gradient(135deg, #ff4944, #f2413c);
}

.valuation-card-head h3 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 950;
}

.valuation-card-head p {
  margin: 6px 0 0;
  font-weight: 800;
}

.valuation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fbfbfb;
}

.valuation-steps button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  border: 0;
  color: #666a70;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
}

.valuation-steps button::after {
  position: absolute;
  right: 14%;
  bottom: 0;
  left: 14%;
  height: 3px;
  content: "";
  background: transparent;
}

.valuation-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #ececec;
  box-shadow: 0 7px 18px rgba(30, 30, 30, 0.12);
  font-size: 0.82rem;
}

.valuation-steps button.is-active {
  color: var(--clay);
}

.valuation-steps button.is-active::after {
  background: var(--clay);
}

.valuation-steps button.is-active span {
  color: var(--white);
  background: var(--clay);
}

.valuation-panel {
  padding: clamp(28px, 5vw, 48px);
}

.valuation-panel h3 {
  margin-bottom: 24px;
  font-size: 1.35rem;
  font-weight: 950;
}

.property-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.property-types label,
.valuation-chips label,
.condition-options label {
  cursor: pointer;
}

.property-types input,
.valuation-chips input,
.condition-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.property-types span {
  display: grid;
  width: 136px;
  min-height: 78px;
  place-items: center;
  gap: 6px;
  border: 1px solid rgba(30, 30, 30, 0.16);
  border-radius: 14px;
  color: #3f4550;
  background: #fbfbfb;
  box-shadow: 0 4px 0 rgba(30, 30, 30, 0.08);
  font-size: 0.9rem;
  font-weight: 850;
}

.property-types svg {
  width: 24px;
  height: 24px;
}

.property-types input:checked + span {
  border-color: var(--clay);
  color: var(--clay);
  background: #fff2f1;
  box-shadow: 0 12px 28px rgba(231, 65, 58, 0.16);
}

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

.valuation-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #555b67;
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.valuation-field.full {
  grid-column: 1 / -1;
}

.valuation-field input,
.valuation-field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(30, 30, 30, 0.15);
  border-radius: 14px;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 15px rgba(30, 30, 30, 0.08);
  font: inherit;
  font-size: 1rem;
  text-transform: none;
}

.valuation-field input:focus,
.valuation-field select:focus {
  outline: 3px solid rgba(231, 65, 58, 0.14);
  border-color: var(--clay);
}

.valuation-group {
  margin-top: 12px;
}

.valuation-group > span {
  display: block;
  margin-bottom: 10px;
  color: #555b67;
  font-size: 0.9rem;
  font-weight: 900;
}

.valuation-chips,
.condition-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.valuation-chips span,
.condition-options span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: 10px;
  padding: 9px 16px;
  background: #f8f8f8;
  box-shadow: 0 4px 0 rgba(30, 30, 30, 0.06);
  font-weight: 850;
}

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

.condition-options span {
  width: 100%;
}

.valuation-chips input:checked + span,
.condition-options input:checked + span {
  border-color: var(--clay);
  color: var(--clay);
  background: #fff2f1;
  box-shadow: 0 12px 28px rgba(231, 65, 58, 0.12);
}

.analysis-box {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 36px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(30, 30, 30, 0.12);
  text-align: center;
}

.analysis-box p {
  margin: 0;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analysis-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.analysis-sources span {
  padding: 7px 12px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 850;
}

.analysis-loader {
  width: 54px;
  height: 54px;
  border: 5px solid rgba(231, 65, 58, 0.16);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.analysis-box.is-done .analysis-loader {
  animation: none;
}

.locked-estimate {
  display: grid;
  gap: 16px;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: linear-gradient(135deg, #ff4843, #c72d24);
  text-align: center;
}

.locked-estimate p {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locked-estimate strong {
  display: block;
  filter: blur(8px);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  user-select: none;
}

.locked-estimate span {
  max-width: 560px;
  margin: 0 auto;
  font-weight: 850;
}

.valuation-note {
  color: var(--muted);
}

.valuation-success {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  color: #13794a;
  background: rgba(19, 121, 74, 0.1);
  font-weight: 850;
}

.valuation-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 0 clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

.valuation-actions .button {
  margin-top: 28px;
  min-width: 170px;
}

.valuation-actions .button.primary {
  margin-left: auto;
}

.transactions-block {
  margin-top: 34px;
}

.transactions-table-wrap {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(30, 30, 30, 0.1);
}

.transactions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
}

.transactions-head h3 {
  font-size: 1.25rem;
  font-weight: 950;
}

.transactions-head span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #0d9b60;
  background: rgba(13, 155, 96, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th,
.transactions-table td {
  padding: 15px 22px;
  border-top: 1px solid rgba(30, 30, 30, 0.08);
  text-align: left;
}

.transactions-table th {
  color: var(--white);
  background: #66666e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.transactions-table td {
  color: #666a70;
  font-weight: 650;
}

.transactions-table td:nth-child(4) {
  color: var(--clay);
  font-weight: 950;
}

.two-col,
.proof-layout,
.contact-layout,
.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.intro-section p,
.method-section p,
.proof-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.profile-section {
  background: var(--neutral);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: clamp(56px, 8vw, 92px);
}

.profile-photo-wrap {
  justify-self: center;
  width: min(330px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 54px rgba(30, 30, 30, 0.12);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.profile-sector {
  margin: 16px 0 18px;
  color: var(--clay);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
}

.profile-links {
  display: grid;
  gap: 10px;
  width: fit-content;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.profile-links svg {
  width: 20px;
  height: 20px;
}

.area-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.area-section::before {
  top: 22%;
  right: 9%;
  width: 30px;
  height: 30px;
  animation-delay: -3s;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 78px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.area-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(231, 65, 58, 0.24);
  border-radius: 999px;
  color: var(--ink);
  background: #fff7f6;
  font-size: 0.9rem;
  font-weight: 850;
}

.services-section,
.proof-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.services-section::before {
  left: 7%;
  bottom: 10%;
  width: 54px;
  height: 54px;
  animation-delay: -6s;
  animation-duration: 13s;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.service-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 252px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:hover,
.listing-card:hover {
  border-color: rgba(231, 65, 58, 0.44);
  box-shadow: var(--soft-shadow);
  transform: translateY(-6px);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--clay);
}

.service-card p {
  color: var(--muted);
}

.listings-section {
  background: #f3f0ef;
}

.listings-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.listings-heading h2 {
  max-width: 780px;
}

.listing-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.listing-filters label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.listing-filters select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(30, 30, 30, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

.listing-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(30, 30, 30, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.listing-filters svg {
  width: 18px;
  height: 18px;
}

.admin-link {
  flex: 0 0 auto;
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card,
.listing-card,
.article-card,
blockquote,
.proof-list div,
.contact-panel,
.valuation-card,
.transactions-table-wrap {
  animation: softLiftIn 700ms ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

.listing-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.listing-image {
  position: relative;
  min-height: 232px;
  background: #d6ded7 center / cover;
  transition: transform 500ms ease;
}

.listing-card:hover .listing-image {
  transform: scale(1.03);
}

.listing-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(36, 54, 44, 0.9);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 900;
}

.status-badge.available {
  background: #17864f;
}

.status-badge.pending {
  background: #e7842f;
}

.status-badge.sold {
  background: #d93932;
}

.detail-status {
  display: inline-flex;
  width: fit-content;
  margin: 10px 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.listing-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  background: var(--white);
}

.listing-gallery span {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #d6ded7 center / cover;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.listing-gallery span:hover {
  opacity: 0.84;
  transform: scale(0.98);
}

.listing-content {
  padding: 24px;
}

.listing-location {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-content strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.55rem;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.listing-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.listing-content p:last-of-type {
  color: var(--muted);
}

.listing-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--clay);
  font-weight: 900;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.listing-button:hover {
  background: #d93630;
  transform: translateY(-2px);
}

.listing-button svg {
  width: 18px;
  height: 18px;
}

.empty-listings {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
}

.blog-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.blog-section::before {
  top: 16%;
  right: 12%;
  width: 46px;
  height: 46px;
  animation-delay: -2.5s;
  animation-duration: 10s;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.article-card:hover {
  border-color: rgba(231, 65, 58, 0.44);
  box-shadow: var(--soft-shadow);
  transform: translateY(-6px);
}

.article-card button {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.article-image {
  display: block;
  min-height: 210px;
  background: #f3f0ef center / cover;
}

.article-content {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.article-content small {
  color: var(--clay);
  font-weight: 950;
  text-transform: uppercase;
}

.article-content strong {
  font-size: 1.28rem;
  line-height: 1.05;
  font-weight: 950;
}

.article-content span {
  color: var(--muted);
}

.article-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(860px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.article-dialog::backdrop {
  background: rgba(30, 30, 30, 0.62);
  backdrop-filter: blur(10px);
}

.article-detail {
  overflow: auto;
  max-height: min(860px, calc(100vh - 32px));
}

.article-detail-image {
  min-height: 360px;
  background: #f3f0ef center / cover;
}

.article-detail-body {
  padding: clamp(28px, 5vw, 56px);
}

.article-detail-body p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.article-admin-layout {
  margin-top: 28px;
}

.listing-dialog {
  width: min(1160px, calc(100% - 32px));
  max-height: min(900px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
}

.listing-dialog::backdrop {
  background: rgba(12, 18, 14, 0.62);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: fixed;
  z-index: 3;
  top: max(28px, calc((100vh - min(900px, calc(100vh - 32px))) / 2 + 18px));
  right: max(28px, calc((100vw - min(1160px, calc(100% - 32px))) / 2 + 18px));
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
}

.listing-detail {
  overflow: auto;
  max-height: min(900px, calc(100vh - 32px));
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 8px;
  padding: 8px;
  background: #111714;
}

.detail-hero,
.detail-thumbs span {
  background: #d6ded7 center / cover;
}

.detail-hero {
  position: relative;
  min-height: 500px;
  border-radius: 16px 4px 4px 16px;
  transition: background-image 160ms ease;
}

.hero-photo-open {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-thumbs {
  display: grid;
  gap: 8px;
  overflow: auto;
  max-height: 500px;
}

.detail-thumbs button {
  display: block;
  width: 100%;
  min-height: 116px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.detail-thumbs button.is-active {
  border-color: var(--clay);
}

.detail-thumbs span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 116px;
  border-radius: 4px;
}

.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.gallery-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev {
  left: 18px;
}

.gallery-nav.next {
  right: 18px;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
}

.gallery-count {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 23, 20, 0.72);
  font-size: 0.88rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.photo-lightbox {
  width: min(1180px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #111714;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.45);
}

.photo-lightbox::backdrop {
  background: rgba(12, 18, 14, 0.78);
  backdrop-filter: blur(10px);
}

.photo-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 24px);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  z-index: 4;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(26px, 5vw, 54px);
}

.detail-main h2 {
  max-width: 760px;
}

.detail-price {
  display: block;
  margin: 18px 0 34px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.detail-description {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-side {
  position: sticky;
  top: 18px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
}

.detail-side ul {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.detail-side li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.detail-map-card {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.detail-map-card h3 {
  margin-top: 10px;
}

.detail-map-static {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(182, 104, 75, 0.16), transparent 32%),
    linear-gradient(45deg, rgba(97, 114, 101, 0.2), transparent 44%),
    #e7eadf;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background:
    linear-gradient(90deg, transparent 0 38%, rgba(255, 255, 255, 0.7) 38% 41%, transparent 41%),
    linear-gradient(0deg, transparent 0 52%, rgba(255, 255, 255, 0.7) 52% 55%, transparent 55%),
    repeating-linear-gradient(28deg, transparent 0 36px, rgba(97, 114, 101, 0.16) 37px 39px);
}

.map-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border: 7px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: #f0443e;
  box-shadow: 0 14px 28px rgba(240, 68, 62, 0.28);
  transform: translate(-50%, -64%) rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 7px;
  content: "";
  border-radius: 50%;
  background: var(--white);
}

.detail-map-static strong {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(23, 32, 27, 0.08);
  font-size: 0.88rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clay);
  font-weight: 900;
}

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

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

.energy-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.energy-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfaf7;
}

.energy-card h4 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.energy-scale {
  display: grid;
  gap: 5px;
}

.energy-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 36px auto;
  gap: 10px;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
}

.energy-row span {
  font-size: 0.82rem;
}

.energy-row em {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-style: normal;
}

.energy-row:not(.is-active) {
  opacity: 0.55;
}

.energy-a {
  background: #199c5d;
}

.energy-b {
  background: #52b848;
}

.energy-c {
  background: #b6d833;
}

.energy-d {
  background: #f2cf2f;
}

.energy-e {
  background: #ef9f27;
}

.energy-f {
  background: #e55f2b;
}

.energy-g {
  background: #cc2b28;
}

.energy-card small,
.energy-empty {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.method-section {
  background: #e9eee9;
}

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(36, 54, 44, 0.15);
}

.steps li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 26px;
  background: #f3f0ef;
}

.steps span {
  color: var(--clay);
  font-weight: 900;
}

.steps p {
  margin: 8px 0 0;
  font-size: 0.98rem;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-weight: 800;
}

.proof-list svg {
  color: var(--clay);
}

.reviews-section {
  background: var(--clay);
  color: var(--white);
}

.reviews-section .eyebrow {
  color: #ffffff;
}

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

blockquote {
  min-height: 220px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

blockquote p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

cite {
  color: #ffffff;
  font-style: normal;
  font-weight: 900;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(247, 244, 238, 0.9), rgba(247, 244, 238, 0.9)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.contact-section::before {
  right: 8%;
  bottom: 14%;
  width: 72px;
  height: 72px;
  animation-delay: -4s;
  animation-duration: 12s;
}

.contact-panel {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  color: var(--forest);
  font-weight: 800;
}

.contact-panel svg {
  color: var(--clay);
}

.site-footer {
  background: var(--clay);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.admin-body {
  background: #edf1ed;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login[hidden] {
  display: none;
}

.admin-login-card {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
}

.admin-login-card p {
  margin: 0;
  color: var(--muted);
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
}

.admin-login-card input {
  min-height: 48px;
  border: 1px solid rgba(36, 54, 44, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.admin-login-error {
  padding: 12px 14px;
  border-radius: 12px;
  color: #b52922;
  background: rgba(231, 65, 58, 0.1);
  font-weight: 850;
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.admin-header h1 {
  color: var(--forest);
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.admin-header p {
  max-width: 720px;
  color: var(--muted);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.request-admin-layout {
  display: block;
  margin-bottom: 28px;
}

.request-panel {
  position: static;
}

.admin-form,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(23, 32, 27, 0.08);
  backdrop-filter: blur(18px);
}

.admin-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

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

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(36, 54, 44, 0.22);
  border-radius: 12px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(182, 104, 75, 0.16);
  border-color: rgba(182, 104, 75, 0.65);
}

.admin-form input[type="file"] {
  padding: 9px;
  background: var(--white);
}

.admin-form textarea {
  resize: vertical;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-height: 92px;
  padding: 12px;
  border: 1px dashed rgba(36, 54, 44, 0.28);
  border-radius: 8px;
  background: #fbfaf7;
}

.photo-preview p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.admin-panel {
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head h2 {
  font-size: 1.45rem;
}

.admin-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.admin-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.admin-item.is-editing {
  background: #fff7ef;
  box-shadow: inset 4px 0 0 var(--clay);
}

.admin-item strong,
.admin-item span {
  display: block;
}

.admin-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-item button,
.admin-item-actions a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  background: #fbfaf7;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.admin-item button:hover,
.admin-item-actions a:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.admin-item svg,
.admin-item-actions a svg {
  width: 18px;
  height: 18px;
}

.request-item.is-done {
  background: #f2fbf5;
  box-shadow: inset 4px 0 0 #15945d;
}

.admin-empty,
.admin-note {
  margin: 0;
  padding: 20px;
  background: var(--white);
}

.admin-note {
  border-top: 1px solid var(--line);
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, -10px, 0);
  }
}

@keyframes redDotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  35% {
    transform: translate3d(14px, -18px, 0) scale(1.06);
  }
  68% {
    transform: translate3d(-12px, 12px, 0) scale(0.94);
  }
}

@keyframes softLiftIn {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (min-width: 901px) and (min-height: 900px) {
  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 168px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .main-nav {
    display: none;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-content {
    padding: 118px 0 54px;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: 100%;
    transform: none;
    padding: 34px 18px;
    gap: 18px;
  }

  .hero-strip div {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .two-col,
  .proof-layout,
  .contact-layout,
  .method-layout,
  .area-layout,
  .profile-layout,
  .detail-body {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    text-align: center;
  }

  .profile-links {
    margin: 0 auto;
  }

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

  .detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }

  .detail-hero {
    min-height: 360px;
    border-radius: 16px;
  }

  .detail-side {
    position: static;
  }

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

  .listing-card.reveal,
  .listing-card.reveal.is-visible {
    opacity: 1;
    transform: none;
  }

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

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

  .valuation-row,
  .condition-options {
    grid-template-columns: 1fr;
  }

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

  .transactions-table {
    min-width: 760px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-header {
    flex-direction: column;
  }

  .admin-header-actions {
    justify-content: flex-start;
  }

  .admin-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 76px;
    padding: 10px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-photo {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 1.16rem;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 42px;
  }

  .hero-dot {
    opacity: 0.8;
  }

  .dot-one {
    top: 84px;
    right: 28px;
    left: auto;
    width: 42px;
    height: 42px;
  }

  .dot-two,
  .dot-three,
  .dot-four {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .listings-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-link {
    width: 100%;
  }

  .service-grid,
  .listing-grid,
  .review-grid,
  .article-grid,
  .energy-layout {
    grid-template-columns: 1fr;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .listing-filters {
    grid-template-columns: 1fr;
  }

  .valuation-card {
    border-radius: 20px;
  }

  .valuation-card-head,
  .valuation-panel {
    padding: 24px 18px;
  }

  .valuation-steps button {
    min-height: 62px;
    gap: 7px;
    font-size: 0.78rem;
  }

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

  .property-types span {
    width: 100%;
  }

  .valuation-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 0 18px 24px;
  }

  .valuation-actions .button {
    width: 100%;
    margin-top: 16px;
  }

  .valuation-actions .button.primary {
    margin-left: 0;
  }

  .transactions-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .dialog-close {
    top: 18px;
    right: 18px;
  }

  .listing-detail {
    max-height: calc(100vh - 20px);
  }

  .detail-body {
    padding: 22px;
  }

  .detail-hero {
    min-height: 280px;
  }

  .detail-thumbs span {
    min-height: 86px;
  }

  .detail-thumbs button {
    min-height: 86px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
    padding: 20px;
  }

  .admin-shell {
    width: calc(100% - 32px);
    padding-top: 28px;
  }

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

  .admin-panel-head,
  .admin-actions,
  .admin-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

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