:root {
  --bg:#081820;
  --card:#102832;
  --text:#f1eee8;
  --muted:#9baeb5;
  --sand:#c8a96b;
  --sea:#3f8490;
  --line:rgba(155,174,181,.19)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:15px;
  line-height:1.6
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
a,button {
  touch-action:manipulation
}
img {
  max-width:100%;
  display:block
}
button {
  cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible {
  outline:2px solid var(--sand);
  outline-offset:5px
}
.container {
  width:min(1240px,calc(100% - 112px));
  margin:auto
}
.header {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:20;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:rgba(8,24,32,.24);
  transition:background .3s;
  backdrop-filter:blur(12px)
}
.header.scrolled {
  background:rgba(8,24,32,.96)
}
.header-inner {
  height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}
.brand {
  flex-shrink:0
}
nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-size:13px
}
nav>a:not(.button) {
  color:#e1e4e2
}
nav>a:hover,.text-link:hover {
  color:var(--sand)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:var(--sand);
  color:#102129;
  padding:17px 23px;
  border:1px solid var(--sand);
  border-radius:3px;
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  transition:background .2s,transform .2s
}
.button:hover {
  background:#ddc28e;
  transform:translateY(-2px)
}
.button span {
  font-size:20px;
  line-height:1
}
.button-small {
  padding:12px 18px;
  gap:22px
}
.menu-toggle {
  display:none
}
.hero {
  position:relative;
  min-height:850px;
  height:min(940px,100svh);
  overflow:hidden;
  display:flex;
  align-items:center
}
.hero-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:65% 48%;
  animation:appear 1s ease both
}
.hero-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(8,24,32,.96) 0%,rgba(8,24,32,.83) 32%,rgba(8,24,32,.21) 75%),linear-gradient(0deg,#081820 0%,transparent 48%,rgba(8,24,32,.2))
}
.hero-content {
  position:relative;
  z-index:2;
  padding-top:115px;
  padding-bottom:80px;
  animation:appear 1s ease both
}
.eyebrow {
  font-size:10px;
  letter-spacing:2.3px;
  font-weight:600;
  color:var(--sand);
  margin:0 0 28px;
  display:flex;
  align-items:center;
  gap:10px
}
.dot {
  width:5px;
  height:5px;
  background:var(--sand);
  border-radius:50%
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:clamp(46px,4.9vw,72px);
  font-weight:400;
  letter-spacing:-2.8px;
  line-height:1.1;
  margin-bottom:25px
}
em {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  color:var(--sand)
}
h1 em {
  font-size:.82em;
  letter-spacing:-1.6px;
  white-space:nowrap
}
.hero-description {
  font-size:15px;
  color:#c3cdd0;
  line-height:1.8;
  max-width:480px
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:32px
}
.text-link {
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid #637277;
  padding:10px 0
}
.text-link span {
  font-size:18px
}
.hero-stats {
  display:flex;
  gap:48px;
  margin-top:58px
}
.hero-stats>div+div {
  border-left:1px solid rgba(255,255,255,.16);
  padding-left:36px
}
.hero-stats strong {
  font-size:34px;
  font-weight:400;
  letter-spacing:-1px;
  line-height:1.3
}
.hero-stats strong span {
  color:var(--sand);
  font-size:23px
}
.hero-stats .stat-text {
  font-size:25px;
  line-height:1.75
}
.hero-stats p {
  font-size:10px;
  color:var(--muted);
  margin:5px 0 0
}
.hero-caption {
  position:absolute;
  right:56px;
  bottom:68px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:9px;
  font-size:9px;
  letter-spacing:2px;
  color:#b8c4c8
}
.hero-caption span+span {
  font-size:8px;
  color:var(--sand)
}
.waves {
  position:absolute;
  bottom:0;
  width:100%;
  height:140px;
  fill:none;
  stroke:var(--sea);
  stroke-width:.5;
  opacity:.25;
  pointer-events:none
}
.section {
  padding:100px 0
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:35px;
  margin-bottom:45px
}
h2 {
  font-weight:400;
  font-size:clamp(32px,3.2vw,46px);
  letter-spacing:-1.5px;
  line-height:1.2;
  margin-bottom:0
}
.section-heading>p {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  margin:0 0 3px
}
.benefits {
  padding-top:70px
}
.benefit-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
.benefit {
  padding:30px 27px;
  background:linear-gradient(130deg,var(--card),#0d222c);
  border:1px solid var(--line);
  border-radius:4px;
  position:relative
}
.benefit svg {
  width:37px;
  height:37px;
  fill:none;
  stroke:var(--sand);
  stroke-width:1.2;
  margin-bottom:32px
}
.number {
  position:absolute;
  top:30px;
  right:27px;
  color:#80969f;
  font-size:11px
}
.benefit h3 {
  font-size:17px;
  font-weight:400;
  margin-bottom:13px;
  letter-spacing:-.3px
}
.benefit p {
  font-size:13px;
  color:var(--muted);
  margin:0;
  line-height:1.85
}
.properties {
  background:#0b1d26;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}
.property-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px
}
.property {
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden
}
.property-picture {
  position:relative;
  aspect-ratio:1.8;
  overflow:hidden
}
.property-picture img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s
}
.tag {
  position:absolute;
  top:19px;
  left:20px;
  letter-spacing:1.5px;
  font-size:8px;
  background:rgba(8,24,32,.8);
  padding:6px 11px;
  border:1px solid #ffffff30;
  border-radius:2px
}
.property-index {
  position:absolute;
  right:18px;
  bottom:14px;
  font-size:9px;
  letter-spacing:2px;
  background:#081820a6;
  padding:3px 7px
}
.property-body {
  padding:24px 27px 0
}
.location {
  font-size:11px;
  color:var(--muted);
  margin-bottom:8px
}
.property h3 {
  font-family:Georgia,serif;
  font-size:27px;
  font-weight:400;
  margin-bottom:22px
}
.property-details {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding-bottom:22px;
  font-size:20px
}
.property-details>span:last-child {
  text-align:right;
  color:var(--sand)
}
.property-details small {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.property-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:17px 0;
  color:var(--sand);
  font-size:12px
}
.property-link span {
  font-size:22px
}
.property-link:hover {
  color:var(--text)
}
.source-note {
  font-size:10px;
  color:var(--muted);
  max-width:870px;
  line-height:1.8;
  margin:25px 0 0
}
.source-note a {
  text-decoration:underline
}
.steps {
  padding:0;
  margin:60px 0 0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px
}
.steps li {
  position:relative;
  border-top:1px solid #3a5159;
  padding-top:25px
}
.steps li:before {
  position:absolute;
  content:'';
  top:-4px;
  left:0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--sand)
}
.steps span {
  color:var(--sand);
  font-family:Georgia,serif;
  font-size:33px
}
.steps h3 {
  font-weight:400;
  font-size:18px;
  margin:17px 0 10px
}
.steps p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
  max-width:240px
}
.about {
  background:radial-gradient(ellipse at 0 100%,#14353d 0,transparent 60%),#0d222b;
  border-block:1px solid var(--line)
}
.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px
}
.about h2 {
  font-size:clamp(38px,3.8vw,55px)
}
.about-logo {
  margin-bottom:25px
}
.about-copy>p {
  font-size:14px;
  color:#bac7cb;
  line-height:1.9
}
.trust-list {
  list-style:none;
  padding:5px 0 0;
  margin:0
}
.trust-list li {
  font-size:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
.trust-list li:before {
  content:'✓';
  color:var(--sand);
  margin-right:12px
}
.request {
  padding:110px 0
}
.request-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px
}
.request-description {
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
  margin-top:25px
}
.request-phone {
  display:inline-flex;
  gap:45px;
  font-size:24px;
  margin-top:27px
}
.request-phone span {
  color:var(--sand)
}
.muted {
  font-size:11px;
  color:var(--muted);
  margin:20px 0 8px
}
.contact-links {
  display:flex;
  gap:25px;
  color:var(--sand);
  font-size:12px
}
form {
  padding:32px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:4px
}
form label,legend {
  font-size:11px;
  color:var(--text)
}
.field-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
form>label {
  display:block;
  margin-top:20px
}
input:not([type=checkbox],[type=radio],[type=hidden]) {
  display:block;
  background:#0b2029;
  border:1px solid #31444c;
  border-radius:2px;
  color:var(--text);
  padding:13px 12px;
  width:100%;
  font-size:12px;
  margin-top:8px;
  min-width:0
}
input::placeholder {
  color:#91a4ad;
  opacity:1
}
.optional {
  color:var(--muted);
  float:right;
  font-size:10px
}
fieldset {
  border:0;
  margin:22px 0 0;
  padding:0;
  min-width:0
}
legend {
  padding:0;
  margin-bottom:10px
}
.purpose-options {
  display:flex;
  gap:8px
}
.purpose-options label {
  flex:1;
  position:relative
}
.purpose-options input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}
.purpose-options span {
  display:block;
  text-align:center;
  padding:10px 5px;
  border:1px solid #3d515a;
  border-radius:2px;
  font-size:10px;
  cursor:pointer
}
.purpose-options input:checked+span {
  border-color:var(--sand);
  color:var(--sand);
  background:#c8a96b0a
}
.purpose-options input:focus-visible+span {
  outline:2px solid var(--sand);
  outline-offset:3px
}
.consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:var(--muted);
  font-size:10px;
  margin-top:24px
}
.consent input {
  accent-color:var(--sand);
  margin:3px 0 0;
  flex-shrink:0;
  width:15px;
  height:15px
}
.consent a {
  text-decoration:underline;
  text-underline-offset:3px
}
.form-button {
  width:100%;
  margin-top:23px
}
.form-note {
  font-size:10px;
  color:var(--muted);
  line-height:1.8;
  margin:13px 0 0
}
.selection {
  color:var(--sand);
  font-size:12px;
  margin:18px 0 0
}
footer {
  border-top:1px solid var(--line);
  padding:45px 0 22px;
  background:#07151c
}
.footer-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:35px;
  padding-bottom:38px
}
.footer-top>p {
  color:var(--muted);
  font-size:12px;
  margin:0
}
.footer-contacts {
  text-align:right
}
.footer-contacts>a {
  font-size:18px
}
.footer-contacts>div {
  display:flex;
  gap:20px;
  font-size:10px;
  color:var(--muted);
  margin-top:10px
}
.footer-bottom {
  padding-top:22px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:9px;
  color:var(--muted)
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  background:var(--sand);
  color:var(--bg);
  padding:12px;
  z-index:100
}
.skip:focus {
  top:10px
}
.privacy {
  padding:140px 0 80px;
  max-width:780px
}
.privacy h1 {
  font-size:43px;
  letter-spacing:-1px
}
.privacy h2 {
  font-size:24px;
  margin:32px 0 15px
}
.privacy p {
  color:var(--muted)
}
.privacy a {
  color:var(--sand)
}
[hidden] {
  display:none!important
}
@keyframes appear {
  from {
    opacity:0;
    transform:translateY(16px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }

}
@media(min-width:1600px) {
  .hero {
    height:960px;
    max-height:100svh
  }
  .hero-content {
    padding-top:90px
  }

}
@media(max-width:1100px) {
  .container {
    width:calc(100% - 64px)
  }
  nav {
    gap:18px;
    font-size:11px
  }
  .header-inner {
    gap:20px
  }
  .brand img {
    width:155px
  }
  .button-small {
    padding:11px 12px;
    font-size:11px;
    gap:12px
  }
  .hero {
    min-height:800px
  }
  .hero-caption {
    right:32px;
    bottom:45px
  }
  .about-grid,.request-grid {
    gap:45px
  }
  .hero-stats {
    gap:30px
  }
  .hero-stats>div+div {
    padding-left:25px
  }
  .benefit {
    padding:25px 20px
  }
  .benefit h3 {
    font-size:16px
  }
  .field-grid {
    grid-template-columns:1fr;
    gap:18px
  }
  form {
    padding:25px
  }

}
@media(max-width:800px) {
  .container {
    width:calc(100% - 48px)
  }
  .header-inner {
    height:78px
  }
  .menu-toggle {
    display:flex;
    background:none;
    border:1px solid var(--line);
    width:42px;
    height:38px;
    padding:10px;
    flex-direction:column;
    justify-content:space-around;
    color:var(--text)
  }
  .menu-toggle span {
    display:block;
    width:100%;
    height:1px;
    background:currentColor
  }
  nav {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:78px;
    background:#081820;
    flex-direction:column;
    align-items:stretch;
    padding:24px;
    gap:0;
    border-bottom:1px solid var(--line)
  }
  nav.open {
    display:flex
  }
  nav>a {
    padding:14px;
    font-size:14px
  }
  nav .button {
    margin-top:12px
  }
  .hero {
    min-height:810px;
    height:auto
  }
  .hero-content {
    padding-top:150px;
    padding-bottom:110px
  }
  .hero-image {
    object-position:62% center
  }
  .hero-shade {
    background:linear-gradient(90deg,#081820eb,#08182070),linear-gradient(0deg,#081820,transparent 90%)
  }
  h1 {
    font-size:58px
  }
  .hero-caption {
    display:none
  }
  .section {
    padding:75px 0
  }
  .section-heading {
    gap:25px
  }
  .section-heading>p {
    font-size:12px
  }
  .benefit-grid {
    grid-template-columns:1fr;
    gap:12px
  }
  .benefit {
    padding:24px 25px 24px 83px
  }
  .benefit svg {
    position:absolute;
    left:25px;
    top:26px;
    width:32px
  }
  .benefit h3 {
    padding-right:25px
  }
  .benefit p {
    max-width:500px
  }
  .number {
    right:20px;
    top:25px
  }
  .property-grid {
    gap:22px
  }
  .property-body {
    padding:20px 20px 0
  }
  .property h3 {
    font-size:23px
  }
  .property-details {
    font-size:17px
  }
  .steps {
    grid-template-columns:repeat(2,1fr);
    gap:30px
  }
  .about-grid,.request-grid {
    gap:40px;
    grid-template-columns:1fr
  }
  .about-grid {
    grid-template-columns:1fr 1fr;
    gap:30px
  }
  .about h2 {
    font-size:37px
  }
  .request-grid {
    grid-template-columns:1fr 1fr;
    gap:30px
  }
  .request h2 {
    font-size:34px
  }
  .purpose-options {
    flex-wrap:wrap
  }
  .purpose-options label {
    flex-basis:45%
  }
  .request-phone {
    font-size:20px;
    gap:15px
  }
  .footer-top {
    flex-wrap:wrap
  }
  .footer-top>p {
    display:none
  }
  .footer-bottom {
    font-size:9px
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.7px
  }

}
@media(max-width:600px) {
  .container {
    width:calc(100% - 40px)
  }
  .hero {
    min-height:790px
  }
  .hero-content {
    padding-top:139px;
    padding-bottom:80px
  }
  .hero .eyebrow {
    font-size:8px;
    letter-spacing:1.2px;
    margin-bottom:30px
  }
  h1 {
    font-size:44px;
    letter-spacing:-1.8px;
    line-height:1.15
  }
  h1 em {
    font-size:.76em;
    letter-spacing:-1.2px
  }
  .hero-description {
    font-size:13px;
    max-width:310px;
    margin-top:24px
  }
  .desktop-break {
    display:none
  }
  .hero-actions {
    flex-direction:column;
    align-items:flex-start;
    gap:13px;
    margin-top:27px
  }
  .hero-actions .button {
    padding:16px 18px;
    gap:30px;
    font-size:12px
  }
  .hero-actions .text-link {
    font-size:11px
  }
  .hero-stats {
    gap:17px;
    margin-top:40px
  }
  .hero-stats>div {
    flex:1
  }
  .hero-stats>div+div {
    padding-left:14px
  }
  .hero-stats strong {
    font-size:29px
  }
  .hero-stats .stat-text {
    font-size:19px;
    line-height:1.95
  }
  .hero-stats p {
    font-size:8px;
    line-height:1.7
  }
  .hero-stats strong span {
    font-size:18px
  }
  .hero-image {
    object-position:57% center
  }
  .hero-shade {
    background:linear-gradient(90deg,#081820ed,#08182088),linear-gradient(0deg,#081820,transparent 80%)
  }
  .section {
    padding:60px 0
  }
  .section-heading {
    display:block;
    margin-bottom:30px
  }
  h2 {
    font-size:32px;
    letter-spacing:-1px
  }
  .section-heading>p {
    margin-top:20px
  }
  .eyebrow {
    font-size:8px;
    margin-bottom:22px;
    letter-spacing:1.5px
  }
  .benefit {
    padding-left:75px
  }
  .benefit h3 {
    font-size:16px
  }
  .benefit p {
    font-size:12px
  }
  .property-grid {
    grid-template-columns:1fr;
    gap:25px
  }
  .property-picture {
    aspect-ratio:1.6
  }
  .property-body {
    padding:21px 22px 0
  }
  .property h3 {
    font-size:26px
  }
  .property-details {
    font-size:20px
  }
  .source-note {
    font-size:9px
  }
  .steps {
    grid-template-columns:1fr;
    gap:0;
    margin-top:35px
  }
  .steps li {
    border-top:0;
    border-left:1px solid #3a5159;
    padding:0 0 32px 32px;
    margin-left:7px
  }
  .steps li:last-child {
    padding-bottom:0
  }
  .steps li:before {
    left:-4px;
    top:13px
  }
  .steps span {
    font-size:28px
  }
  .steps h3 {
    margin-top:8px
  }
  .steps p {
    max-width:none;
    margin-bottom:0
  }
  .process .text-link {
    margin-top:20px
  }
  .about-grid,.request-grid {
    grid-template-columns:1fr;
    gap:35px
  }
  .about h2 {
    font-size:42px
  }
  .about-copy>p {
    font-size:13px
  }
  .request h2 {
    font-size:39px
  }
  .request h2 br:last-child {
    display:none
  }
  .request-phone {
    margin-top:12px;
    font-size:24px;
    gap:30px
  }
  form {
    padding:23px 20px
  }
  .field-grid {
    grid-template-columns:1fr
  }
  .purpose-options {
    flex-wrap:nowrap;
    gap:5px
  }
  .purpose-options label {
    flex-basis:0
  }
  .purpose-options span {
    font-size:9px;
    padding:10px 4px
  }
  .footer-top {
    align-items:flex-start;
    gap:25px
  }
  .footer-contacts {
    text-align:left
  }
  .footer-contacts>div {
    gap:23px
  }
  .footer-bottom {
    flex-direction:column;
    gap:12px
  }
  .privacy {
    padding-top:115px
  }
  .privacy h1 {
    font-size:28px;
    overflow-wrap:normal
  }
  .privacy h2 {
    font-size:23px
  }
  .privacy p {
    font-size:14px
  }

}
/* Вторичная недвижимость: одна колонка на телефоне, две — на широком экране. */
.resale {
  background:linear-gradient(160deg,#10283255,transparent 65%);
  border-bottom:1px solid var(--line);
}
.resale-grid {
  display:grid;
  grid-template-columns:minmax(0,var(--photo-width));
  justify-content:center;
  gap:28px;
}
.resale-card {
  min-width:0;
  display:flex;
  flex-direction:column;
}
.resale-card .property-body {
  flex:1;
  display:flex;
  flex-direction:column;
}
.resale-card h3 {
  margin-bottom:12px;
}
.resale-layout {
  font-size:12px;
  color:var(--text);
  margin-bottom:12px;
}
.resale-features {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  margin-bottom:22px;
}
.resale-card .property-details {
  margin-top:auto;
}
.resale-card .property-picture img {
  object-fit:cover;
}
@media(min-width:768px) {
  .resale-grid {
    grid-template-columns:repeat(2,minmax(0,var(--photo-width)));
    gap:32px;
  }
}
/* Текстовые преимущества вместо числовых показателей. */
.hero-stats {
  display:grid;
  grid-template-columns:1fr 1.2fr .85fr;
  gap:24px;
  max-width:660px;
}
.hero-stats>div+div {
  padding-left:24px;
}
.hero-stats .stat-text {
  display:block;
  font-size:19px;
  line-height:1.35;
  letter-spacing:-.4px;
}
.hero-stats p {
  font-size:11px;
  line-height:1.65;
  margin-top:10px;
}
@media(max-width:600px) {
  .hero-stats {
    grid-template-columns:1fr 1fr;
    gap:22px 18px;
  }
  .hero-stats>div+div {
    padding-left:18px;
  }
  .hero-stats>div:last-child {
    grid-column:1 / -1;
    border-left:0;
    border-top:1px solid var(--line);
    padding:18px 0 0;
  }
  .hero-stats .stat-text {
    font-size:17px;
  }
}
/* Компактные фотографии: снимки не растягиваются на весь экран. */
:root {
  --photo-width:400px;
  --motion-duration:350ms;
  --motion-ease:cubic-bezier(.22,1,.36,1);
}
.hero {
  flex-direction:column;
  min-height:0;
  height:auto;
  max-height:none;
  padding:130px 0 65px;
  background:radial-gradient(ellipse at 85% 40%,#15343d,transparent 60%);
}
.hero-content {
  order:0;
  padding-top:0;
  padding-bottom:40px;
}
.hero-image {
  position:relative;
  inset:auto;
  order:1;
  width:min(var(--photo-width),calc(100% - 48px));
  height:auto;
  aspect-ratio:1280 / 779;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:4px;
  z-index:1;
}
.hero-shade {
  display:none;
}
.hero-caption {
  display:none;
}
.property-grid {
  grid-template-columns:minmax(0,var(--photo-width));
  justify-content:center;
}
.property-picture {
  aspect-ratio:4 / 3;
}
.property-picture img {
  object-fit:contain;
  background:var(--card);
  transition:none;
}
.property,.benefit {
  transition:border-color var(--motion-duration),box-shadow var(--motion-duration);
}
.button span,.text-link span,.property-link span,.request-phone span {
  transition:transform var(--motion-duration) var(--motion-ease);
}
.button:active {
  transform:translateY(1px);
}
input:not([type=checkbox],[type=radio],[type=hidden]) {
  transition:border-color var(--motion-duration),background var(--motion-duration);
}
input:not([type=checkbox],[type=radio],[type=hidden]):focus {
  border-color:var(--sand);
  background:#102832;
}
.menu-toggle span {
  transition:transform var(--motion-duration) var(--motion-ease);
}
.menu-toggle[aria-expanded=true] span:first-child {
  transform:translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded=true] span:last-child {
  transform:translateY(-4px) rotate(-45deg);
}
.waves path {
  transform-origin:center;
  animation:wave-flow 16s ease-in-out 2 alternate both;
}
@keyframes wave-flow {
  0% {transform:translateY(6px);opacity:.65}
  50% {transform:translateY(-10px);opacity:1}
  100% {transform:translateY(2px);opacity:.8}
}
@media(min-width:700px) {
  .property-grid {
    grid-template-columns:repeat(2,minmax(0,var(--photo-width)));
  }
}
@media(min-width:1000px) {
  .hero {
    min-height:740px;
    justify-content:center;
    padding:160px 0 85px;
  }
  .hero-content {
    padding-bottom:0;
  }
  .hero-image {
    position:absolute;
    right:max(32px,calc((100% - 1240px) / 2));
    top:270px;
    width:var(--photo-width);
  }
  .hero-content h1 {
    font-size:clamp(48px,4.5vw,66px);
  }
  .hero-caption {
    display:flex;
    right:max(32px,calc((100% - 1240px) / 2));
    bottom:100px;
  }
}
@media(hover:hover) and (pointer:fine) {
  .property:hover,.benefit:hover {
    border-color:#c8a96b80;
    box-shadow:0 12px 30px #00000026;
  }
  .button:hover span,.text-link:hover span,.property-link:hover span,.request-phone:hover span {
    transform:translate(3px,-3px);
  }
}
.property:focus-within,.benefit:focus-within {
  border-color:var(--sand);
}
/* Мягкое свечение и волны поддерживают морскую палитру. */
:root {
  --motion-duration:650ms;
  --motion-ease:cubic-bezier(.25,.46,.45,.94);
}
.hero-content,.hero-image {
  animation:none;
}
.hero::before {
  content:'';
  position:absolute;
  width:70%;
  height:65%;
  right:-15%;
  top:10%;
  pointer-events:none;
  background:radial-gradient(ellipse,#3f84902b,transparent 68%);
  animation:sea-glow 18s ease-in-out 2 alternate both;
}
@keyframes sea-glow {
  from {transform:translate(-2%,3%);opacity:.5}
  to {transform:translate(3%,-3%);opacity:.85}
}
.waves {
  height:220px;
  opacity:.85;
  stroke-width:1.25;
  overflow:visible;
}
.waves path:nth-child(2) {
  animation-delay:-4s;
  stroke:var(--sand);
  stroke-opacity:.4;
}
.waves path:nth-child(3) {
  animation-delay:-8s;
}
.hero-stats strong {
  font-variant-numeric:tabular-nums;
}
.button {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:background var(--motion-duration),box-shadow var(--motion-duration),transform var(--motion-duration) var(--motion-ease);
}
.button::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 25%,#ffffff55 50%,transparent 75%);
  transform:translateX(-110%);
  pointer-events:none;
  transition:transform 850ms var(--motion-ease);
}
.button:focus-visible::before {
  transform:translateX(110%);
}
.property,.benefit {
  transition:border-color var(--motion-duration),box-shadow 700ms,transform 700ms var(--motion-ease);
}
.benefit svg {
  transition:transform 700ms var(--motion-ease),stroke var(--motion-duration);
}
.property-link,.text-link,nav>a,.contact-links a,.footer-contacts a {
  transition:color var(--motion-duration),border-color var(--motion-duration);
}
nav>a:not(.button) {
  position:relative;
}
nav>a:not(.button)::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height:1px;
  background:var(--sand);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--motion-duration) var(--motion-ease);
}
nav>a:not(.button):focus-visible::after {
  transform:scaleX(1);
}
.purpose-options span {
  transition:background var(--motion-duration),color var(--motion-duration),border-color var(--motion-duration);
}
@supports(animation-timeline:scroll()) {
  .header::after {
    content:'';
    position:absolute;
    bottom:-1px;
    left:0;
    width:100%;
    height:2px;
    background:linear-gradient(90deg,var(--sea),var(--sand));
    transform:scaleX(0);
    transform-origin:left;
    animation:reading-progress linear both;
    animation-timeline:scroll(root block);
  }
  @keyframes reading-progress {
    to {transform:scaleX(1)}
  }
}
@media(max-width:800px) {
  nav {
    display:flex;
    max-height:460px;
    padding:24px;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    transform:translateY(-6px);
    clip-path:inset(0 0 100% 0);
    transition:clip-path 650ms var(--motion-ease),opacity 450ms ease,transform 650ms var(--motion-ease),visibility 650ms;
  }
  nav.open {
    max-height:460px;
    padding:24px;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    clip-path:inset(0);
  }
  nav>a:not(.button)::after {
    bottom:7px;
    left:14px;
    right:14px;
  }
  nav.open>a {
    animation:appear 650ms var(--motion-ease) both;
  }
  nav.open>a:nth-child(2) {animation-delay:45ms}
  nav.open>a:nth-child(3) {animation-delay:90ms}
  nav.open>a:nth-child(4) {animation-delay:135ms}
  nav.open>a:nth-child(5) {animation-delay:180ms}
}
@media(hover:hover) and (pointer:fine) {
  .property:hover,.benefit:hover {
    transform:translateY(-3px);
    box-shadow:0 20px 45px -15px #3f849045;
  }
  .benefit:hover svg {
    transform:translateY(-2px) rotate(-2deg);
    stroke:#e0c38e;
  }
  .button:hover {
    box-shadow:0 10px 32px -12px #c8a96b88;
    transform:translateY(-2px);
  }
  .button:hover::before {
    transform:translateX(110%);
  }
  nav>a:hover::after {
    transform:scaleX(1);
  }
}
/* Первый экран закрепляется, пока движение слоёв следует за прокруткой. */
@supports(animation-timeline:view()) {
  @media(min-width:1000px) and (min-height:760px) and (prefers-reduced-motion:no-preference) {
    .hero-scroll-scene {
      height:250svh;
      view-timeline-name:--hero-scene;
      view-timeline-axis:block;
      view-timeline-inset:0;
    }
    .hero-scroll-scene .hero {
      position:sticky;
      top:0;
      height:100svh;
      min-height:0;
      padding:130px 0 75px;
    }
    .hero-scroll-scene .hero-content {
      animation:hero-scroll-text linear both;
      animation-timeline:--hero-scene;
      animation-range:contain 0% contain 100%;
    }
    .hero-scroll-scene .hero-image {
      animation:hero-scroll-photo linear both;
      animation-timeline:--hero-scene;
      animation-range:contain 0% contain 100%;
    }
    .hero-scroll-scene .waves {
      left:0;
      width:240%;
      animation:hero-scroll-waves linear both;
      animation-timeline:--hero-scene;
      animation-range:contain 0% contain 100%;
    }
    @keyframes hero-scroll-text {
      from {transform:translateY(0);opacity:1}
      to {transform:translateY(-40px);opacity:.85}
    }
    @keyframes hero-scroll-photo {
      from {transform:translateY(0) scale(1)}
      to {transform:translateY(30px) scale(.97)}
    }
    @keyframes hero-scroll-waves {
      from {transform:translate(0,0);opacity:.85}
      to {transform:translate(-50%,-20px);opacity:1}
    }
  }
}
/* Декоративный ореол не перехватывает мышь и не заменяет обычный курсор. */
.cursor-halo-layer {
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:19;
}
.cursor-halo {
  display:none;
  position:absolute;
  top:0;
  left:0;
  width:380px;
  height:380px;
  margin:-190px 0 0 -190px;
  border-radius:50%;
  pointer-events:none;
  z-index:19;
  opacity:0;
  background:radial-gradient(circle at 45% 45%,#c8a96b1a 0%,#3f849035 23%,#3f849016 45%,transparent 70%);
  filter:blur(18px);
  transition:opacity 550ms ease;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .cursor-halo {
    display:block;
  }
  .cursor-halo.is-visible {
    opacity:1;
  }
}
.motion-pending {
  opacity:0;
  translate:0 18px;
}
@media(prefers-reduced-motion:reduce) {
  .motion-pending {
    opacity:1;
    translate:none;
  }
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
  .property:hover,.benefit:hover,.button:hover,.benefit:hover svg {
    transform:none;
  }

}
