/* Единая система сайта: цвета, типографика, интервалы и состояния. */
:root {
  --green: #1c4037;
  --green-hover: #285448;
  --ink: #20332e;
  --muted: #607068;
  --line: #dbe3dd;
  --paper: #ffffff;
  --wash: #f3f6f3;
  --soft: #eaf0eb;
  --error: #a3342b;
  --warning: #775b27;
  --warning-bg: #faf5e9;
  --font:
    "Inter", "Aptos", "Segoe UI Variable", "Segoe UI", "Noto Sans", Arial,
    sans-serif;
  --font-display:
    "Manrope", "Aptos Display", "Segoe UI Variable Display", "Segoe UI",
    "Noto Sans", Arial, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-control: 12px;
  --radius-card: 20px;
  --radius-small: 8px;
  --shadow: 0 8px 32px rgb(28 64 55 / 0.06);
  --section-space: 88px;
  --control-height: 52px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #6d9584;
  outline-offset: 4px;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 4.6vw, 60px);
}
h2 {
  font-size: clamp(30px, 3.2vw, 40px);
}
h3 {
  font-size: 30px;
}
p {
  margin: 0 0 var(--space-4);
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}
.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: var(--space-6);
}
.preview {
  padding: var(--space-2) var(--space-4);
  background: var(--green);
  color: white;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: grid;
  grid-template-columns: 44px auto;
  gap: 0 var(--space-3);
  font-family: var(--font-display);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.mark {
  display: grid;
  place-items: center;
  grid-row: span 2;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--wash);
  color: var(--green);
  font-size: 24px;
  letter-spacing: 0;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.header-controls,
nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}
nav a:hover {
  color: var(--green);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-height: var(--control-height);
  padding: 14px 24px;
  border: 1px solid var(--green);
  border-radius: var(--radius-control);
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.button:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: white;
}
.button:active {
  background: var(--ink);
}
.button.small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.language-label select {
  margin: 0;
  width: 128px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}
.hero {
  display: grid;
  gap: var(--space-7);
  padding-block: var(--space-8);
}
.hero-copy {
  max-width: 860px;
}
.hero h1 {
  max-width: 860px;
}
.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin: var(--space-3) 0 0;
}
.hero-visual {
  position: relative;
  padding-bottom: 44px;
}
.hero-map,
.coast-view > img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.area-card {
  position: absolute;
  bottom: 0;
  inset-inline-start: var(--space-5);
  background: var(--green);
  color: white;
  padding: 20px 28px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  min-width: 244px;
}
.area-card strong {
  display: block;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.area-card span {
  font-size: 13px;
}
.section {
  padding-block: var(--section-space);
  border-top: 1px solid var(--line);
}
.section-heading {
  margin-bottom: var(--space-6);
  max-width: 760px;
}
.section-heading h2 {
  margin-bottom: var(--space-4);
}
.section-heading p:last-child {
  color: var(--muted);
  margin: 0;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-7);
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 14px;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-size: 16px;
}
.facts small {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: var(--space-1);
}
.location-section,
.offer-section {
  background: var(--wash);
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.gallery figure {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.gallery figure a {
  display: block;
}
.gallery figure a:focus-visible {
  outline-offset: -5px;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--soft);
}
.gallery figcaption {
  padding: var(--space-4) var(--space-5);
  font-size: 14px;
  color: var(--muted);
}
.coast-view {
  margin-top: var(--space-7);
}
.map-under {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-block: var(--space-5) var(--space-4);
}
.map-under > div {
  max-width: 680px;
}
.map-under h3 {
  margin-bottom: var(--space-2);
}
.map-under .button {
  flex-shrink: 0;
  background: transparent;
  color: var(--green);
  border-color: #b8c9be;
}
.map-under .button:hover {
  background: var(--soft);
  border-color: var(--green);
}
.caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.buyer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.buyer p:last-child {
  margin: 0;
}
.offer-section {
  padding-block: var(--section-space);
}
.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: start;
}
.offer-layout aside > p:not(.eyebrow) {
  color: var(--muted);
}
.summary {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.summary > span {
  font-size: 13px;
  color: var(--muted);
}
.summary strong {
  display: block;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-block: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.summary p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
form {
  background: var(--paper);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
form h2 {
  font-size: 28px;
  margin-bottom: var(--space-2);
}
.form-intro {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 var(--space-5);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5) var(--space-4);
}
label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}
.full {
  grid-column: 1/-1;
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: var(--control-height);
  padding: 12px 14px;
  margin-top: var(--space-2);
  border: 1px solid #b9c8bd;
  border-radius: var(--radius-control);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
input::placeholder,
textarea::placeholder {
  color: #7b8780;
  opacity: 1;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #819b8c;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}
textarea {
  resize: vertical;
  min-height: 128px;
}
input[aria-invalid="true"] {
  border-color: var(--error);
  background: #fffafa;
}
input[name="phone"],
input[name="email"],
input[name="price"],
select[name="countryCode"] {
  direction: ltr;
  text-align: start;
}
.estimate {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: var(--space-5);
}
.estimate > span {
  font-size: 13px;
  color: var(--muted);
}
.estimate strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  margin-block: var(--space-2);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.estimate small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
#total,
#calculation {
  unicode-bidi: plaintext;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  margin-bottom: var(--space-2);
}
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.radios label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  cursor: pointer;
}
.radios label:has(:checked) {
  background: var(--wash);
  border-color: var(--green);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 13px;
}
.consent input {
  margin-top: 3px;
}
.consent small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--space-2);
}
.error {
  display: block;
  color: var(--error);
  font-size: 12px;
  margin-top: var(--space-2);
}
.error:empty {
  display: none;
}
.unavailable {
  padding: var(--space-4);
  margin: var(--space-5) 0 var(--space-4);
  border: 1px solid #eaddbf;
  border-radius: var(--radius-control);
  background: var(--warning-bg);
  color: var(--warning);
  font-size: 13px;
}
.submit {
  width: 100%;
}
.legal {
  margin: var(--space-4) 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
#form-status {
  font-size: 14px;
  color: var(--error);
  margin: var(--space-4) 0 0;
}
#form-status:empty {
  display: none;
}
.consent:has(input[aria-invalid="true"]) {
  padding: 12px;
  border: 1px solid #e7b9b4;
  border-radius: var(--radius-control);
  background: #fffafa;
}
.legal-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.legal-link:hover {
  color: var(--green-hover);
}
.legal-document {
  padding: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-document h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.legal-document .legal-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.legal-document .legal-draft {
  padding: 14px 16px;
  border: 1px solid #eaddbf;
  border-radius: var(--radius-control);
  background: var(--warning-bg);
  color: var(--warning);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.legal-sections {
  display: grid;
  gap: 24px;
}
.legal-sections section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-sections h3 {
  font-size: 21px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.legal-sections p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.legal-sections p:last-child {
  margin-bottom: 0;
}
.trap {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-6);
  font-size: 13px;
  color: var(--muted);
}
.mobile-cta {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  width: min(480px, calc(100% - 40px));
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: rgb(20 40 32 / 0.5);
}
dialog p {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: var(--space-5);
}
.placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 240px;
  padding: var(--space-5);
  border: 1px dashed #a5b7aa;
  border-radius: var(--radius-card);
  background: var(--soft);
  color: var(--muted);
}
html[lang="ka"] {
  --font:
    "Noto Sans Georgian", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --font-display:
    "Noto Sans Georgian", "Segoe UI Variable Display", "Segoe UI", Arial,
    sans-serif;
}
html[lang="zh"] {
  --font:
    "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  --font-display:
    "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
}
html[lang="ar"] {
  --font:
    "Noto Sans Arabic", "Segoe UI Variable", "Segoe UI", Tahoma, Arial,
    sans-serif;
  --font-display:
    "Noto Sans Arabic", "Segoe UI Variable Display", "Segoe UI", Tahoma, Arial,
    sans-serif;
}
html[lang="ka"] :is(h1, h2, h3, .eyebrow) {
  letter-spacing: 0;
  line-height: 1.4;
}
html[dir="rtl"] :is(h1, h2, h3, .eyebrow, .brand) {
  letter-spacing: 0;
  line-height: 1.45;
}
@media (max-width: 1050px) {
  nav > a:not(.button) {
    display: none;
  }
  .offer-layout {
    gap: var(--space-6);
  }
  .facts {
    gap: 0 var(--space-6);
  }
  .facts > div {
    display: block;
  }
  .facts dt {
    margin-bottom: var(--space-2);
  }
  .map-under {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-5);
  }
}
@media (max-width: 760px) {
  :root {
    --section-space: 56px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    gap: var(--space-3);
  }
  .header nav {
    display: none;
  }
  .header-controls {
    margin-inline-start: auto;
  }
  .hero {
    padding-block: var(--space-7);
    gap: var(--space-6);
  }
  .buyer,
  .offer-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .buyer h2 {
    margin: 0;
  }
  .offer-layout aside {
    max-width: 600px;
  }
  .summary {
    margin-top: var(--space-5);
  }
  .gallery {
    gap: var(--space-4);
  }
  .gallery figcaption {
    padding: var(--space-4);
  }
  .footer {
    flex-wrap: wrap;
    padding-bottom: 104px;
  }
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 10;
    box-shadow: 0 4px 24px rgb(28 64 55 / 0.2);
  }
  .mobile-cta.hidden {
    display: none;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .brand {
    font-size: 13px;
    grid-template-columns: 36px auto;
    gap: 0 8px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .mark {
    font-size: 21px;
  }
  .language-label select {
    width: 108px;
    font-size: 13px;
  }
  .header {
    padding-block: var(--space-4);
  }
  h1 {
    font-size: 36px;
  }
  .lead {
    font-size: 18px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .hero-visual {
    padding-bottom: 64px;
  }
  .area-card {
    inset-inline-start: var(--space-3);
    min-width: 0;
    padding: 16px 20px;
  }
  .area-card strong {
    font-size: 30px;
  }
  .area-card span {
    font-size: 12px;
  }
  .facts,
  .gallery,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .facts > div {
    padding-block: var(--space-4);
  }
  .facts dt {
    font-size: 13px;
  }
  .facts dd {
    font-size: 15px;
  }
  .map-under .button {
    width: 100%;
  }
  form {
    padding: var(--space-5) var(--space-4);
  }
  form h2 {
    font-size: 26px;
  }
  .estimate {
    padding: var(--space-4);
  }
  .estimate strong {
    font-size: 28px;
  }
  .summary strong {
    font-size: 30px;
  }
  .footer {
    display: block;
  }
  .footer > span {
    display: block;
    margin-bottom: var(--space-2);
  }
  html[lang="ka"] h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.gallery[hidden] {
  display: none;
}

/* Панорамный фон первого экрана */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 64px 48px;
  margin-top: 32px;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--green);
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  padding: 0;
}
.hero-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(13, 32, 25, 0.86),
    rgba(13, 32, 25, 0.63) 55%,
    rgba(13, 32, 25, 0.28)
  );
}
.hero-copy {
  max-width: 780px;
  color: white;
}
.hero h1 {
  color: white;
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.12);
}
.hero .eyebrow,
.hero .lead,
.hero-note {
  color: #f0f4f1;
}
.hero .button {
  background: white;
  color: var(--green);
  border-color: white;
}
.hero .button:hover {
  background: var(--soft);
  border-color: var(--soft);
}
.hero .area-card {
  display: none;
}
html[dir="rtl"] .hero::after {
  background: linear-gradient(
    270deg,
    rgba(13, 32, 25, 0.86),
    rgba(13, 32, 25, 0.63) 55%,
    rgba(13, 32, 25, 0.28)
  );
}
@media (max-width: 760px) {
  .hero {
    min-height: 560px;
    padding: 40px 28px;
    margin-top: 24px;
    margin-bottom: 32px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero::after,
  html[dir="rtl"] .hero::after {
    background: rgba(13, 32, 25, 0.72);
  }
  .hero-map {
    object-position: 48% center;
  }
}
@media (max-width: 520px) {
  .hero {
    min-height: 580px;
    padding: 32px 24px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .hero .button {
    width: 100%;
  }
  .hero-note {
    font-size: 12px;
  }
}

/* Полноширинный первый экран, контент совпадает с сеткой разделов. */
.hero.wrap {
  width: 100%;
  max-width: none;
  margin-top: 0;
  border-radius: 0;
  padding-inline: max(32px, calc((100% - 1200px) / 2));
}
@media (max-width: 760px) {
  .hero.wrap {
    padding-inline: 20px;
  }
}

/* Фотографические заголовки разделов. */
body {
  overflow-x: clip;
}
#details > .section-heading,
#location > .wrap > .section-heading,
.buyer > div:first-child {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 300px;
  padding-block: 72px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}
#details > .section-heading::before,
#location > .wrap > .section-heading::before,
.buyer > div:first-child::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image:
    linear-gradient(90deg, rgba(13, 32, 25, 0.8), rgba(13, 32, 25, 0.5)),
    var(--section-photo);
  background-position: center;
  background-size: cover;
}
#details {
  --section-photo: url("assets/photo-1-960.webp");
  padding-top: 0;
}
#location {
  --section-photo: url("assets/photo-4-960.webp");
  padding-top: 0;
}
.buyer {
  --section-photo: url("assets/photo-10.jpg");
  display: block;
  padding-top: 0;
}
.buyer > div:last-child {
  max-width: 780px;
}
#details > .section-heading .eyebrow,
#location .section-heading .eyebrow,
.buyer .eyebrow,
#details > .section-heading p:last-child,
#location .section-heading p:last-child {
  color: #edf3ee;
}
.buyer > div:first-child h2 {
  margin-bottom: 0;
}
.reveal-ready {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.65s ease,
    translate 0.65s ease;
}
.reveal-ready.is-visible {
  opacity: 1;
  translate: 0 0;
}
@media (max-width: 760px) {
  #details > .section-heading,
  #location > .wrap > .section-heading,
  .buyer > div:first-child {
    min-height: 260px;
    padding-block: 48px;
    margin-bottom: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
/* Завершающий раздел предложения. */
.offer-section {
  padding-top: 0;
}
.offer-layout {
  grid-template-columns: 1fr;
}
.offer-layout aside {
  position: relative;
  isolation: isolate;
  max-width: none;
  padding-block: 56px;
  color: white;
}
.offer-layout aside::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(13, 32, 25, 0.85), rgba(13, 32, 25, 0.6)),
    url("assets/photo-2-960.webp") center/cover;
}
.offer-layout aside > .eyebrow,
.offer-layout aside > p:not(.eyebrow) {
  color: #edf3ee;
}
.offer-layout aside > p {
  max-width: 700px;
}
.offer-layout .summary {
  max-width: 340px;
  color: var(--ink);
}
.offer-layout form {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.country-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.country-picker select {
  margin-top: 0;
  flex: 1;
}
.country-flag {
  display: block;
  width: 32px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}
/* Более светлые фотографии; затемнение сосредоточено под текстом. */
.hero-map {
  filter: brightness(1.08) saturate(1.16) contrast(1.04);
}
.hero::after {
  background: linear-gradient(
    90deg,
    rgba(10, 27, 20, 0.66),
    rgba(10, 27, 20, 0.36) 52%,
    rgba(10, 27, 20, 0.06)
  );
}
html[dir="rtl"] .hero::after {
  background: linear-gradient(
    270deg,
    rgba(10, 27, 20, 0.66),
    rgba(10, 27, 20, 0.36) 52%,
    rgba(10, 27, 20, 0.06)
  );
}
#details > .section-heading::before,
#location > .wrap > .section-heading::before,
.buyer > div:first-child::before {
  background-image:
    linear-gradient(90deg, rgba(13, 32, 25, 0.64), rgba(13, 32, 25, 0.14)),
    var(--section-photo);
  filter: saturate(1.16) contrast(1.03);
}
.offer-layout aside::before {
  background-image:
    linear-gradient(90deg, rgba(13, 32, 25, 0.66), rgba(13, 32, 25, 0.16)),
    url("assets/photo-2-960.webp");
  filter: saturate(1.16) contrast(1.03);
}
.hero-copy,
.section-heading,
.buyer > div:first-child,
.offer-layout aside {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}
.hero .button,
.offer-layout .summary {
  text-shadow: none;
}
@media (max-width: 760px) {
  .hero::after,
  html[dir="rtl"] .hero::after {
    background: linear-gradient(
      90deg,
      rgba(13, 32, 25, 0.64),
      rgba(13, 32, 25, 0.42)
    );
  }
}
/* Одинаковый внутренний отступ стрелок в переключателях. */
#language,
select[name="countryCode"],
select[name="currency"] {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231c4037' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 16px 16px;
}
html[dir="rtl"] #language {
  padding-right: 12px;
  padding-left: 48px;
  background-position: left 24px center;
}

html[dir="rtl"] select[name="currency"] {
  padding-right: 14px;
  padding-left: 48px;
  background-position: left 24px center;
}

#language {
  padding-right: 36px;
  background-position: right 12px center;
}
html[dir="rtl"] #language {
  padding-right: 12px;
  padding-left: 36px;
  background-position: left 12px center;
}
select[name="countryCode"],
select[name="countryCode"] option {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  font-variant: normal;
  letter-spacing: normal;
}

/* Спокойная информационная часть: два фотоблока и ясная форма. */
#details > .section-heading::before,
#location > .wrap > .section-heading::before,
.buyer > div:first-child::before {
  display: none;
}
#details > .section-heading,
#location > .wrap > .section-heading,
.buyer > div:first-child {
  min-height: 0;
  padding-block: 0;
  color: var(--ink);
  text-shadow: none;
  margin-bottom: 32px;
}
#details > .section-heading .eyebrow,
#location .section-heading .eyebrow,
.buyer .eyebrow,
#details > .section-heading p:last-child,
#location .section-heading p:last-child {
  color: var(--muted);
}
#details,
#location,
.buyer {
  padding-top: 64px;
}
.key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 8px 48px;
}
.key-facts > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--wash);
}
.key-facts strong {
  display: block;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 8px;
}
.key-facts span {
  font-size: 13px;
  color: var(--muted);
}
.coast-view {
  margin-top: 0;
}
.hero .lead {
  max-width: 730px;
}
.hero-copy {
  max-width: 820px;
}
input[name="currency"] {
  background: var(--wash);
  color: var(--muted);
  cursor: default;
}
.country-search {
  font-size: 14px !important;
  min-height: 42px !important;
}
.country-picker {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .key-facts {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 32px;
  }
  .key-facts > div {
    padding: 16px 20px;
  }
  .key-facts strong {
    font-size: 20px;
  }
  #details,
  #location,
  .buyer {
    padding-top: 48px;
  }
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
}
.phone-national {
  align-self: end;
}
@media (max-width: 520px) {
  .price-row {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 12px;
  }
}

.price-row {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: start;
}
.price-row > label {
  display: grid;
  grid-template-rows: 42px auto auto;
  align-content: start;
}
.price-row > label > input {
  grid-row: 2;
  margin-top: 0;
}
.price-row > label > .error {
  grid-row: 3;
}
.phone-national {
  align-self: start;
}
@media (max-width: 520px) {
  .price-row {
    grid-template-columns: minmax(0, 1fr) 110px;
  }
  .price-row > label {
    grid-template-rows: 63px auto auto;
  }
}
