/* QR-Vito 2.1: image-led public pages with the original green brand. */
:root {
  --page: #fafbf8;
  --ink: #17251d;
  --muted: #68746b;
  --line: #e3e9e2;
}
body {
  background: var(--page);
  color: var(--ink);
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header .button {
  border-radius: 8px;
}
.demo-strip {
  background: #edf5e9;
  color: #526d51;
  font-size: 11px;
}
.welcome {
  padding: 42px 0 10px;
  background: linear-gradient(180deg, #fff 0%, #f5f7f1 100%);
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.welcome-copy {
  padding: 8px 0 20px;
}
.welcome .eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #49694b;
}
.green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a8f3c;
  display: inline-block;
}
.welcome h1 {
  font-size: clamp(42px, 4.4vw, 65px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  font-weight: 650;
  margin: 24px 0;
}
.welcome h1 span {
  color: #0a8f3c;
}
.welcome-copy > p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 27px 0;
}
.welcome-actions .button {
  min-height: 48px;
  border-radius: 8px;
}
.welcome-features {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #637267;
  font-size: 11px;
}
.welcome-features span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.welcome-features svg {
  width: 16px;
  height: 16px;
}
.welcome-visual {
  height: 475px;
  position: relative;
  margin-bottom: 20px;
}
.welcome-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 130px 12px 12px 12px;
  display: block;
}
.image-disclosure {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #ffffffdc;
  color: #536552;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 10px;
}
.welcome-note {
  display: flex;
  gap: 14px;
  align-items: center;
  position: absolute;
  right: 20px;
  left: 38px;
  bottom: -20px;
  padding: 20px;
  background: #fffffff5;
  box-shadow: 0 15px 45px #213d2114;
  border: 1px solid #e8eee5;
  border-radius: 12px;
}
.welcome-note strong {
  font-size: 15px;
}
.welcome-note p {
  font-size: 11px;
  margin: 5px 0 7px;
  color: var(--muted);
}
.welcome-note a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0a8f3c;
  font-size: 12px;
  font-weight: 600;
}
.welcome-note a svg {
  width: 15px;
}
.property-search {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 38px 0 12px;
  box-shadow: 0 8px 30px #19321905;
}
.search-intro {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.search-intro strong {
  font-size: 15px;
}
.search-intro span {
  font-size: 11px;
  color: var(--muted);
}
.property-search .search-grid {
  grid-template-columns: 1.3fr 1.5fr 0.9fr 1fr auto;
}
.property-search .input-wrap {
  background: #f8faf6;
  border-color: #e2e8df;
  min-width: 0;
}
.property-search .input-wrap input,
.property-search .input-wrap select {
  font-size: 12px;
  width: 100%;
  min-width: 0;
  background: transparent;
}
.section-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #70896c;
  margin-bottom: 12px;
}
.section-title h2,
.services-title h2 {
  font-size: 31px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.section-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.featured-section {
  padding-top: 58px;
}
.property-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px #263e2112;
}
.card-photo {
  aspect-ratio: 1.55;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.property-card:hover .card-photo img {
  transform: scale(1.035);
}
.property-card .heart {
  background: #ffffffed;
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.card-photo > .badge {
  background: #ffffffed;
  color: #39613e;
  border-radius: 5px;
  font-size: 10px;
}
.card-body {
  padding: 19px 20px 0;
}
.card-body .price {
  color: #162f1d;
  font-size: 23px;
  letter-spacing: -0.5px;
}
.card-title {
  margin-top: 9px;
  font-size: 15px;
}
.card-address {
  font-size: 11px;
  margin-top: 10px;
  line-height: 1.5;
}
.card-details {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0 16px;
  font-size: 11px;
  color: #586a5c;
}
.card-details span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.card-details svg {
  width: 14px;
  height: 14px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ecf0e9;
  padding: 13px 0;
  font-size: 10px;
  color: #768571;
}
.card-bottom svg {
  width: 15px;
  color: #0a8f3c;
}
.services-band {
  background: #edf2e8;
  border: 1px solid #e2e9dc;
  border-radius: 14px;
  padding: 36px;
}
.services-title {
  margin-bottom: 26px;
}
.services-title p {
  max-width: 530px;
  font-size: 13px;
  line-height: 1.7;
}
.service-card {
  border-color: #e0e8dc;
  border-radius: 10px;
  box-shadow: none;
}
.service-icon {
  background: #eaf4e5;
  color: #387b40;
  border-radius: 12px;
}
.step-number {
  background: transparent;
  color: #b2c5a6;
  padding: 0;
  font-size: 40px;
  font-weight: 500;
}
.step {
  border-left: 1px solid #dce5d6;
  padding-left: 24px;
}
.step h3 {
  font-size: 17px;
  margin-top: 14px;
}
.step p {
  font-size: 13px;
  line-height: 1.8;
}
.seller-banner {
  margin: 0 0 65px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  padding: 35px;
  background: #e8efdf;
  border-radius: 14px;
  align-items: center;
}
.seller-banner h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.seller-banner p {
  max-width: 400px;
  line-height: 1.8;
  font-size: 13px;
  margin: 15px 0 23px;
  color: #62715e;
}
.seller-banner img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 9px;
}
.gallery {
  height: 450px;
  border-radius: 13px;
  gap: 8px;
}
.gallery-button {
  position: relative;
}
.gallery-button::after {
  content: "Увеличить";
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 10px;
  background: #fffdf6e8;
  border-radius: 5px;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-button:hover::after,
.gallery-button:focus-visible::after {
  opacity: 1;
}
.photo-number {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #438148;
  padding-bottom: 7px;
}
.photo-order {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
}
.photo-order .button {
  flex: 1;
  min-width: 0;
}
.upload-previews > div {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
}
.chat-pagination {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  align-items: center;
  gap: 12px;
}
.chat-pagination .link-button {
  font-size: 11px;
}
[aria-invalid="true"] {
  border-color: #b24a34 !important;
  box-shadow: 0 0 0 2px #b24a3412;
}
.skip-link {
  position: fixed;
  top: 6px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: #0a8f3c;
  color: #fff;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
#main-content:focus {
  outline: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
@media (max-width: 1100px) {
  .welcome-grid {
    gap: 25px;
  }
  .welcome h1 {
    font-size: 51px;
  }
  .welcome-visual {
    height: 420px;
  }
  .property-search .search-grid {
    grid-template-columns: 1.1fr 1.2fr 1fr auto;
  }
  .property-search .rooms-field {
    display: none;
  }
  .welcome-note {
    left: 20px;
    padding: 15px;
  }
  .section-title h2 {
    font-size: 27px;
  }
}
@media (max-width: 800px) {
  .welcome {
    padding-top: 27px;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .welcome h1 {
    font-size: 49px;
    letter-spacing: -1.8px;
  }
  .welcome-copy {
    padding: 0;
  }
  .welcome-copy > p {
    max-width: 95%;
    font-size: 14px;
  }
  .welcome-visual {
    height: 320px;
    margin-bottom: 14px;
  }
  .welcome-visual > img {
    border-radius: 65px 10px 10px 10px;
    object-position: center 55%;
  }
  .welcome-note {
    left: 22px;
    right: 22px;
    bottom: -16px;
  }
  .welcome-features {
    font-size: 10px;
    gap: 15px;
  }
  .welcome .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .property-search {
    margin-top: 30px;
    padding: 17px;
  }
  .property-search .search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .property-search .search-grid > .button {
    grid-column: auto;
  }
  .search-intro {
    flex-direction: column;
    gap: 5px;
  }
  .section-title h2,
  .services-title h2 {
    font-size: 26px;
  }
  .section-title {
    align-items: flex-start;
    gap: 14px;
  }
  .section-title > a {
    font-size: 11px;
    white-space: nowrap;
  }
  .services-band {
    padding: 24px 18px;
  }
  .seller-banner {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }
  .seller-banner h2 {
    font-size: 28px;
  }
  .seller-banner img {
    height: 230px;
  }
  .gallery {
    height: 330px;
  }
  .featured-section {
    padding-top: 35px;
  }
  .card-body {
    padding: 16px 15px 0;
  }
  .card-body .price {
    font-size: 22px;
  }
}
@media (max-width: 540px) {
  .welcome h1 {
    font-size: 45px;
  }
  .welcome-visual {
    height: 260px;
  }
  .welcome-actions {
    gap: 8px;
  }
  .welcome-actions .button {
    font-size: 11px;
    padding: 11px 13px;
  }
  .welcome-note {
    padding: 13px;
    gap: 10px;
  }
  .welcome-note .service-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
  .welcome-note strong {
    font-size: 13px;
  }
  .welcome-note p {
    font-size: 10px;
  }
  .welcome-note a {
    font-size: 11px;
  }
  .section-title {
    flex-direction: column;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .section-caption {
    font-size: 12px;
  }
  .gallery {
    height: 245px;
  }
  .card-photo {
    aspect-ratio: 1.55;
  }
  .chat-pagination {
    gap: 7px;
    font-size: 10px;
  }
  .chat-pagination .link-button {
    font-size: 10px;
  }
  .property-search .search-grid {
    grid-template-columns: 1fr;
  }
  .property-search .search-grid > .button {
    min-height: 46px;
  }
  .step {
    padding-left: 18px;
  }
  .seller-banner img {
    height: 205px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.auth-art {
  background:
    linear-gradient(0deg, #0f342be6, #15472922),
    url("assets/residence-v2.webp") center/cover;
}
