:root {
  /* Brand tokens – a Canva brand kit színei itt könnyen cserélhetők */
  --brand-primary: #22305d;
  /* A megadott secondary szin 5 karakteres hex volt, pontositas utan itt cserelheto. */
  --brand-secondary: #e7ded2;
  --brand-ink: var(--brand-primary);
  --brand-graphite: #2d3432;
  --brand-green: var(--brand-primary);
  --brand-green-deep: var(--brand-primary);
  --brand-sand: var(--brand-secondary);
  --brand-cream: #f8f4ec;
  --brand-mist: #eef0ea;
  --brand-wood: #b9855d;
  --brand-gold: #c7a66a;
  --white: #ffffff;
  --black: #0c0e0d;
  --shadow-soft: 0 24px 70px rgba(24, 33, 31, .12);
  --shadow-image: 0 30px 80px rgba(24, 33, 31, .22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 118px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--brand-cream);
}

body {
  margin: 0;
  color: var(--brand-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 166, 106, .14), transparent 36rem),
    linear-gradient(180deg, #fffdfa 0%, var(--brand-cream) 42%, #fff 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--white);
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 16px; }

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

.include-error {
  margin: 16px auto;
  width: min(calc(100% - 40px), var(--container));
  padding: 14px 16px;
  border: 1px solid rgba(24, 33, 31, .14);
  border-radius: var(--radius-sm);
  background: var(--brand-cream);
  color: var(--brand-ink);
  font-size: 14px;
  line-height: 1.5;
}

.include-error code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .95em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--brand-primary);
  background: white;
  box-shadow: 0 8px 34px rgba(34, 48, 93, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--brand-primary);
  background: rgba(255,255,255,.85);
  box-shadow: 0 14px 40px rgba(34, 48, 93, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-shell {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) auto;
  grid-template-rows: 48px 70px;
  column-gap: clamp(24px, 4vw, 58px);
  align-items: stretch;
}

.topbar {
  grid-column: 2 / 4;
  grid-row: 1;
  border-bottom: 1px solid rgba(34, 48, 93, .12);
  transition: border-color .28s var(--ease);
}

.site-header.is-scrolled .topbar,
.site-header.menu-active .topbar { border-bottom-color: rgba(34, 48, 93, .14); }

.topbar-inner {
  min-height: 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .02em;
}

.phone-link,
.language-switcher,
.book-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.phone-link svg { width: 16px; height: 16px; }

.language-switcher {
  gap: 7px;
  padding-left: 2px;
  color: currentColor;
}

.language-switcher button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  opacity: .72;
}

.language-switcher button.active {
  opacity: 1;
  font-weight: 700;
}

.book-button {
  min-height: 36px;
  padding: 8px 17px;
  border: 1px solid var(--brand-primary);
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--white);
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.site-header.is-scrolled .book-button,
.site-header.menu-active .book-button {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
}

.book-button:hover { transform: translateY(-1px); }

.main-nav {
  grid-column: 2 / 4;
  grid-row: 2;
  min-height: 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.brand {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  color: var(--brand-primary);
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  width: min(100%, 220px);
  height: auto;
  padding-bottom: 8px;
}

.brand > strong {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand > strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: .08em;
}

.brand > strong + span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(11px, .92vw, 13px);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  padding: 11px 0;
  opacity: .92;
  transition: opacity .2s var(--ease);
}

.nav-menu a:hover { opacity: 1; }

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .26s var(--ease);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a.is-active,
.nav-menu a[aria-current="page"] {
  opacity: 1;
  color: var(--brand-primary);
}

.nav-menu a.is-active::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 48, 93, .18);
  border-radius: 999px;
  background: rgba(34, 48, 93, .04);
  color: currentColor;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-active .menu-toggle { border-color: rgba(24,33,31,.16); background: rgba(24,33,31,.04); }

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.site-header.menu-active .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.menu-active .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-active .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.02);
  transform: scale(1.02);
  animation: heroZoom 18s var(--ease) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,14,13,.70), rgba(12,14,13,.32) 46%, rgba(12,14,13,.05) 100%),
    linear-gradient(0deg, rgba(12,14,13,.62), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1260px);
  margin: 0 auto;
  padding: calc(var(--header-height) + 90px) 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 730px) minmax(220px, 1fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: end;
}


.hero-content h1 { color: white; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

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

h2.h2-small { font-size: 5vw; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 9vw, 122px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.62;
  color: rgba(255,255,255,.88);
}

.hero-panel {
  justify-self: end;
  max-width: 350px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(0,0,0,.24);
}

.hero-panel p {
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.hero-panel a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-panel a::after { content: "→"; font-size: 16px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 9px;
  justify-items: center;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(currentColor, transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.section { padding: clamp(84px, 11vw, 150px) 0; }

body:not([data-page="home"]) .section {
  padding-top: 0;
  padding-bottom: 0;
}

.section-tight { padding: clamp(64px, 8vw, 108px) 0; }

.anchor { scroll-margin-top: 150px; }

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.location-hero-section {
  overflow: hidden;
  background: white;
  padding: 0;
}

.location-hero {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: stretch;
}

.location-hero-media {
  width: calc(100% + ((100vw - min(calc(100vw - 40px), var(--container))) / 2));
  min-height: clamp(360px, 42vw, 620px);
  margin: 0 0 0 calc((100vw - min(calc(100vw - 40px), var(--container))) / -2);
  overflow: hidden;
  background: var(--brand-mist);
}

.location-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-hero-copy {
  display: flex;
  align-items: center;
  padding: clamp(34px, 6vw, 76px);
  background: var(--white);
}

.location-hero-copy blockquote {
  margin: 0;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.8vw, 82px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-image);
  background: var(--brand-mist);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.image-frame:hover img { transform: scale(1.035); }

.image-frame.panorama { aspect-ratio: 16 / 10; }
.image-frame.tall { aspect-ratio: 4 / 5; }
.image-frame.wide { aspect-ratio: 16 / 9; }

.quote-card {
  position: relative;
  padding: clamp(38px, 5vw, 66px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: -26px;
  left: 38px;
  color: var(--brand-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 150px;
  line-height: 1;
  opacity: .32;
}

.quote-card blockquote {
  position: relative;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.035em;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  margin-bottom: clamp(40px, 7vw, 82px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-green-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}

h2 {
  margin-bottom: 0;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(46px, 7.2vw, 94px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
}

.lead-copy {
  color: rgba(24, 33, 31, .76);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.78;
}

.lead-copy p {
  margin: 0 0 18px;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

.text-stack {
  display: grid;
  gap: 20px;
}

.text-stack p {
  margin: 0;
  color: rgba(24, 33, 31, .78);
  font-size: 16.5px;
  line-height: 1.85;
}

.project-visual { margin: 40px 0 0 0; }

.section-otthon { background: white; }

.sticky-note {
  margin-top: clamp(24px, 4vw, 38px);
  padding: 34px;
  border: 1px solid rgba(24, 33, 31, .10);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(231,222,210,.52));
  box-shadow: var(--shadow-soft);
}

.sticky-note p {
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

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

.mini-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(24, 33, 31, .74);
  font-size: 14px;
  line-height: 1.5;
}

.mini-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--brand-ink);
  box-shadow: var(--shadow-image);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}

.feature-card:hover img {
  opacity: .92;
  transform: scale(1.045);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12,14,13,.78));
}

.feature-card-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 30px;
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14.5px;
  line-height: 1.62;
}

.soft-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-primary);
  padding: clamp(84px, 8vw, 150px) 0;
}

.soft-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.35), transparent 24rem),
    linear-gradient(135deg, transparent 0%, rgba(255,255,255,.08) 48%, transparent 100%);
}

.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.value-item {
  padding: clamp(30px, 5vw, 52px);
  background: rgba(34,48,93,.68);
}

.value-item span {
  display: block;
  margin-bottom: 30px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.value-item h3 {
  margin-bottom: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1;
}

.value-item p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.72;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.gallery-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(24, 33, 31, .68);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 40px;
}

.gallery-grid .image-frame {
  aspect-ratio: 1.28 / 1;
  margin: 0;
}

.section-cta {
  padding: 0;
}

.cta {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(34px, 5vw, 70px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--brand-primary);
  box-shadow: var(--shadow-soft);
}

.cta-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(38px, 6vw, 68px);
  text-align: center;
}

.cta h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(34px, 3.6vw, 62px);
}

.cta-kicker { color: rgba(255,255,255,.72); }

.cta p {
  margin-bottom: 30px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.72;
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.border-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 21px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.primary-button {
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
}

.secondary-button {
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
}

.border-button {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
}

.primary-button:hover,
.secondary-button:hover,
.border-button:hover { transform: translateY(-2px); }

.page-hero {
  position: relative;
  min-height: 120px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 24px) 0 0;
  margin-bottom: 0;
  background: var(--brand-cream);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--brand-primary);
  font-size: 1.5vw;
  font-weight: 600;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  padding-bottom: 24px;
}

.apartment-list-section {
  background: #fffdfa;
}

.apartment-filters {
  position: sticky;
  top: var(--header-height);
  z-index: 80;
  width: 100%;
  margin-bottom: 26px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(34, 48, 93, .1);
  background: var(--white);
}

.apartment-filters-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(170px, .35fr) minmax(280px, .9fr) minmax(230px, .5fr);
  gap: 16px;
  align-items: end;
}

.apartment-list-content {
  padding-bottom: 34px;
}

.filter-field,
.filter-checkbox {
  min-width: 0;
}

.filter-field > span,
.filter-checkbox span {
  display: block;
  margin-bottom: 8px;
  color: rgba(34,48,93,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(34,48,93,.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--white);
  color: var(--brand-primary);
  font: inherit;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: 2px solid rgba(34,48,93,.24);
  outline-offset: 2px;
}

.size-slider {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#sizeMinLabel,
#sizeMaxLabel {
  display: flex;
  align-items: center;
  min-width: 50px;
  font-size: 14px;
  color: rgba(34,48,93,.72);
}
#sizeMaxLabel {
  text-align: right;
  justify-content: right;
}

.range-slider {
  --range-min: 0%;
  --range-max: 100%;
  position: relative;
  height: 48px;
  width: 100%;
}

.range-slider::before,
.range-slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
}

.range-slider::before {
  background: rgba(34,48,93,.14);
}

.range-slider::after {
  left: var(--range-min);
  right: calc(100% - var(--range-max));
  background: var(--brand-primary);
}

.range-slider input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider input[type="range"]:focus {
  outline: none;
}

.range-slider input[type="range"].is-active {
  z-index: 3;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.range-slider input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 6px solid #f4f4f4;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(34,48,93,.18);
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 6px solid #f4f4f4;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(34,48,93,.18);
  cursor: pointer;
  pointer-events: auto;
}

.filter-checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: rgba(34,48,93,.04);
}

.filter-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--brand-primary);
}

.filter-checkbox span {
  margin: 0;
  letter-spacing: .03em;
  text-transform: none;
}

.apartment-empty-message {
  margin: 0 0 14px;
  color: rgba(34,48,93,.72);
  font-size: 14px;
  font-weight: 700;
}

.apartment-table {
  overflow-x: auto;
  border: 1px solid rgba(34,48,93,.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.apartment-table table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.apartment-table thead {
  background: rgba(34,48,93,.06);
}

.apartment-table th,
.apartment-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(34,48,93,.10);
  color: var(--brand-primary);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  white-space: nowrap;
}
.apartment-table th:last-child { text-align: center; }
.apartment-table td:last-child { text-align: center; }

.apartment-table th {
  font-weight: 900;
  letter-spacing: .04em;
}

.apartment-table tbody tr {
  transition: background .18s var(--ease);
}

.apartment-table tbody tr.status-szabad { background: var(--white); }
.apartment-table tbody tr.status-foglalt { background: #fff7d8; }
.apartment-table tbody tr.status-eladott { background: #ffe9e6; }

.apartment-table tbody tr[hidden] {
  display: none;
}

.apartment-table button {
  min-height: 36px;
  border: 1px solid rgba(34,48,93,.18);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--white);
  color: var(--brand-primary);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.apartment-table button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.mortgage-page {
  padding: 68px 0 86px;
  background: #fffdfa;
}

.mortgage-layout {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: stretch;
}

.mortgage-image {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  box-shadow: var(--shadow-image);
}

.mortgage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mortgage-content {
  align-self: center;
  color: rgba(34,48,93,.82);
  font-size: 17px;
  line-height: 1.78;
}

.mortgage-content h2 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 74px);
}

.mortgage-content p {
  margin: 0 0 18px;
}

.mortgage-highlight {
  margin: 30px 0;
  padding: 26px;
  border-left: 4px solid var(--brand-primary);
  background: rgba(34,48,93,.045);
}

.mortgage-highlight h3 {
  margin: 0 0 18px;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.04;
}

.mortgage-benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mortgage-benefits li {
  position: relative;
  padding-left: 22px;
}

.mortgage-benefits li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.mortgage-benefits strong {
  display: block;
  color: var(--brand-primary);
}

.mortgage-closing {
  color: var(--brand-primary);
  font-weight: 800;
}

.mortgage-button {
  margin-top: 8px;
}

.technical-page {
  padding: 74px 0 92px;
  background:
    linear-gradient(90deg, rgba(34,48,93,.055), transparent 44%),
    var(--brand-cream);
}

.technical-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px);
}

.technical-content {
  padding-left: clamp(0px, 4vw, 52px);
  border-left: 4px solid var(--brand-primary);
  color: rgba(34,48,93,.82);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.78;
}

.technical-content h2 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(44px, 6vw, 84px);
}

.technical-content h3 {
  margin: 42px 0 22px;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.technical-content p {
  margin: 0 0 22px;
}

.technical-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technical-benefits li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(34,48,93,.12);
  background: var(--white);
  color: var(--brand-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.technical-benefits svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.virtual-search-page {
  padding: 68px 0 86px;
  background: #fffdfa;
}

.virtual-search-layout {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.virtual-search-lead {
  max-width: 860px;
  margin: 0;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.08;
}

.virtual-search-embed {
  min-height: 520px;
  border: 1px dashed rgba(34,48,93,.22);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

.location-page {
  padding: 68px 0 62px;
  background: #fffdfa;
}

.location-map-head {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: 34px;
}

.location-map-head h2 {
  font-size: clamp(42px, 6vw, 82px);
}

.location-map-head p {
  margin: 0;
  color: rgba(34,48,93,.78);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.72;
}

.google-location-map {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(34,48,93,.12);
  border-radius: var(--radius-sm);
  background: rgba(34,48,93,.06);
  box-shadow: var(--shadow-soft);
}

.location-google-canvas,
.location-map-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map-fallback[hidden] {
  display: none;
}

.location-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.location-map-overlay[hidden] {
  display: none;
}

.fallback-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 220px;
  transform: translate(-14px, -50%);
  border: 1px solid rgba(34,48,93,.12);
  border-radius: var(--radius-sm);
  padding: 6px 8px 6px 6px;
  background: rgba(255,255,255,.92);
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(34,48,93,.14);
}

.fallback-map-pin i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.fallback-map-pin strong {
  font-weight: 800;
}

.fallback-map-pin.project-pin {
  z-index: 3;
  max-width: 260px;
  border-color: rgba(34,48,93,.22);
  background: var(--brand-primary);
  color: var(--white);
}

.fallback-map-pin.project-pin img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 4px;
  background: var(--white);
}

.location-info-grid {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: 34px;
}

.location-access {
  margin: 0;
  color: rgba(34,48,93,.82);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.65;
}

.location-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.location-perks article {
  min-height: 100%;
  padding: 22px 18px;
  border: 1px solid rgba(34,48,93,.1);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(34,48,93,.08);
}

.location-perks img {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  object-fit: contain;
}

.location-perks p {
  margin: 0;
  color: var(--brand-primary);
  font-weight: 800;
  line-height: 1.35;
}

.location-perks span {
  display: block;
  margin-top: 5px;
  color: rgba(34,48,93,.62);
  font-size: 13px;
  font-weight: 600;
}

.location-story-section {
  padding: 0 0 86px;
  background: #fffdfa;
}

.location-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 42px);
}

.location-story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.location-story-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.location-story-card p {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  color: rgba(34,48,93,.78);
  font-size: 16px;
  line-height: 1.72;
}

.gallery-page,
.gallery-video-pair,
.video-section,
.construction-section,
.gallery-follow {
  background: #fffdfa;
}

.gallery-page {
  padding: 68px 0 44px;
}

.gallery-page-head {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: 34px;
}

.gallery-page-head h2,
.video-section h2,
.construction-section h2 {
  font-size: clamp(42px, 4.5vw, 82px);
}

.gallery-page-head p {
  margin: 0;
  color: rgba(34,48,93,.76);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.72;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.gallery-tile,
.construction-slide {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0;
  background: var(--brand-primary);
  cursor: pointer;
}

.gallery-tile {
  aspect-ratio: 1 / 1;
}

.gallery-tile:first-child {
  grid-column: span 3;
  grid-row: span 3;
}

.gallery-tile img,
.construction-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}

.gallery-tile:hover img,
.construction-slide:hover img {
  transform: scale(1.045);
  opacity: .9;
}

.gallery-video-pair {
  padding: 44px 0;
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.video-section {
  padding: 0;
}

.video-section h2,
.construction-section h2 {
  margin-bottom: 24px;
}

.youtube-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.construction-section {
  padding: 56px 0 68px;
}

.construction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.construction-photos,
.construction-videos {
  position: relative;
}

.construction-photo-stage,
.construction-video-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--brand-primary);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1.35 / 1;
}

.construction-slide,
.construction-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}

.construction-slide.is-active,
.construction-video.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.construction-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--black);
}

.gallery-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.gallery-controls button,
.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(34,48,93,.86);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.gallery-controls button {
  width: 42px;
  height: 42px;
  font-size: 26px;
}

.gallery-controls button:hover,
.lightbox-close:hover,
.lightbox-nav:hover {
  transform: translateY(-1px);
  background: var(--brand-primary);
}

.gallery-follow {
  padding: 0 0 86px;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: 72px 28px 28px;
  background: rgba(7,10,20,.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  min-width: 0;
  max-width: min(1120px, 86vw);
  max-height: 72vh;
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 30px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 34px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-thumbs {
  display: flex;
  gap: 9px;
  width: min(960px, 88vw);
  margin-top: 20px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}

.lightbox-thumbs button {
  flex: 0 0 76px;
  height: 54px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .58;
}

.lightbox-thumbs button.is-active {
  border-color: var(--white);
  opacity: 1;
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page {
  padding: 68px 0 92px;
  background: #fffdfa;
}

.about-page-head {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.about-page-head h2 {
  font-size: clamp(42px, 6vw, 82px);
}

.about-page-head p {
  margin: 0;
  color: rgba(34,48,93,.76);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.72;
}

.about-partners {
  display: grid;
  gap: 24px;
}

.about-partner-card {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(34,48,93,.1);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.about-partner-card figure {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-sm);
  background: rgba(34,48,93,.04);
}

.about-partner-card img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.about-partner-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(34,48,93,.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-partner-card h3 {
  margin: 0 0 16px;
  color: var(--brand-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.about-partner-card p {
  margin: 0;
  color: rgba(34,48,93,.78);
  font-size: 16px;
  line-height: 1.76;
}

.contact-page {
  padding: 68px 0 76px;
  background: #fffdfa;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(34,48,93,.10);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(34,48,93,.08);
  color: var(--brand-primary);
}

.contact-icon svg {
  width: 27px;
  height: 27px;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-card address {
  display: grid;
  gap: 7px;
  color: rgba(34,48,93,.75);
  font-style: normal;
  line-height: 1.58;
}

.contact-card strong {
  color: var(--brand-primary);
}

.contact-card a,
.privacy-check a {
  color: var(--brand-primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(34,48,93,.25);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--ease);
}

.contact-card a:hover,
.privacy-check a:hover {
  text-decoration-color: var(--brand-primary);
}

.contact-form-panel {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(34,48,93,.10);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-form-panel h2 {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
}

.contact-form-panel > p {
  margin: 0 0 28px;
  color: rgba(34,48,93,.74);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(34,48,93,.76);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(34,48,93,.18);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  background: #fff;
  color: var(--brand-primary);
  font: inherit;
  font-weight: 500;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(34,48,93,.52);
  box-shadow: 0 0 0 4px rgba(34,48,93,.08);
}

.privacy-check {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  gap: 11px;
  align-items: flex-start;
  color: rgba(34,48,93,.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--brand-primary);
}

.recaptcha-slot {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: flex-start;
  border: 1px dashed rgba(34,48,93,.24);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(34,48,93,.035);
}

.recaptcha-placeholder {
  margin: 0;
  color: rgba(34,48,93,.62);
  font-size: 13px;
  line-height: 1.5;
}

.contact-form .primary-button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-map-section {
  padding: 0;
  background: #fffdfa;
}

.contact-map {
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  border-top: 1px solid rgba(34,48,93,.10);
  border-bottom: 1px solid rgba(34,48,93,.10);
  background: rgba(34,48,93,.06);
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
}

.site-footer {
  padding: clamp(58px, 8vw, 92px) 0 34px;
  background: var(--brand-primary);
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(42px, 7vw, 92px);
}

.footer-column {
  display: grid;
  gap: 34px;
  align-content: start;
}

.footer-block.withborder {
  border-left: 3px solid white;
  padding-left: 20px;
}

.footer-block h2,
.newsletter h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-block address {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.78);
  font-style: normal;
  line-height: 1.58;
}

.footer-block strong {
  color: var(--white);
  font-weight: 800;
}

.footer-block.withborder strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2em;
  line-height: 1.28;
  text-transform: uppercase;
}

.footer-block a,
.footer-legal a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.36);
  text-underline-offset: 4px;
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}

.footer-block a:hover,
.footer-legal a:hover { text-decoration-color: var(--white); }

.footer-contact-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact-line svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.contractor {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.contractor-logo {
  display: inline-grid;
  min-height: 54px;
  place-items: center;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contractor p,
.footer-invite,
.newsletter p,
.footer-legal p {
  margin: 0;
  line-height: 1.72;
}

.footer-legal {
  text-align: center;
}

.footer-invite {
  max-width: 560px;
  color: rgba(255,255,255,.86);
  font-size: 17px;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: var(--white);
  transition: transform .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--white);
  background: rgba(255,255,255,.18);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.newsletter {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
}

.newsletter p {
  margin-bottom: 22px;
  color: rgba(255,255,255,.76);
}

.newsletter form {
  display: grid;
  gap: 13px;
}

.newsletter label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.newsletter input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(255,255,255,.96);
  color: var(--brand-primary);
  font: inherit;
}

.newsletter input:focus {
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: 2px;
}

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

.newsletter-hidden {
  position: absolute;
  left: -5000px;
}

.newsletter button {
  justify-self: start;
  min-height: 48px;
  margin-top: 4px;
  padding: 14px 22px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand-primary);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease);
}

.newsletter button:hover { transform: translateY(-2px); }

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.68);
  font-size: 12.5px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); opacity: .45; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@media (max-width: 1120px) {
  .nav-menu {
    position: fixed;
    inset: 118px 18px auto 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(24,33,31,.10);
    border-radius: 24px;
    background: rgba(255,253,250,.97);
    color: var(--brand-ink);
    box-shadow: var(--shadow-soft);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s var(--ease), transform .24s var(--ease);
  }

  .site-header.menu-active .nav-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 15px 12px;
    border-radius: 14px;
  }

  .nav-menu a:hover { background: rgba(24,33,31,.04); }
  .nav-menu a::after { display: none; }
  .menu-toggle { display: inline-grid; place-content: center; }
  .main-nav { grid-column: 2 / 4; }
}

@media (max-width: 880px) {
  :root { --header-height: 106px; }
  .header-shell {
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    grid-template-rows: 42px 64px;
    column-gap: 18px;
  }
  .topbar { grid-column: 2 / 4; }
  .topbar-inner { justify-content: space-between; gap: 10px; }
  .language-switcher { display: none; }
  .book-button { padding: 7px 11px; font-size: 12px; }
  .hero-content,
  .split-feature,
  .location-hero,
  .section-intro,
  .mortgage-layout,
  .location-map-head,
  .location-info-grid,
  .gallery-page-head,
  .construction-grid,
  .about-page-head,
  .about-partner-card,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-content { align-items: end; gap: 30px; padding-bottom: 92px; }
  .hero-panel { justify-self: start; max-width: 100%; }
  .feature-grid,
  .values-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 420px; }
  .location-hero {
    width: min(calc(100% - 40px), var(--container));
  }
  .location-hero-media {
    width: calc(100% + 40px);
    min-height: 420px;
    margin-left: -20px;
  }
  .location-hero-copy {
    padding: 36px 28px;
  }
  .gallery-head { display: grid; align-items: start; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { min-height: 310px; padding-bottom: 58px; }
  .technical-page { padding: 54px 0 74px; }
  .technical-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .virtual-search-page { padding: 48px 0 70px; }
  .mortgage-page { padding: 48px 0 70px; }
  .mortgage-image { min-height: 420px; }
  .location-page { padding: 48px 0 52px; }
  .google-location-map { min-height: 560px; }
  .location-perks { grid-template-columns: 1fr 1fr 1fr; }
  .location-story-grid { grid-template-columns: 1fr; }
  .gallery-video-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-page { padding: 48px 0 72px; }
  .contact-page { padding: 48px 0 70px; }
  .gallery-tile:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
  .apartment-filters-inner { grid-template-columns: 1fr 1fr; }
  .filter-search,
  .size-filter { grid-column: 1 / -1; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-shell {
    grid-template-columns: minmax(132px, 1fr) auto;
    grid-template-rows: 38px 68px;
    column-gap: 12px;
  }
  .topbar { grid-column: 1 / 3; }
  .topbar-inner { min-height: 38px; font-size: 12px; }
  .phone-link span { display: none; }
  .brand {
    grid-column: 1;
    grid-row: 2;
  }
  .brand-logo { width: 150px; }
  .main-nav { min-height: 68px; }
  .menu-toggle {
    grid-column: 2;
    grid-row: 2;
  }
  .nav-menu { inset: 106px 12px auto 12px; }
  h1 { font-size: clamp(52px, 17vw, 78px); }
  .hero-lead { font-size: 17px; }
  .hero-panel { padding: 20px; }
  .hero-panel p { font-size: 24px; }
  .location-hero {
    width: min(calc(100% - 28px), var(--container));
  }
  .location-hero-media {
    width: calc(100% + 28px);
    min-height: 320px;
    margin-left: -14px;
  }
  .location-hero-copy {
    padding: 30px 22px;
  }
  .location-hero-copy blockquote {
    font-size: clamp(34px, 11vw, 52px);
  }
  .quote-card { padding: 34px 26px; }
  .quote-card::before { left: 24px; font-size: 110px; }
  .feature-card-content { padding: 24px; }
  .cta-content { padding: 44px 24px; }
  .primary-button, .secondary-button, .border-button { width: 100%; }
  .page-hero {
    min-height: 280px;
    padding: calc(var(--header-height) + 44px) 0 46px;
  }
  .technical-page { padding: 38px 0 56px; }
  .virtual-search-page { padding: 34px 0 54px; }
  .virtual-search-embed {
    min-height: 360px;
  }
  .technical-content {
    padding-left: 20px;
    font-size: 17px;
  }
  .technical-benefits {
    grid-template-columns: 1fr;
  }
  .mortgage-page { padding: 34px 0 54px; }
  .mortgage-image { min-height: 300px; }
  .mortgage-highlight { padding: 22px 18px; }
  .mortgage-content { font-size: 16px; }
  .location-page { padding: 34px 0 40px; }
  .google-location-map {
    min-height: 430px;
  }
  .fallback-map-pin {
    gap: 5px;
    max-width: 138px;
    padding: 5px;
    font-size: 9px;
  }
  .fallback-map-pin i {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  .fallback-map-pin.project-pin img {
    width: 28px;
    height: 28px;
  }
  .location-perks {
    grid-template-columns: 1fr;
  }
  .location-story-section {
    padding-bottom: 54px;
  }
  .gallery-page { padding: 38px 0 26px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-page { padding: 38px 0 56px; }
  .about-partner-card {
    padding: 20px;
  }
  .about-partner-card figure {
    min-height: 140px;
    padding: 22px;
  }
  .gallery-video-pair { padding: 30px 0; }
  .construction-section { padding: 36px 0 48px; }
  .contact-page { padding: 34px 0 54px; }
  .contact-form-panel { padding: 22px 18px; }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-map,
  .contact-map iframe {
    min-height: 420px;
  }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .construction-photo-stage,
  .construction-video-stage {
    aspect-ratio: 1.1 / 1;
  }
  .lightbox {
    padding: 64px 12px 18px;
  }
  .lightbox figure {
    max-width: 94vw;
    max-height: 66vh;
  }
  .lightbox figure img {
    max-height: 66vh;
  }
  .lightbox-nav {
    top: auto;
    bottom: 94px;
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
  .lightbox-thumbs button {
    flex-basis: 62px;
    height: 46px;
  }
  .apartment-filters-inner {
    grid-template-columns: 1fr;
  }
  .filter-search,
  .size-filter { grid-column: auto; }
  .apartment-table th,
  .apartment-table td {
    padding: 11px 12px;
    font-size: 13px;
  }
  .contractor,
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter button { width: 100%; }
}

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