/*
Theme Name: GKVADRATU Real Estate - Modern
Theme URI: https://gkvadratu.lt
Author: GKVADRATU Team
Description: Moderni nekilnojamojo turto tema su kinematografiniu hero ir veikiančia paieška.
Version: 3.7.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: gkvadratu-nt
*/

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/DMSans-Variable.woff2") format("woff2"), url("assets/fonts/DMSans-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Variable.woff2") format("woff2"), url("assets/fonts/PlayfairDisplay-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #101826;
  --ink-deep: #08101d;
  --ink-soft: #253247;
  --paper: #f7f4ee;
  --paper-warm: #ebe3d6;
  --white: #fff;
  --muted: #68717f;
  --muted-light: #b9c0c9;
  --gold: #cda46c;
  --gold-light: #e4c99d;
  --gold-deep: #8b6235;
  --line: rgba(16, 24, 38, .12);
  --line-light: rgba(255, 255, 255, .16);
  --shadow-sm: 0 14px 34px rgba(12, 20, 32, .08);
  --shadow-lg: 0 30px 80px rgba(8, 16, 29, .2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container: 1320px;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3.3rem, 6.6vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 3.1vw, 3.35rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

::selection {
  color: var(--ink-deep);
  background: var(--gold-light);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--white);
}

.skip-link:focus {
  position: fixed;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

main[tabindex="-1"]:focus {
  outline: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

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

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.site-shell {
  min-height: 100vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold-light);
}

.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(205, 164, 108, .5);
  outline-offset: 3px;
}

.btn--compact {
  min-height: 48px;
  padding: 13px 20px;
  font-size: .82rem;
}

.btn--gold {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 30px rgba(205, 164, 108, .2);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  color: var(--ink-deep);
  box-shadow: 0 16px 40px rgba(205, 164, 108, .35);
}

.btn--dark {
  color: var(--white);
  background: var(--ink);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  color: var(--white);
  background: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  color: var(--ink-deep);
  background: var(--white);
}

.btn--light:hover,
.btn--light:focus-visible {
  color: var(--ink-deep);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .2);
}

.btn--glass,
.btn--outline-light {
  color: var(--white);
  border-color: var(--line-light);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
}

.btn--glass:hover,
.btn--glass:focus-visible,
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .14);
}

.btn--outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  transition: color .2s ease, gap .2s ease;
}

.text-link:hover {
  gap: 13px;
  color: var(--gold-deep);
}

.text-link--light {
  color: var(--gold-light);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 16, 29, .94);
  transition: height .3s ease, background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.home .site-header:not(.is-scrolled) {
  border-bottom-color: rgba(255, 255, 255, .12);
  background: linear-gradient(to bottom, rgba(5, 12, 23, .72), transparent);
}

.site-header.is-scrolled {
  height: 76px;
  background: rgba(8, 16, 29, .9);
  box-shadow: 0 10px 36px rgba(4, 10, 18, .22);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-branding {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.site-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--ink-deep);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.site-logo .custom-logo-link,
.site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, .6);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.header-actions,
.main-navigation,
.main-navigation .menu {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: clamp(22px, 3vw, 46px);
}

.main-navigation .menu {
  gap: clamp(20px, 2.4vw, 38px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-navigation li {
  margin: 0;
  list-style: none;
}

.main-navigation a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, .78);
  font-size: .83rem;
  font-weight: 600;
}

.main-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.current-menu-item > a,
.current_page_item > a {
  color: var(--white);
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.current-menu-item > a::after,
.current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
}

.nav-toggle__line {
  grid-area: 1 / 1;
  display: block;
  width: 18px;
  height: 1px;
  margin: 0;
  background: currentColor;
  transition: transform .25s ease;
}

.nav-toggle__line:first-child { transform: translateY(-3px); }
.nav-toggle__line:nth-child(2) { transform: translateY(3px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__line:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(780px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.hero-media,
.hero-media__image,
.hero-media__veil,
.hero-media__grain {
  position: absolute;
  inset: 0;
}

.hero-media__image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
  animation: cinematic-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-media__veil {
  background:
    linear-gradient(90deg, rgba(5, 12, 23, .88) 0%, rgba(5, 12, 23, .65) 43%, rgba(5, 12, 23, .2) 72%, rgba(5, 12, 23, .35) 100%),
    linear-gradient(0deg, rgba(5, 12, 23, .72) 0%, transparent 42%);
}

.hero-media__grain {
  opacity: .2;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, .06) 0 1px, transparent 1.5px);
  background-size: 23px 23px, 31px 31px;
  mix-blend-mode: soft-light;
}

@keyframes cinematic-drift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  50% { transform: scale(1.09) translate3d(-1.2%, -.5%, 0); }
  100% { transform: scale(1.05) translate3d(.6%, .4%, 0); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 100px;
}

.hero-copy {
  max-width: 780px;
}

.hero-copy h1 {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--white);
  text-wrap: balance;
}

.hero-copy p {
  max-width: 660px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.property-search {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: rgba(247, 244, 238, .93);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.property-search__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.property-search__heading .eyebrow {
  margin-bottom: 11px;
}

.property-search__heading h2 {
  max-width: 330px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
}

.property-search__count {
  display: grid;
  min-width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.search-fields label,
.archive-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.search-fields input,
.search-fields select,
.archive-filters input,
.archive-filters select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, .7);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.search-fields input:focus,
.search-fields select:focus,
.archive-filters input:focus,
.archive-filters select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(205, 164, 108, .12);
}

.property-search__submit {
  width: 100%;
  margin-top: 18px;
}

.form-message {
  min-height: 0;
  margin: 10px 0 0;
  color: #9a3c33;
  font-size: .78rem;
  font-weight: 600;
}

.form-message:empty {
  display: none;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .6);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

.hero-scroll span::after {
  display: block;
  width: 3px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 99px;
  content: "";
  background: var(--gold-light);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(14px); }
}

/* Shared sections */
.section {
  padding: clamp(88px, 10vw, 148px) 0;
}

.section--light {
  background: var(--paper);
}

.section--sand {
  background: var(--paper-warm);
}

.section--dark {
  color: var(--white);
  background: var(--ink-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .6fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading__aside {
  padding-bottom: 8px;
}

.section-heading__aside p {
  margin-bottom: 20px;
  color: var(--muted);
}

.section-action {
  margin-top: 54px;
  text-align: center;
}

/* Cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-grid.property-grid--single {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.property-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 0 0 rgba(8, 16, 29, 0);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.property-card:hover {
  border-color: rgba(167, 123, 69, .34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.property-card__media {
  position: relative;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  background: var(--ink-soft);
}

.property-card__media > a,
.property-card__media img {
  width: 100%;
  height: 100%;
}

.property-card__media img {
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.property-card:hover .property-card__media img {
  transform: scale(1.045);
}

.property-card__type {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 16, 29, .56);
  backdrop-filter: blur(12px);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.property-card__demo {
  position: absolute;
  bottom: 16px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-deep);
  background: var(--gold-light);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.property-card__status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 16, 29, .72);
  backdrop-filter: blur(12px);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.property-card__status--reserved,
.property-status--reserved {
  border-color: var(--gold-light) !important;
  color: var(--ink-deep);
  background: var(--gold-light) !important;
}

.property-card__status--sold,
.property-status--sold {
  border-color: #a75d57 !important;
  color: var(--white);
  background: #7a3a36 !important;
}

.property-card--sold .property-card__media img {
  filter: grayscale(.45) brightness(.82);
}

.property-card__body {
  padding: 24px;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.property-card__title {
  min-height: 2.2em;
  margin-bottom: 22px;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.property-card__title a {
  transition: color .2s ease;
}

.property-card__title a:hover {
  color: var(--gold-deep);
}

.property-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .77rem;
}

.property-card__facts strong {
  color: var(--ink);
  font-size: .86rem;
}

.property-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
}

.property-card__price {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.property-card__footer .text-link {
  flex: 0 0 auto;
  font-size: .76rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 72px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(255, 255, 255, .5);
}

.empty-state > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: var(--ink-deep);
  background: var(--gold-light);
  font-family: var(--font-serif);
}

.empty-state h2,
.empty-state h3 {
  margin-bottom: 12px;
}

.empty-state p {
  margin-bottom: 24px;
  color: var(--muted);
}

/* Metrics and story */
.metrics {
  padding: 58px 0;
  color: var(--white);
  background: var(--ink);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics-grid > div {
  display: grid;
  gap: 7px;
  padding: 8px clamp(18px, 4vw, 54px);
  border-left: 1px solid var(--line-light);
}

.metrics-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.metrics-grid strong {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 500;
}

.metrics-grid span {
  color: var(--muted-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
}

.story-visual {
  position: relative;
  min-height: 660px;
}

.story-visual img {
  width: calc(100% - 52px);
  height: 620px;
  object-fit: cover;
  border-radius: 180px 180px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.story-visual::before {
  position: absolute;
  z-index: 0;
  top: 44px;
  right: 0;
  bottom: 0;
  left: 84px;
  border: 1px solid rgba(167, 123, 69, .4);
  border-radius: 180px 180px var(--radius-lg) var(--radius-lg);
  content: "";
}

.story-visual img,
.story-visual__note {
  position: relative;
  z-index: 1;
}

.story-visual__note {
  position: absolute;
  right: 0;
  bottom: 44px;
  display: grid;
  width: 180px;
  height: 180px;
  align-content: center;
  padding: 26px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.story-visual__note strong {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
}

.story-visual__note span {
  max-width: 100px;
  color: var(--muted-light);
  font-size: .7rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-copy h2 {
  margin-bottom: 28px;
}

.story-copy p {
  color: var(--muted);
}

.story-copy__lead {
  color: var(--ink) !important;
  font-size: 1.14rem;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  content: "✓";
  color: var(--ink-deep);
  background: var(--gold-light);
  font-size: .68rem;
}

/* Broker contact */
.broker-contact {
  background: var(--paper);
}

.broker-contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.broker-profile,
.broker-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.broker-profile {
  padding: clamp(26px, 4vw, 46px);
}

.broker-profile__photo {
  display: grid;
  width: 124px;
  height: 124px;
  margin-bottom: 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--ink-deep);
  background: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 2.3rem;
  box-shadow: 0 12px 30px rgba(12, 20, 32, .12);
}

.broker-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broker-profile h3 {
  margin-bottom: 15px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.broker-profile p {
  margin-bottom: 28px;
  color: var(--muted);
}

.broker-profile__links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.broker-profile__links a {
  color: var(--gold-deep);
  font-weight: 700;
}

.broker-profile__links a:hover {
  color: var(--ink);
}

.broker-form-card {
  padding: clamp(26px, 5vw, 58px);
}

.broker-form {
  display: grid;
  gap: 20px;
}

.broker-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.broker-form__contact-group {
  padding: 0;
  margin: 0;
  border: 0;
}

.broker-form__contact-group legend:not(.screen-reader-text) {
  padding: 0;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.broker-form__contact-group small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .76rem;
}

.broker-form label:not(.broker-form__consent):not(.contact-trap) {
  display: grid;
  gap: 8px;
}

.broker-form label > span {
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.broker-form input[type="text"],
.broker-form input[type="email"],
.broker-form input[type="tel"],
.broker-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  outline: 0;
  background: var(--paper);
  font-size: .94rem;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.broker-form input[type="text"],
.broker-form input[type="email"],
.broker-form input[type="tel"] {
  min-height: 52px;
}

.broker-form textarea {
  min-height: 150px;
  resize: vertical;
}

.broker-form input:focus,
.broker-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(205, 164, 108, .12);
}

.broker-form__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.broker-form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-deep);
}

.broker-form__consent span {
  font-size: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.broker-form__consent a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.broker-form .btn {
  justify-self: start;
}

.contact-notice {
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid #d3a842;
  border-radius: var(--radius-sm);
  color: #6b5010;
  background: #fff7dc;
  font-size: .88rem;
  font-weight: 600;
}

.contact-notice--success {
  border-color: #72a57a;
  color: #315d38;
  background: #ecf8ed;
}

.contact-notice--error {
  border-color: #cf827b;
  color: #7a2e28;
  background: #fff0ee;
}

.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Archive */
.archive-hero {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.archive-hero__media {
  position: absolute;
  inset: 0;
  opacity: .62;
  background:
    linear-gradient(90deg, rgba(8, 16, 29, .9), rgba(8, 16, 29, .2)),
    url("assets/hero-cinematic.jpg") center 62% / cover;
}

.archive-hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 76px;
}

.archive-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  overflow-wrap: anywhere;
}

.archive-hero p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 1.06rem;
}

.archive-content {
  padding-top: 0;
}

.archive-filters {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr .85fr .85fr 1.15fr auto;
  gap: 13px;
  align-items: end;
  padding: 24px;
  margin-top: -48px;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.archive-filters .btn {
  min-height: 52px;
}

.archive-filters .form-message {
  grid-column: 1 / -1;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.archive-toolbar p {
  margin: 0;
  color: var(--muted);
}

.archive-toolbar strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.7rem;
}

.pagination {
  margin-top: 54px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.pagination .current,
.pagination a:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

/* Single property */
.property-hero {
  position: relative;
  display: grid;
  min-height: min(820px, 88svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.property-hero > img,
.property-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.property-hero > img {
  object-fit: cover;
}

.property-hero__zoom {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-height) + 24px);
  right: max(24px, calc((100vw - var(--container)) / 2));
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--white);
  background: rgba(8, 16, 29, .5);
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.property-hero__zoom:hover,
.property-hero__zoom:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.property-hero__overlay {
  background: linear-gradient(0deg, rgba(5, 12, 23, .92), rgba(5, 12, 23, .05) 68%), linear-gradient(90deg, rgba(5, 12, 23, .44), transparent 60%);
}

.property-hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 70px;
}

.back-link {
  display: inline-block;
  margin-bottom: clamp(120px, 24vh, 230px);
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--gold-light);
}

.property-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.property-hero__meta span {
  padding: 8px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(8, 16, 29, .35);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.property-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.property-hero__price {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 500;
}

.property-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.property-facts > div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.property-facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.property-facts span {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.property-facts strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.property-description h2 {
  margin-bottom: 28px;
}

.property-description .eyebrow {
  display: block;
  margin-bottom: 28px;
}

.property-description img[role="button"] {
  cursor: zoom-in;
}

.property-description img[role="button"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
}

.image-lightbox::backdrop {
  background: rgba(4, 9, 17, .94);
  backdrop-filter: blur(8px);
}

.image-lightbox[open] {
  display: grid;
  place-items: center;
}

.image-lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
  width: min(96vw, 1500px);
  height: min(92vh, 1000px);
}

.image-lightbox figure {
  display: grid;
  gap: 12px;
  place-items: center;
  margin: 0;
}

.image-lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 84vh;
  border-radius: 12px;
  object-fit: contain;
}

.image-lightbox figcaption {
  color: rgba(255, 255, 255, .76);
  text-align: center;
}

.image-lightbox__counter {
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  text-align: center;
}

.image-lightbox__close,
.image-lightbox__nav {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 16, 29, .72);
  font-size: 1.45rem;
}

.image-lightbox__close:hover,
.image-lightbox__nav:hover,
.image-lightbox__close:focus-visible,
.image-lightbox__nav:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
}

.energy-certificate {
  margin: -42px 0 54px;
}

.legal-details {
  display: grid;
  grid-template-columns: minmax(180px, .5fr) 1fr;
  gap: 10px 24px;
  max-width: 760px;
}

.legal-details dt {
  color: var(--muted);
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
}

.entry-content {
  color: var(--muted);
  font-size: 1.04rem;
}

.entry-content > * {
  max-width: 760px;
}

.entry-content p {
  margin-bottom: 1.4em;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 36px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.admin-bar .contact-card {
  top: calc(var(--header-height) + 60px);
}

.contact-card h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 2.25rem;
}

.contact-card .eyebrow {
  color: var(--gold-light);
}

.contact-card p {
  margin-bottom: 26px;
  color: var(--muted-light);
}

.contact-card .btn {
  width: 100%;
  margin-top: 10px;
}

.contact-card small {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, .75);
  text-align: center;
}

/* Default content */
.site-main:not(.archive-page):not(.single-property) .entry-header,
.site-main:not(.archive-page):not(.single-property) .entry-content {
  max-width: 900px;
}

.content-page {
  padding: calc(var(--header-height) + 72px) 0 clamp(82px, 10vw, 140px);
}

.content-page__article {
  max-width: 920px;
  padding: clamp(28px, 5vw, 72px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.content-page__article .entry-header {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.content-page__article .entry-title {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.legal-content {
  color: var(--ink-soft);
}

.legal-content h2 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.legal-content h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.legal-content p,
.legal-content li {
  max-width: 78ch;
}

.legal-content a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 1.35rem;
}

.legal-content table {
  width: 100%;
  margin: 26px 0 36px;
  border-collapse: collapse;
  font-size: .92rem;
}

.legal-content th,
.legal-content td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  color: var(--ink);
  background: var(--paper-warm);
}

.widget {
  padding: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

/* Footer */
.site-footer {
  padding: clamp(78px, 9vw, 130px) 0 34px;
  color: var(--white);
  background: #050b14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr .9fr;
  gap: clamp(34px, 5vw, 72px);
  padding: 72px 0;
}

.footer-brand__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.footer-brand__title span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-deep);
  background: var(--gold-light);
  font-size: .85rem;
}

.footer-grid h3 {
  margin-bottom: 24px;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: rgba(255, 255, 255, .58);
  font-size: .86rem;
}

.footer-grid p {
  max-width: 360px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: var(--white);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-socials rect,
.footer-socials circle:not(.footer-socials__dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-socials__dot {
  fill: currentColor;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--gold-light);
  color: var(--ink-deep);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.footer-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-grid .text-link--light {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-privacy-settings {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .68);
  background: transparent;
  font-size: .72rem;
}

.footer-privacy-settings:hover,
.footer-privacy-settings:focus-visible {
  color: var(--gold-light);
}

/* Privacy choices */
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 10020;
  right: 24px;
  bottom: 24px;
  width: min(620px, calc(100% - 48px));
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  color: var(--white);
  background: rgba(8, 16, 29, .98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

.cookie-banner h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.cookie-banner p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__details {
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
}

.cookie-banner__details[hidden] {
  display: none;
}

.cookie-banner__details p:last-child {
  margin-bottom: 0;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cookie-choice,
.cookie-settings-toggle {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font-size: .84rem;
  font-weight: 700;
}

.cookie-choice:hover,
.cookie-choice:focus-visible,
.cookie-settings-toggle:hover,
.cookie-settings-toggle:focus-visible {
  color: var(--ink-deep);
  background: var(--gold-light);
}

.cookie-settings-toggle {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 7px 12px;
  border-color: transparent;
  color: rgba(255, 255, 255, .66);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr 390px;
    gap: 44px;
  }

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

  .archive-filters {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid { grid-template-columns: 1.3fr .8fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-height: 78px; }

  .admin-bar .site-header { top: 32px; }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .header-actions {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 28px;
    overflow: hidden;
    padding: 0 24px;
    visibility: hidden;
    opacity: 0;
    background: rgba(8, 16, 29, .98);
    transition: max-height .35s ease, opacity .25s ease, visibility .25s ease, padding .35s ease;
  }

  .admin-bar .header-actions { top: calc(var(--header-height) + 32px); }

  .header-actions.is-open {
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    padding-top: 28px;
    padding-bottom: 34px;
    visibility: visible;
    opacity: 1;
  }

  .main-navigation,
  .main-navigation .menu {
    display: grid;
    width: 100%;
  }

  .main-navigation .menu {
    gap: 0;
  }

  .main-navigation a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 1rem;
  }

  .header-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 170px;
    padding-bottom: 110px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .property-search {
    max-width: 720px;
  }

  .hero-scroll {
    display: none;
  }

  .story-grid,
  .broker-contact__grid,
  .property-detail__grid {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 720px;
  }

  .contact-card {
    position: static;
  }

}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .header-actions { top: calc(var(--header-height) + 46px); }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .hero-media__image {
    object-position: 68% center;
  }

  .hero-media__veil {
    background: linear-gradient(90deg, rgba(5, 12, 23, .9), rgba(5, 12, 23, .48)), linear-gradient(0deg, rgba(5, 12, 23, .8), transparent 55%);
  }

  .hero-layout {
    padding-top: 150px;
    padding-bottom: 80px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 38px;
  }

  .section-heading__aside {
    max-width: 560px;
  }

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

  .row {
    grid-template-columns: 1fr;
  }

  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-9,
  .col-12 {
    grid-column: auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }

  .metrics-grid > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .story-visual {
    min-height: 540px;
  }

  .story-visual img {
    height: 510px;
  }

  .archive-filters {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .property-facts > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .property-facts > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }

  .site-logo { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1rem; }

  .hero-layout { gap: 36px; }
  .hero-copy p { font-size: .98rem; }
  .hero-cta { display: grid; }
  .hero-cta .btn { width: 100%; }

  .property-search { padding: 24px 18px; border-radius: var(--radius-md); }
  .property-search__heading { margin-bottom: 20px; }
  .property-search__count { display: none; }
  .search-fields { grid-template-columns: 1fr; }

  .section { padding: 74px 0; }
  .property-card__body { padding: 20px; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metrics-grid > div,
  .metrics-grid > div:nth-child(3) { padding: 18px 0; border-top: 1px solid var(--line-light); border-left: 0; }
  .metrics-grid > div:first-child { border-top: 0; }

  .story-visual { min-height: 430px; }
  .story-visual img { width: calc(100% - 24px); height: 410px; border-radius: 120px 120px 22px 22px; }
  .story-visual::before { left: 42px; border-radius: 120px 120px 22px 22px; }
  .story-visual__note { right: 0; bottom: 18px; width: 132px; height: 132px; padding: 20px; }
  .story-visual__note strong { font-size: 1.9rem; }

  .archive-hero { min-height: 440px; }
  .archive-hero h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .archive-filters { grid-template-columns: 1fr; padding: 18px; }
  .archive-toolbar { align-items: flex-start; flex-direction: column; }

  .property-hero { min-height: 690px; }
  .property-hero__zoom { top: calc(var(--header-height) + 14px); right: 12px; }
  .back-link { margin-bottom: 140px; }
  .property-facts { grid-template-columns: 1fr 1fr; }
  .property-facts > div { padding: 18px 12px; }
  .contact-card { padding: 28px 22px; }

  .image-lightbox__panel { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 6px; width: calc(100vw - 16px); }
  .image-lightbox__close,
  .image-lightbox__nav { width: 40px; height: 40px; }

  .footer-grid { grid-template-columns: 1fr; padding: 54px 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }

  .content-page__article { padding: 28px 20px; border-radius: var(--radius-md); }
  .legal-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .broker-form__row { grid-template-columns: 1fr; }
  .broker-form .btn { width: 100%; }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }

  .cookie-banner__actions { grid-template-columns: 1fr; }
  .cookie-settings-toggle { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
