:root {
  --milk: #f2eee7;
  --paper: #faf8f4;
  --ink: #111518;
  --ink-soft: #1b2024;
  --muted: #a7aaa9;
  --line: rgba(255, 255, 255, 0.14);
  --warm-line: rgba(17, 21, 24, 0.16);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --container: min(1440px, calc(100vw - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.hero {
  position: relative;
  min-height: clamp(760px, 100svh, 920px);
  overflow: hidden;
  isolation: isolate;
  background: #d7c9b7;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: 52% center;
  animation: hero-scale 16s ease-out both;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 238, 227, 0.83) 0%, rgba(246, 238, 227, 0.47) 31%, rgba(246, 238, 227, 0.04) 60%),
    linear-gradient(180deg, rgba(250, 245, 238, 0.24) 0%, transparent 35%, rgba(10, 13, 15, 0.18) 100%);
}

@keyframes hero-scale {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid rgba(17, 21, 24, 0.18);
}

.brand {
  position: relative;
  display: block;
  width: 110px;
  height: 72px;
  overflow: hidden;
  flex: 0 0 110px;
}

.brand__logo {
  position: absolute;
  top: -30px;
  left: -13px;
  width: 136px;
  max-width: none;
  height: 136px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 2.5vw, 46px);
}

.main-nav__link {
  position: relative;
  padding-block: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.main-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(17, 21, 24, 0.48);
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.icon-link:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.icon-link svg {
  width: 17px;
  fill: currentColor;
}

.header-phone {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.mobile-menu {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(58px, 8vh, 108px);
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 17px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 4.8vw, 76px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-shadow: 0 1px 18px rgba(250, 248, 244, 0.28);
}

.hero__lead {
  max-width: 590px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.hero__actions {
  display: grid;
  width: min(100%, 300px);
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 28px;
}

.hero__actions .primary-button,
.hero__actions .hero__call {
  width: 100%;
  min-height: 58px;
  margin-top: 0;
  padding-inline: 22px;
  justify-content: space-between;
  font-size: 12px;
}

.hero__call {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.hero__call:hover {
  color: var(--paper);
  background: #252a2c;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  min-height: 54px;
  margin-top: 28px;
  padding: 0 22px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.primary-button:hover {
  color: var(--ink);
  background: rgba(250, 248, 244, 0.72);
}

.primary-button svg,
.text-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 220ms ease;
}

.primary-button:hover svg,
.text-link:hover svg {
  transform: translateX(5px);
}

.directions {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 24px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.direction-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  background: rgba(244, 239, 232, 0.76);
  backdrop-filter: blur(18px);
  transition: color 260ms ease, background 260ms ease, transform 260ms ease;
}

.direction-card:hover {
  color: var(--paper);
  background: rgba(17, 21, 24, 0.88);
  transform: translateY(-5px);
}

.direction-card > svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.direction-card span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.direction-card strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.direction-card small {
  font-size: 12px;
}

.direction-card i {
  font-family: var(--display);
  font-size: 19px;
  font-style: normal;
  opacity: 0;
  transform: translate(-7px, 7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.direction-card:hover i {
  opacity: 1;
  transform: translate(0, 0);
}

.offers {
  position: relative;
  padding: 38px 0 50px;
  overflow: hidden;
  color: #f4f1ec;
  background:
    radial-gradient(circle at 85% 0%, rgba(137, 113, 82, 0.14), transparent 35%),
    var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.section-kicker {
  margin-bottom: 8px;
  color: #9a9d9e;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.text-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  font-size: 12px;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 220ms ease;
}

.text-link svg {
  pointer-events: none;
}

#catalog {
  scroll-margin-top: 18px;
}

.text-link:hover {
  border-color: currentColor;
}

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

.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.015);
  opacity: 1;
  transform: translateY(0);
  transition: border-color 300ms ease, transform 450ms ease, opacity 450ms ease;
}

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

.property-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.property-card__media {
  position: relative;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  isolation: isolate;
  background: #272b2e;
}

.property-card__media::before {
  position: absolute;
  z-index: 0;
  inset: -18px;
  content: "";
  background-image: var(--property-cover);
  background-position: center;
  background-size: cover;
  filter: blur(15px) brightness(0.48);
  transform: scale(1.08);
}

.property-card__cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 350ms ease;
}

.property-card__media.is-changing img {
  opacity: 0.72;
  transform: scale(0.985);
  transition-duration: 170ms;
}

.property-card__photo-count {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  display: none;
  padding: 5px 7px;
  color: #fff;
  border-radius: 2px;
  background: rgba(17, 21, 24, 0.62);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}

.property-card__media--alt-interior img {
  object-position: 68% center;
}

.property-card__media--alt-villa img {
  object-position: 78% center;
}

.property-card:hover .property-card__media img {
  filter: brightness(0.72);
  transform: scale(1.018);
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(17, 21, 24, 0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.favorite-button:hover {
  transform: scale(1.07);
}

.favorite-button svg {
  width: 19px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.favorite-button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--paper);
}

.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.property-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  color: var(--ink);
  border-radius: 2px;
  background: rgba(250, 248, 244, 0.88);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card__view {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 17px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  color: #fff;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  border-left: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.property-card:hover .property-card__view {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) and (min-width: 601px) {
  .property-card__view {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card__body {
  padding: 16px 16px 19px;
}

.property-card__type {
  margin: 0 0 7px;
  color: #bbbdbd;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-card h3 {
  min-height: 42px;
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
}

.property-card h3 button {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.property-card__location {
  min-height: 38px;
  margin: 9px 0 15px;
  color: #a7aaa9;
  font-size: 11px;
  line-height: 1.55;
}

.property-meta {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property-meta div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-meta div + div::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: -11px;
  width: 1px;
  content: "";
  background: var(--line);
}

.property-meta dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.property-meta dd {
  margin: 0;
  color: #c9caca;
  font-size: 11px;
}

.property-meta div::after {
  order: -1;
  width: 13px;
  height: 13px;
  content: "";
  border: 1px solid #8e9191;
}

.property-meta div:nth-child(2)::after {
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px #8e9191;
}

.property-card__price {
  margin: 17px 0 2px;
  color: #ffffff;
  font-family: var(--body);
  font-size: clamp(20px, 1.55vw, 24px);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.about-services {
  padding: 34px 0 38px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 82%, rgba(166, 137, 98, 0.12), transparent 22%),
    var(--milk);
}

.about-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 4.6vw, 72px);
  align-items: stretch;
}

.about-panel,
.services-panel {
  display: flex;
  flex-direction: column;
}

.section-heading--light {
  align-items: flex-start;
  min-height: 70px;
  box-sizing: border-box;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--warm-line);
}

.about-services .section-heading {
  margin-bottom: 14px;
}

.section-heading--light .section-kicker {
  color: #706d68;
}

.section-heading--light h2,
.selection h2,
.contact-section h2 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-transform: uppercase;
}

.about-panel,
.services-panel,
.coastal__card,
.contact-intro,
.contact-form,
.contact-visual {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms ease, transform 550ms ease;
}

.about-panel.is-visible,
.services-panel.is-visible,
.coastal__card.is-visible,
.contact-intro.is-visible,
.contact-form.is-visible,
.contact-visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 20px;
  min-height: 340px;
}

.about-panel__copy > p {
  max-width: 520px;
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.43;
}

.advantage-list {
  display: grid;
  gap: 6px;
  margin: 11px 0 13px;
  padding: 0;
  list-style: none;
}

.advantage-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
}

.advantage-list span {
  display: grid;
  width: 30px;
  height: 23px;
  place-items: center;
  color: #1d2122;
  border: 1px solid rgba(17, 21, 24, 0.24);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.42);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--warm-line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.outline-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.about-panel__visual {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #d2c8bc;
}

.about-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 9px;
  left: 9px;
  padding: 8px 9px;
  color: var(--paper);
  background: rgba(17, 21, 24, 0.62);
  font-size: 8px;
  letter-spacing: 0.12em;
}

@media (min-width: 821px) {
  .about-panel__visual {
    background:
      linear-gradient(rgba(207, 197, 185, 0.36), rgba(207, 197, 185, 0.36)),
      url("assets/atmosphere/about-baltic-interior-v2.webp") center / cover no-repeat;
  }

  .about-panel__visual img {
    position: relative;
    z-index: 1;
    object-fit: contain;
  }
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--warm-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.company-stats div {
  display: flex;
  min-height: 64px;
  padding: 9px 14px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.company-stats div:first-child {
  padding-left: 14px;
}

.company-stats div + div {
  border-left: 1px solid var(--warm-line);
}

.company-stats dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.company-stats dd {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.company-stats strong {
  color: #111516;
  font-family: var(--display);
  font-size: clamp(32px, 2.4vw, 38px);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.82;
}

.company-stats span {
  margin-top: 6px;
  color: #5d5954;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  height: 0;
  align-items: stretch;
  flex: 1 1 0;
}

.service-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--warm-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}

.service-card:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-4px);
}

.service-card__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #24282a;
}

.service-card__media::before {
  position: absolute;
  z-index: 0;
  inset: -16px;
  content: "";
  background-image: var(--service-cover);
  background-position: center;
  background-size: cover;
  filter: blur(14px) brightness(0.58) saturate(0.8);
  transform: scale(1.08);
}

.service-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card--fit img {
  object-fit: contain;
  object-position: center;
}

.service-card:nth-child(3) img {
  object-position: 72% center;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card span {
  display: flex;
  min-height: 66px;
  padding: 10px 8px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.service-card strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.service-card small {
  margin-top: 4px;
  color: #514e4a;
  font-size: 9px;
}

.services-panel__button {
  min-height: 38px;
  margin: 0;
  float: none;
  align-self: center;
}

.coastal {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
  background: #3c3b37;
}

.coastal__slides,
.coastal__shade,
.coastal__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coastal__slide {
  z-index: -3;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 650ms ease, transform 5s ease;
}

.coastal__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.coastal__shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(12, 15, 17, 0.62), rgba(12, 15, 17, 0.08) 65%, rgba(12, 15, 17, 0.25));
}

.coastal__content {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: space-between;
}

.coastal__card {
  box-sizing: border-box;
  width: min(430px, calc(100% - 90px));
  padding: 30px 32px 31px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(17, 21, 24, 0.68);
  backdrop-filter: blur(12px);
}

.coastal__card .section-kicker {
  margin-bottom: 12px;
  color: #d3d0ca;
}

.coastal__card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.35vw, 46px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.94;
  text-transform: uppercase;
}

.coastal__card p:not(.section-kicker) {
  max-width: 330px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
}

.outline-button--light {
  border-color: rgba(255, 255, 255, 0.42);
}

.outline-button--light:hover {
  color: var(--ink);
  background: var(--paper);
}

.coastal__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.coastal__dots button {
  width: 17px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
}

.coastal__dots button.is-active {
  width: 28px;
  background: #fff;
}

.coastal__arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(17, 21, 24, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
}

.coastal__arrow--prev { left: 18px; }
.coastal__arrow--next { right: 18px; }

.selection {
  padding: 35px 0 40px;
  color: var(--ink);
  background: var(--milk);
}

.selection__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
  margin-bottom: 22px;
}

.selection__intro .section-kicker,
.selection__intro h2,
.selection__intro > p:last-child {
  margin: 0;
}

.selection__intro > p:last-child {
  color: #706d68;
  font-size: 13px;
  line-height: 1.45;
}

.selection__intro h2 {
  font-size: 26px;
  letter-spacing: 0.01em;
}

.selection-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.selection-form label,
.contact-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.selection-form label > span,
.contact-form label > span {
  font-size: 10px;
}

.selection-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  color: inherit;
  border: 1px solid var(--warm-line);
  border-radius: 3px;
  outline: none;
  background: rgba(255, 255, 255, 0.24);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease;
}

.selection-form select {
  height: 46px;
  padding: 0 38px 0 12px;
}

.selection-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(17, 21, 24, 0.62);
  background: rgba(255, 255, 255, 0.48);
}

.selection-form__submit {
  min-height: 46px;
  margin: 0;
  padding-inline: 21px;
  cursor: pointer;
}

.catalog-empty {
  margin: 20px 0 0;
  padding: 17px 18px;
  color: #d1d2d1;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.catalog-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: #2a2925;
}

.catalog-hero__image,
.catalog-hero__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.catalog-hero__image {
  object-fit: cover;
  object-position: center 52%;
}

.catalog-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 15, 17, 0.82) 0%, rgba(12, 15, 17, 0.5) 48%, rgba(12, 15, 17, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 15, 17, 0.16), rgba(12, 15, 17, 0.48));
}

.catalog-page .site-header {
  color: var(--paper);
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

.catalog-page .site-header .brand__logo {
  filter: brightness(0) invert(1);
}

.catalog-page .site-header .icon-link {
  border-color: rgba(255, 255, 255, 0.58);
}

.catalog-hero__content {
  display: flex;
  min-height: 360px;
  padding: 68px 0 74px;
  flex-direction: column;
  justify-content: center;
}

.catalog-hero__content .section-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-hero__content h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 0.96;
}

.catalog-hero__content > p:last-child {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.catalog-filter-panel {
  padding: 34px 0 39px;
  color: var(--ink);
  background: var(--milk);
}

.catalog-filter-panel__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.catalog-filter-panel__intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.catalog-filter-panel__intro p {
  max-width: 460px;
  margin: 0;
  color: #706d68;
  font-size: 13px;
  line-height: 1.5;
}

.catalog-results {
  min-height: 620px;
  padding-top: 47px;
  padding-bottom: 72px;
}

.catalog-results .section-heading {
  align-items: end;
}

.catalog-results__count {
  margin: 0;
  color: #a7aaa9;
  font-size: 11px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.catalog-results .property-grid {
  gap: 18px;
}

.catalog-page .property-card {
  background: rgba(255, 255, 255, 0.025);
}

.contact-section {
  padding: 52px 0;
  color: var(--paper);
  background: #111518;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(390px, 1.05fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
}

.contact-intro {
  display: flex;
  padding: 14px 0;
  flex-direction: column;
  justify-content: center;
}

.contact-intro .section-kicker {
  margin-bottom: 14px;
}

.contact-intro h2 {
  max-width: 470px;
  margin: 0 0 20px;
  font-size: 27px;
  line-height: 1.12;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 430px;
  margin: 0;
  color: #b4b6b5;
  font-size: 15px;
  line-height: 1.65;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
  margin-top: 34px;
}

.contact-links a,
.contact-links p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.contact-links span {
  display: block;
  margin-bottom: 4px;
  color: #8f9291;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  position: relative;
  display: flex;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.025);
}

.contact-form .contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form > label,
.contact-form__row {
  margin-bottom: 13px;
}

.contact-form input,
.contact-form textarea {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.contact-form input {
  height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777b7a;
}

.contact-form .consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: center;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--paper);
}

.contact-form .consent span {
  color: #9ea09f;
  font-size: 9px;
  line-height: 1.4;
}

.contact-form .consent a {
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.contact-form__submit {
  width: 100%;
  margin: 3px 0 0;
  justify-content: space-between;
  cursor: pointer;
}

.contact-form__note {
  margin: 10px 0 0;
  color: #777b7a;
  font-size: 9px;
  line-height: 1.4;
}

.contact-visual {
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  color: #a6a8a7;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer__row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 28px;
  min-height: 82px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__row p {
  margin: 0;
}

.brand--footer {
  width: 90px;
  height: 60px;
  flex-basis: 90px;
}

.brand--footer .brand__logo {
  top: -25px;
  left: -11px;
  width: 113px;
  height: 113px;
  filter: brightness(0) invert(1);
}

.property-dialog {
  width: min(1320px, calc(100% - 44px));
  max-width: none;
  height: min(880px, calc(100dvh - 44px));
  max-height: none;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-radius: 7px;
  background: var(--milk);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.property-dialog::backdrop {
  background: rgba(7, 9, 10, 0.78);
  backdrop-filter: blur(5px);
}

.property-dialog__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(440px, 0.82fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.property-dialog__close {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--warm-line);
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.88);
  font-family: Arial, sans-serif;
  font-size: 29px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
}

.property-dialog__gallery {
  display: flex;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  flex-direction: column;
  background: var(--ink);
}

.property-dialog__main-image {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  flex: 1;
  background: #272b2e;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

.property-dialog__main-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.property-dialog__main-image.is-changing > img {
  opacity: 0.72;
  transform: scale(0.988);
}

.property-dialog__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(17, 21, 24, 0.46);
  backdrop-filter: blur(7px);
  cursor: pointer;
  transform: translateY(-50%);
}

.property-dialog__arrow--prev { left: 14px; }
.property-dialog__arrow--next { right: 14px; }

.property-dialog__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--paper);
  border-radius: 2px;
  background: rgba(17, 21, 24, 0.58);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.property-dialog__thumbs {
  display: flex;
  gap: 7px;
  padding-top: 10px;
  overflow-x: auto;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
  scrollbar-width: thin;
}

.property-dialog__thumbs button {
  width: 90px;
  min-width: 90px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #252a2d;
  cursor: pointer;
  opacity: 0.62;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.property-dialog__thumbs button:hover,
.property-dialog__thumbs button.is-active {
  border-color: #fff;
  opacity: 1;
}

.property-dialog__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-dialog__content {
  min-height: 0;
  padding: 42px 42px 40px;
  color: #202425;
  overflow-y: auto;
  scrollbar-color: rgba(17, 21, 24, 0.28) transparent;
  scrollbar-width: thin;
}

.property-dialog__type {
  margin: 0 0 12px;
  color: #5d5a55;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.property-dialog__content h2 {
  max-width: 480px;
  margin: 0;
  font-family: var(--body);
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.property-dialog__location {
  margin: 13px 0 0;
  padding-right: 45px;
  color: #5f5c57;
  font-size: 13px;
  line-height: 1.55;
}

.property-dialog__price {
  margin: 28px 0 25px;
  font-family: var(--body);
  font-size: 34px;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}

.property-dialog__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 30px;
  border-top: 1px solid var(--warm-line);
  border-left: 1px solid var(--warm-line);
}

.property-dialog__facts div {
  min-height: 76px;
  padding: 15px 13px;
  border-right: 1px solid var(--warm-line);
  border-bottom: 1px solid var(--warm-line);
}

.property-dialog__facts dt {
  margin-bottom: 9px;
  color: #504d49;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.property-dialog__facts dd {
  margin: 0;
  font-family: var(--body);
  color: #15191a;
  font-size: 18px;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.property-dialog__description {
  color: #292d2d;
  font-size: 15.5px;
  line-height: 1.7;
}

.property-dialog__description p {
  margin: 0 0 17px;
}

.property-dialog__features {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--warm-line);
}

.property-dialog__features h3 {
  margin: 0 0 15px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.property-dialog__features ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-dialog__features li {
  position: relative;
  padding-left: 13px;
  color: #303434;
  font-size: 13.5px;
  line-height: 1.5;
}

.property-dialog__features li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--ink);
}

.property-dialog__actions {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
}

.property-dialog__actions .primary-button,
.property-dialog__actions .outline-button {
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding-inline: 22px;
  justify-content: space-between;
  font-size: 12px;
}

.property-dialog__actions .outline-button {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.property-dialog__actions .outline-button:hover {
  color: var(--paper);
  background: #252a2c;
}

.floating-call {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.floating-call:hover {
  color: var(--paper);
  background: #252a2c;
  transform: translateY(-2px);
}

.floating-call svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.dialog-open .floating-call {
  opacity: 0;
  pointer-events: none;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: calc(100vw - 48px);
  padding: 13px 17px;
  color: var(--ink);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

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

@media (max-width: 1180px) {
  :root {
    --container: min(100% - 48px, 1100px);
  }

  .site-header {
    grid-template-columns: 150px 1fr auto;
  }

  .main-nav {
    gap: 20px;
  }

  .header-actions .icon-link {
    display: none;
  }

  .direction-card {
    grid-template-columns: 38px 1fr;
    padding-inline: 13px;
  }

  .direction-card i {
    display: none;
  }

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

  .property-card__media {
    aspect-ratio: 1.6 / 1;
  }

  .about-services__grid {
    grid-template-columns: 1fr;
  }

  .about-services .section-heading--light {
    min-height: auto;
  }

  .services-panel__button {
    margin: 0;
  }

  .service-grid {
    min-height: 320px;
    height: 320px;
    flex: 0 0 320px;
  }

  .service-card__media {
    aspect-ratio: 1.55 / 1;
  }

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

  .selection-form__submit {
    grid-column: span 2;
    justify-content: center;
  }

  .contact-section__grid {
    grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
  }

  .contact-visual {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100% - 34px);
  }

  .hero {
    min-height: 850px;
  }

  .hero__image {
    object-position: 48% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(246, 238, 227, 0.88), rgba(246, 238, 227, 0.28) 76%),
      linear-gradient(180deg, rgba(250, 245, 238, 0.26), transparent 50%, rgba(10, 13, 15, 0.23));
  }

  .site-header {
    z-index: 40;
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .menu-open .site-header {
    color: var(--paper);
    border-bottom-color: var(--line);
  }

  .site-header .brand {
    width: 94px;
    height: 62px;
    flex-basis: 94px;
  }

  .site-header .brand__logo {
    top: -26px;
    left: -11px;
    width: 116px;
    height: 116px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 31;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: flex;
    padding: 120px 24px 42px;
    flex-direction: column;
    justify-content: space-between;
    color: var(--paper);
    background: rgba(17, 21, 24, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-menu[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 34px;
  }

  .mobile-menu__phone {
    font-size: 15px;
  }

  .hero__content {
    padding-top: 58px;
  }

  .catalog-hero {
    min-height: 430px;
  }

  .catalog-hero__content {
    min-height: 350px;
    padding: 54px 0 60px;
  }

  .catalog-hero__content h1 {
    font-size: clamp(45px, 11vw, 62px);
  }

  .catalog-filter-panel__intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__eyebrow {
    margin-bottom: 13px;
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 68px);
    line-height: 0.94;
  }

  .hero__lead {
    max-width: 470px;
    margin-top: 20px;
    font-size: 15px;
  }

  .desktop-break {
    display: none;
  }

  .directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    bottom: 16px;
  }

  .direction-card {
    min-height: 78px;
  }

  .about-panel__body {
    grid-template-columns: 1fr 0.75fr;
  }

  .selection__intro {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-form {
    max-width: 640px;
  }

  .site-footer__row {
    grid-template-columns: 1fr auto;
    gap: 12px 20px;
    padding: 22px 0;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 28px);
  }

  .hero {
    min-height: 830px;
  }

  .catalog-hero {
    min-height: 440px;
  }

  .catalog-hero__image {
    object-position: 58% center;
  }

  .catalog-hero__content {
    min-height: 364px;
    padding: 42px 0 54px;
  }

  .catalog-hero__content h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  .catalog-hero__content > p:last-child {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .catalog-filter-panel {
    padding: 30px 0 34px;
  }

  .catalog-filter-panel__intro h2 {
    font-size: 23px;
  }

  .catalog-results {
    padding: 36px 0 50px;
  }

  .catalog-results .section-heading {
    display: grid;
    gap: 9px;
  }

  .hero__image {
    object-position: 44% center;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(244, 236, 225, 0.54) 0%, rgba(244, 236, 225, 0.28) 42%, rgba(14, 17, 19, 0.43) 100%),
      linear-gradient(90deg, rgba(244, 236, 225, 0.82), transparent 92%);
  }

  .site-header {
    min-height: 70px;
  }

  .hero__content {
    padding-top: 45px;
  }

  .hero__eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.5vw, 62px);
  }

  .hero__lead {
    max-width: 340px;
    font-size: 15px;
  }

  .hero__actions {
    display: grid;
    width: min(100%, 320px);
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 23px;
  }

  .hero__actions .primary-button,
  .hero__call {
    min-height: 58px;
    margin: 0;
    padding-inline: 18px;
    font-size: 11.5px;
  }

  .primary-button {
    min-height: 52px;
    margin-top: 23px;
    gap: 20px;
    padding-inline: 18px;
    font-size: 10px;
  }

  .directions {
    width: calc(100% - 28px);
  }

  .direction-card {
    grid-template-columns: 31px 1fr;
    min-height: 72px;
    padding: 10px 9px;
  }

  .direction-card > svg {
    width: 26px;
  }

  .direction-card strong {
    font-size: 10.5px;
  }

  .direction-card small {
    font-size: 10px;
  }

  .offers {
    padding: 31px 0 38px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .section-kicker {
    font-size: 9px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .text-link {
    width: 44px;
    height: 44px;
    padding: 0;
    flex: 0 0 44px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 0;
  }

  .property-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0;
    overflow: visible;
  }

  .property-card {
    min-width: 0;
  }

  .property-card__media {
    aspect-ratio: 1.08 / 1;
  }

  .property-card__photo-count {
    display: block;
  }

  .property-badge,
  .favorite-button,
  .property-card__view,
  .property-card__type,
  .property-card__location,
  .property-meta {
    display: none;
  }

  .property-card__body {
    padding: 12px 11px 14px;
  }

  .property-card h3 {
    min-height: 36px;
    font-family: var(--body);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
  }

  .property-card__price {
    margin: 11px 0 0;
    font-size: 16.5px;
    line-height: 1.2;
  }

  .floating-call {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-call span {
    display: none;
  }

  .floating-call svg {
    width: 21px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
  }

  .about-services {
    padding: 38px 0 42px;
  }

  .about-services__grid {
    gap: 42px;
  }

  .section-heading--light h2,
  .selection h2,
  .contact-section h2 {
    font-size: 22px;
  }

  .about-panel__body {
    grid-template-columns: 1fr;
  }

  .about-panel__visual {
    min-height: 250px;
  }

  .company-stats {
    gap: 0;
  }

  .company-stats div {
    padding-inline: 9px;
  }

  .company-stats strong {
    font-size: 32px;
  }

  .company-stats span {
    font-size: 10px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    min-height: 0;
    height: auto;
    flex: initial;
  }

  .service-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .services-panel__button {
    width: 100%;
    float: none;
  }

  .services-panel .section-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .coastal,
  .coastal__content {
    min-height: 420px;
  }

  .coastal__card {
    width: calc(100% - 42px);
    margin-inline: auto;
    padding: 26px 24px 28px;
  }

  .coastal__card h2 {
    font-size: clamp(31px, 9vw, 36px);
    line-height: 0.96;
  }

  .coastal__arrow {
    top: auto;
    bottom: 14px;
    width: 36px;
    height: 36px;
    transform: none;
  }

  .coastal__arrow--prev { left: 14px; }
  .coastal__arrow--next { right: 14px; }

  .selection {
    padding: 31px 0 35px;
  }

  .selection-form {
    grid-template-columns: 1fr;
  }

  .selection-form__submit {
    grid-column: auto;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 19px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .site-footer__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .property-dialog {
    width: calc(100% - 20px);
    height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .property-dialog__shell {
    display: block;
    height: auto;
  }

  .property-dialog__gallery {
    height: 62dvh;
    min-height: 470px;
  }

  .property-dialog__content {
    padding: 35px 28px 34px;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .property-dialog {
    width: calc(100% - 10px);
    height: calc(100dvh - 10px);
    border-radius: 4px;
  }

  .property-dialog__gallery {
    height: 54dvh;
    min-height: 390px;
    padding: 8px;
  }

  .property-dialog__thumbs button {
    width: 72px;
    min-width: 72px;
    height: 54px;
  }

  .property-dialog__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .property-dialog__content {
    padding: 30px 20px 30px;
  }

  .property-dialog__content h2 {
    padding-right: 40px;
    font-size: 23px;
    line-height: 1.3;
  }

  .property-dialog__location {
    font-size: 13px;
  }

  .property-dialog__price {
    margin: 27px 0 23px;
    font-size: 29px;
  }

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

  .property-dialog__features ul {
    grid-template-columns: 1fr;
  }

  .property-dialog__description {
    font-size: 15.5px;
    line-height: 1.72;
  }

  .property-dialog__features li {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
