:root {
  --blue: #1a5fb4;
  --blue-dark: #0d3d7a;
  --blue-deep: #0a2540;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --hero-sky: #dce8f5;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(15, 45, 90, 0.08);
  --container: min(1200px, calc(100% - 48px));
  --font: "Inter", system-ui, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container { width: var(--container); margin-inline: auto; }

.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2,
.why h2,
.reviews h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; }
.section-head__link {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.section-head__link:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #164fa0; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }

.link-inline {
  color: var(--blue);
  text-decoration: underline;
  padding: 0;
  font: inherit;
}
.link-inline:hover { color: var(--blue-dark); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__text { font-weight: 700; font-size: 1.1rem; color: var(--text); }
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}
.nav a:hover { color: var(--blue); }
.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.header__phone {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header__callback {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 500;
}
.header__callback:hover { text-decoration: underline; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 52vh, 560px);
  overflow: hidden;
  background: var(--hero-sky);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--hero-sky) 0%,
    var(--hero-sky) 24%,
    rgba(220, 232, 245, 0.94) 36%,
    rgba(220, 232, 245, 0.72) 46%,
    rgba(220, 232, 245, 0.38) 56%,
    rgba(220, 232, 245, 0.12) 64%,
    transparent 72%
  );
}
.hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__media img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, black 24%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, black 24%, black 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 120px;
}
.hero__content {
  max-width: 560px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}
.hero__lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero__link span { font-size: 1.1em; }

/* Search */
.search {
  margin-top: -72px;
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 32px 20px;
}
.search-card__title {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
}
.search-card__fields {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.4fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.field__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field select,
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text);
}
.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.search-card__submit { height: 46px; padding-inline: 32px; white-space: nowrap; }
.search-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 25px;
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.search-card__tags-label { margin-right: 4px; }
.search-card__tags a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.search-card__tags a:hover { text-decoration: underline; }

/* Catalog */
.catalog { background: var(--bg-soft); padding-top: 48px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.property-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.property-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}
.property-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
}
.property-card[data-fav="true"] .property-card__fav {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a5fb4' stroke='%231a5fb4' stroke-width='1'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}
.property-card__body { padding: 14px; }
.property-card__price {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1rem;
}
.property-card h3 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 600;
}
.property-card__loc {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.property-card__tags {
  display: flex;
  gap: 6px;
}
.property-card__tags span {
  font-size: 0.72rem;
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Features */
.features { padding: 40px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.features-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: 124px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}
.features-grid__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
}
.features-grid__icon img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}
.features-grid li > span:last-child {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

/* Realtor CTA */
.realtor {
  background: var(--blue-deep);
  color: #fff;
  padding: 12px 0;
}
.realtor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) clamp(268px, 20vw, 310px);
  gap: 24px 32px;
  align-items: center;
}
.realtor__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.realtor h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}
.realtor__text p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  font-size: 0.95rem;
}
.realtor__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.realtor__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.realtor__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.realtor__photo {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  height: 320px;
  justify-self: end;
  line-height: 0;
  background: #fff;
}
.realtor__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transform: scale(1.42);
  transform-origin: 50% 16%;
}

/* Stats */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat {
  padding: 8px 16px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--blue);
  font-weight: 700;
  line-height: 1.1;
}
.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Why */
.why { background: var(--bg-soft); }
.why h2 { margin: 0 0 32px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.why-grid article {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.why-grid__icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.why-grid__icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.why-grid__body {
  flex: 1;
  min-width: 0;
}
.why-grid h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
}
.why-grid p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Reviews */
.reviews { background: var(--bg-soft); padding-top: 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card__head strong {
  display: block;
  font-size: 0.95rem;
}
.review-card__head span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.review-card p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.stars {
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* Lead form */
.lead { padding-bottom: 64px; }
.lead-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.lead-card__img { min-height: 320px; }
.lead-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-card__form-wrap {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-card__form-wrap h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}
.lead-card__sub {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.lead-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}
.lead-form__privacy input { margin-top: 3px; flex-shrink: 0; }

/* Footer */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer__brand p {
  margin: 12px 0 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.45;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.footer__social a:hover { border-color: var(--blue); }
.footer__social a svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.footer__col h3 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.footer__col a,
.footer__address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__col a:hover { color: var(--blue); }
.footer__address { margin: 0; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Modal */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-root[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 50, 0.55);
}
.modal-card {
  position: relative;
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-card--wide { width: min(1120px, calc(100vw - 40px)); }
.modal-card h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  padding-right: 32px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--border); }
body.modal-open { overflow: hidden; }

.modal-form {
  display: grid;
  gap: 16px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.modal-form textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.modal-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.catalog-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.catalog-modal-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.catalog-modal-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.catalog-modal-grid div { padding: 12px; font-size: 0.85rem; }
.catalog-modal-grid__badge {
  display: inline-block;
  margin-bottom: 6px;
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
}

.reviews-modal-list {
  display: grid;
  gap: 16px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--blue-deep);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.toast[hidden] { display: none; }

/* Responsive */
@media (max-width: 1200px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .burger { display: flex; }
  .header__right { display: none; }
  .search-card__fields {
    grid-template-columns: 1fr 1fr;
  }
  .search-card__submit { grid-column: 1 / -1; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .realtor__grid {
    grid-template-columns: 1fr 1fr;
  }
  .realtor__photo {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(300px, 82vw);
    height: 300px;
  }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero__inner { padding-bottom: 100px; }
  .hero__media img {
    object-position: 85% center;
  }
  .search-card { padding: 20px; }
  .search-card__fields { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-card__img { min-height: 220px; }
  .lead-form__row { grid-template-columns: 1fr; }
  .realtor__grid { grid-template-columns: 1fr; }
  .modal-form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --container: calc(100% - 32px); }
  .catalog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  :root {
    --shell-left: max(24px, calc((100vw - 1200px) / 2));
    --shell-width: min(1200px, calc(100vw - 48px));
    --hero-text-width: min(560px, 48%);
    --hero-media-left: calc(var(--shell-left) + var(--hero-text-width));
    --hero-media-width: max(320px, calc(var(--shell-width) - var(--hero-text-width)));
  }

  .hero::before {
    inset: auto;
    top: 0;
    bottom: 0;
    left: var(--shell-left);
    width: var(--shell-width);
    background: linear-gradient(
      90deg,
      var(--hero-sky) 0%,
      var(--hero-sky) 30%,
      rgba(220, 232, 245, 0.94) 40%,
      rgba(220, 232, 245, 0.72) 48%,
      rgba(220, 232, 245, 0.38) 56%,
      rgba(220, 232, 245, 0.12) 62%,
      transparent 70%
    );
  }

  .hero__media {
    inset: auto;
    top: 0;
    bottom: 0;
    left: var(--hero-media-left);
    width: var(--hero-media-width);
    overflow: hidden;
  }

  .hero__media img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
  }
}

@media (min-width: 1920px) {
  .realtor__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) 310px;
  }
}
