:root {
  --navy: #0c2240;
  --navy2: #132f51;
  --gold: #c9a15a;
  --gold2: #e5c789;
  --ink: #17283c;
  --muted: #667080;
  --line: #e5e8e9;
  --paper: #f7f8f7;
  --white: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
.topline {
  height: 34px;
  background: var(--navy);
  color: #dce4ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topline a {
  color: var(--gold2);
  letter-spacing: 0.04em;
}
.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(12, 34, 64, 0.09);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
}
.brand-symbol {
  position: relative;
  font-family: Georgia, serif;
  font-size: 34px;
  letter-spacing: -0.12em;
  line-height: 1;
  padding-top: 9px;
  padding-right: 4px;
}
.brand-symbol .amp {
  font-size: 22px;
  color: var(--gold);
  letter-spacing: -0.09em;
}
.roof {
  position: absolute;
  top: 0;
  left: 13px;
  width: 41px;
  height: 17px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  transform: rotate(35deg) skew(-20deg);
  border-radius: 1px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #d2d7db;
  padding-left: 13px;
  gap: 4px;
}
.brand-copy strong {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.2em;
}
.brand-copy small {
  font-size: 8px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: #7e868c;
}
.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: #3e4c5d;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}
.main-nav a.active:after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.main-nav .admin-link {
  color: var(--gold);
  margin-left: 18px;
}
.admin-link span {
  margin-left: 8px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 27px;
  color: var(--navy);
}
.page {
  display: none;
}
.page.active {
  display: block;
}
.hero {
  height: 320px;
  position: relative;
  background: #e6e3dc;
  display: flex;
  overflow: hidden;
}
.hero-photo {
  width: 64%;
  height: 100%;
  background-image: url("assets/kk-home.webp");
  background-size: auto 200%;
  background-position: left center;
}
.hero-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 51%;
  height: 100%;
  background: var(--navy);
  color: #fff;
  padding: 36px 7vw 30px 7vw;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.eyebrow span {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: currentColor;
}
.eyebrow.dark {
  color: #a17a34;
}
.hero h1,
.inner-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  font-size: clamp(42px, 4.1vw, 68px);
  line-height: 1.17;
  margin: 19px 0;
}
.hero h1 em,
.inner-hero h1 em {
  font-weight: 500;
  color: var(--gold2);
}
.hero-panel p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 380px;
  color: #dde4e9;
  margin: 0 0 28px;
}
.hero-action {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--gold);
  padding: 0 0 11px;
  font-size: 13px;
  font-weight: 700;
}
.hero-action span {
  color: var(--gold2);
  font-size: 20px;
}
.content-wrap {
  max-width: 1320px;
  margin: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 42px;
  margin-bottom: 23px;
}
.section-heading h2,
.about-copy h2,
.contact-intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
  color: var(--navy);
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1fr 146px;
  gap: 0;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(17, 36, 60, 0.05);
  background: #fff;
}
.filter-bar label {
  display: flex;
  flex-direction: column;
  padding: 14px 17px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.filter-bar label span {
  font-size: 11px;
  font-weight: 700;
  color: #8b9299;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}
.filter-bar select,
.filter-bar input {
  border: 0;
  outline: 0;
  color: var(--navy);
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  min-width: 0;
}
.filter-bar input::placeholder {
  color: #9ca4ab;
  font-weight: 500;
}
.filter-bar button {
  background: var(--navy);
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.filter-bar button span {
  color: var(--gold2);
  margin-left: 10px;
}
.filter-bar button:hover,
.primary-link:hover {
  background: var(--navy2);
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 19px;
  font-size: 13px;
  color: var(--muted);
}
.results-line button {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.property-card {
  background: #fff;
  border: 1px solid #e6e9ea;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(17, 36, 60, 0.11);
}
.card-photo {
  height: 230px;
  position: relative;
  background: #e8e9e6;
  overflow: hidden;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.property-card:hover .card-photo img {
  transform: scale(1.04);
}
.card-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 12px;
  text-transform: uppercase;
}
.card-body {
  padding: 20px 21px 22px;
}
.card-location {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9a793e;
  text-transform: uppercase;
  font-weight: 700;
}
.card-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0 17px;
  line-height: 1.27;
  color: var(--navy);
}
.card-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-meta svg {
  width: 16px;
  height: 16px;
  stroke: #8a969f;
  fill: none;
  stroke-width: 1.7;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
}
.card-bottom strong {
  font-size: 19px;
  color: var(--navy);
}
.card-bottom span {
  font-size: 19px;
  color: #a67d3b;
}
.demo-note {
  font-size: 12px;
  color: #85909a;
  margin: 25px 0 70px;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed #ccd3d8;
  background: #fafbfb;
}
.empty-state h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  margin: 0 0 10px;
}
.empty-state p {
  color: var(--muted);
}
.empty-state button {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 12px 18px;
  font-weight: 700;
}
.closing-band {
  background: var(--navy);
  color: #fff;
  padding: 50px max(5vw, 32px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.closing-band h2 {
  font:
    500 clamp(28px, 3vw, 42px)/1.27 "Playfair Display",
    Georgia,
    serif;
  margin: 14px 0 0;
}
.closing-band a {
  border-bottom: 1px solid var(--gold);
  font-weight: 700;
  font-size: 13px;
  padding-bottom: 12px;
  white-space: nowrap;
}
.closing-band a span {
  color: var(--gold);
  margin-left: 25px;
  font-size: 20px;
}
.inner-hero {
  background: var(--navy);
  color: #fff;
  padding: 80px max(6vw, 32px);
  min-height: 375px;
  position: relative;
  overflow: hidden;
}
.inner-hero:after {
  content: "K&K";
  position: absolute;
  right: 6vw;
  bottom: -110px;
  font:
    500 280px Georgia,
    serif;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.inner-hero h1 {
  margin: 17px 0;
}
.inner-hero p {
  color: #d9e1e6;
  max-width: 650px;
  line-height: 1.75;
  font-size: 16px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 8vw;
  align-items: center;
  padding-top: 85px;
  padding-bottom: 80px;
}
.about-copy p {
  line-height: 1.85;
  color: #526173;
  font-size: 16px;
}
.about-copy h2 {
  margin-bottom: 24px;
}
.signature {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  color: var(--navy);
  margin-top: 32px;
}
.signature span {
  color: #ae8546;
}
.about-image {
  border: 12px solid #f3f1ed;
  max-height: 600px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services {
  padding-bottom: 90px;
}
.services .section-heading {
  padding-top: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-grid > div {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-grid span {
  color: #b28a4d;
  font:
    500 24px "Playfair Display",
    Georgia,
    serif;
}
.service-grid h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 22px 0 10px;
}
.service-grid p {
  font-size: 14px;
  line-height: 1.65;
  color: #647080;
  margin: 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  padding-top: 90px;
  padding-bottom: 100px;
}
.contact-intro p {
  line-height: 1.8;
  color: #536274;
}
.contact-line {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  margin-top: 35px;
}
.contact-line span {
  color: #818c95;
}
.contact-line a {
  font-weight: 700;
  color: var(--navy);
}
.contact-hint {
  font-size: 13px !important;
}
.contact-card {
  background: #f1f3f3;
  padding: 50px;
}
.contact-card h3 {
  font:
    500 34px/1.25 "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
  margin: 24px 0 15px;
}
.contact-card p {
  color: #5b6978;
  line-height: 1.8;
  margin-bottom: 29px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  padding: 15px 22px;
  font-size: 13px;
  font-weight: 700;
}
.primary-link span {
  color: var(--gold2);
  font-size: 18px;
}
.admin-page {
  background: #f8f9f8;
  min-height: 72vh;
}
.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 64px;
  padding-bottom: 30px;
}
.admin-top h1 {
  font:
    500 44px "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
  margin: 10px 0;
}
.admin-top p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 630px;
  color: #647080;
  margin: 0;
}
.admin-content {
  padding-bottom: 90px;
}
.admin-warning {
  background: #fff8e9;
  border-left: 3px solid var(--gold);
  font-size: 13px;
  line-height: 1.6;
  color: #6d5b3e;
  padding: 13px 18px;
  margin-bottom: 22px;
}
.admin-list {
  background: #fff;
  border: 1px solid var(--line);
}
.admin-row {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.admin-row:last-child {
  border-bottom: 0;
}
.admin-row img {
  width: 92px;
  height: 65px;
  object-fit: cover;
}
.admin-row h3 {
  font-size: 15px;
  margin: 0 0 5px;
  color: var(--navy);
}
.admin-row p {
  font-size: 12px;
  color: #7c8790;
  margin: 0;
}
.admin-row strong {
  font-size: 15px;
  color: var(--navy);
}
.admin-actions {
  display: flex;
  gap: 6px;
}
.admin-actions button {
  background: #fff;
  border: 1px solid #d8dee1;
  padding: 8px 11px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 700;
}
.admin-actions button:hover {
  border-color: var(--navy);
}
.admin-actions .delete {
  color: #a63d3d;
}
.admin-empty {
  padding: 35px;
  color: var(--muted);
  font-size: 14px;
}
.property-dialog,
.editor-dialog {
  border: 0;
  padding: 0;
  max-height: min(90vh, 900px);
  width: min(880px, calc(100vw - 30px));
  box-shadow: 0 25px 80px rgba(5, 22, 44, 0.28);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(7, 24, 44, 0.72);
}
.dialog-close {
  border: 0;
  background: transparent;
  font-size: 29px;
  color: var(--navy);
  line-height: 1;
  padding: 6px;
  cursor: pointer;
}
.property-dialog > .dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  background: #fff;
  z-index: 2;
}
.detail-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #eee;
}
.detail-body {
  padding: 32px 40px 38px;
}
.detail-body h2 {
  font:
    500 38px "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
  margin: 8px 0 14px;
}
.detail-price {
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
}
.detail-meta {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 23px 0;
  font-size: 14px;
  color: #647080;
}
.detail-body p {
  line-height: 1.8;
  color: #526173;
}
.detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}
.detail-actions small {
  color: #84909a;
}
.editor-dialog {
  width: min(720px, calc(100vw - 30px));
  padding: 27px 34px 30px;
}
.editor-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.editor-head h2 {
  font:
    500 31px "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
  margin: 9px 0 20px;
}
.editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.editor-fields label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  color: #445366;
  gap: 6px;
}
.editor-fields label.full {
  grid-column: 1/-1;
}
.editor-fields input,
.editor-fields select,
.editor-fields textarea {
  width: 100%;
  border: 1px solid #d7dfe2;
  background: #fff;
  padding: 10px 11px;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  font-size: 14px;
}
.editor-fields input:focus,
.editor-fields select:focus,
.editor-fields textarea:focus {
  border-color: var(--gold);
}
.editor-fields small {
  color: #89929a;
  font-size: 11px;
  font-weight: 400;
}
.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.editor-actions > button:first-child {
  background: #fff;
  border: 1px solid #d7dfe2;
  padding: 12px 18px;
  color: var(--navy);
}
.form-message {
  font-size: 12px;
  color: #a63d3d;
  margin: 10px 0 0;
}
.footer-inner {
  background: #0a1d36;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 55px max(5vw, 24px);
}
.footer-brand {
  font:
    500 36px Georgia,
    serif;
  letter-spacing: -0.09em;
}
.footer-brand span {
  color: var(--gold);
  font-size: 25px;
}
.footer-brand small {
  letter-spacing: 0.19em;
  font-size: 12px;
  margin-left: 13px;
}
.footer-inner p {
  color: #b3c1cf;
  font-size: 13px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 40px;
  font-size: 13px;
  color: #d5e0e9;
}
.footer-links a:hover {
  color: var(--gold2);
}
.footer-bottom {
  background: #08192d;
  color: #93a3b0;
  display: flex;
  justify-content: space-between;
  padding: 17px max(5vw, 24px);
  font-size: 11px;
  letter-spacing: 0.05em;
}
@media (max-width: 1050px) {
  .hero-panel {
    width: 57%;
    padding-left: 9vw;
  }
  .hero-photo {
    width: 68%;
  }
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-bar label:nth-child(2) {
    border-right: 0;
  }
  .filter-bar label:nth-child(3),
  .filter-bar label:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .filter-bar button {
    grid-column: 1/-1;
    min-height: 52px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout {
    grid-template-columns: 1fr 340px;
    gap: 4vw;
  }
  .admin-row {
    grid-template-columns: 80px 1fr auto;
  }
  .admin-row img {
    width: 80px;
  }
  .admin-row strong {
    display: none;
  }
}
@media (max-width: 700px) {
  .topline {
    justify-content: center;
    font-size: 10px;
  }
  .topline span {
    display: none;
  }
  .site-header {
    height: 72px;
  }
  .brand-symbol {
    font-size: 30px;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .brand-copy small {
    font-size: 7px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    box-shadow: 0 12px 18px rgba(12, 34, 64, 0.12);
    padding: 10px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    height: auto;
    padding: 13px 0;
  }
  .main-nav a.active:after {
    bottom: 5px;
  }
  .main-nav .admin-link {
    margin-left: 0;
  }
  .hero {
    height: auto;
    display: block;
    background: var(--navy);
  }
  .hero-photo {
    height: 230px;
    width: 100%;
    background-position: 12% center;
  }
  .hero-panel {
    position: relative;
    width: 100%;
    clip-path: none;
    padding: 37px 28px 44px;
  }
  .hero h1,
  .inner-hero h1 {
    font-size: 41px;
  }
  .hero-panel p {
    font-size: 15px;
  }
  .content-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section-heading {
    padding-top: 50px;
    display: block;
  }
  .section-heading p {
    margin-top: 12px;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar label {
    padding: 13px;
  }
  .filter-bar label span {
    font-size: 10px;
  }
  .filter-bar select,
  .filter-bar input {
    font-size: 13px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card-photo {
    height: 235px;
  }
  .demo-note {
    margin-bottom: 50px;
  }
  .closing-band {
    padding: 45px 25px;
    display: block;
  }
  .closing-band a {
    display: inline-block;
    margin-top: 28px;
    white-space: normal;
  }
  .inner-hero {
    min-height: 0;
    padding: 63px 24px;
  }
  .inner-hero:after {
    display: none;
  }
  .inner-hero p {
    font-size: 15px;
  }
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 55px;
    gap: 35px;
  }
  .about-image {
    max-height: 450px;
  }
  .services {
    padding-bottom: 60px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid > div {
    padding: 22px;
  }
  .service-grid h3 {
    margin-top: 10px;
  }
  .contact-card {
    padding: 32px;
  }
  .admin-top {
    display: block;
    padding-top: 48px;
  }
  .admin-top h1 {
    font-size: 36px;
  }
  .admin-top .primary-link {
    margin-top: 20px;
  }
  .admin-row {
    grid-template-columns: 65px 1fr;
    gap: 12px;
  }
  .admin-row img {
    width: 65px;
    height: 62px;
  }
  .admin-actions {
    grid-column: 2;
  }
  .footer-inner {
    display: block;
    padding: 42px 24px;
  }
  .footer-links {
    margin-top: 30px;
  }
  .footer-bottom {
    padding: 16px 24px;
  }
  .detail-image {
    height: 240px;
  }
  .detail-body {
    padding: 25px;
  }
  .detail-body h2 {
    font-size: 30px;
  }
  .detail-actions {
    display: block;
  }
  .detail-actions .primary-link {
    margin-top: 17px;
  }
  .editor-dialog {
    padding: 22px;
  }
  .editor-fields {
    grid-template-columns: 1fr;
  }
  .editor-fields label.full {
    grid-column: auto;
  }
}
@media (max-width: 390px) {
  .brand-copy small {
    display: none;
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .filter-bar label {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
  }
  .filter-bar label:first-child {
    border-top: 0;
  }
  .filter-bar button {
    grid-column: auto;
  }
  .detail-meta {
    flex-wrap: wrap;
  }
  .contact-line {
    display: block;
  }
  .contact-line a {
    display: block;
    margin-top: 8px;
  }
}

/* A kép bal oldali, szöveg nélküli részét mutatjuk minden képernyőn. */
.hero-photo {
  background-size: 240% auto;
  background-position: left center;
}

/* Ingatlanszűrő */
.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1fr 1fr 132px;
  gap: 9px;
  align-items: stretch;
  padding: 10px;
  background: #f3f5f5;
  border: 1px solid #e8ebeb;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(17, 36, 60, 0.06);
  position: relative;
  z-index: 5;
}
.filter-bar .filter-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 68px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  position: relative;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.filter-bar .filter-field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 90, 0.14);
}
.filter-bar .filter-label {
  font-size: 10px;
  font-weight: 700;
  color: #8b9299;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.filter-bar .filter-field input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  min-width: 0;
  padding: 0;
  height: 24px;
}
.filter-bar .filter-field input::placeholder {
  color: #a5adb2;
  font-weight: 500;
}
.filter-bar .filter-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
.filter-bar .filter-field input::-webkit-inner-spin-button,
.filter-bar .filter-field input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.filter-bar .input-unit {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.filter-bar .input-unit > span {
  font-size: 12px;
  color: #76838d;
  font-weight: 600;
}
.filter-bar .filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  min-height: 24px;
  grid-column: auto;
}
.filter-bar .filter-trigger [data-selected] {
  color: var(--navy);
  margin: 0;
}
.filter-bar .filter-trigger:hover {
  background: transparent;
}
.filter-bar .chevron {
  width: 8px;
  height: 8px;
  border-right: 1.8px solid #7e8d99;
  border-bottom: 1.8px solid #7e8d99;
  transform: rotate(45deg);
  margin-right: 4px;
  margin-top: -4px;
  flex: none;
  transition: transform 0.2s;
}
.filter-bar .filter-trigger[aria-expanded="true"] .chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}
.filter-options {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e1e6e8;
  border-radius: 11px;
  padding: 5px;
  box-shadow: 0 14px 32px rgba(12, 34, 64, 0.16);
  z-index: 30;
}
.filter-bar .filter-options button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  background: transparent;
  color: var(--navy);
  border: 0;
  border-radius: 7px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  min-height: 0;
  grid-column: auto;
}
.filter-bar .filter-options button:hover,
.filter-bar .filter-options button:focus-visible {
  background: #f3f5f5;
  outline: 0;
}
.filter-bar .filter-options button[aria-selected="true"] {
  background: #f9f4e9;
  color: #88672c;
}
.filter-bar .filter-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 68px;
  background: var(--navy);
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  grid-column: auto;
  transition:
    background 0.2s,
    transform 0.2s;
}
.filter-bar .filter-submit:hover {
  background: var(--navy2);
  transform: translateY(-1px);
}
.filter-bar .filter-submit span {
  color: var(--gold2);
  font-size: 20px;
  margin: 0;
}
@media (max-width: 1100px) {
  .filter-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filter-bar .filter-submit {
    grid-column: auto;
  }
}
@media (max-width: 700px) {
  .hero-photo {
    background-position: left center;
  }
  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }
  .filter-bar .filter-field {
    border: 1px solid #e3e8ea !important;
    padding: 10px 12px;
    min-height: 63px;
  }
  .filter-bar .filter-field:nth-child(3) {
    grid-column: 1/-1;
  }
  .filter-bar .filter-label {
    font-size: 10px;
  }
  .filter-bar .filter-field input,
  .filter-bar .filter-trigger {
    font-size: 13px;
  }
  .filter-bar .filter-submit {
    grid-column: 1/-1;
    min-height: 50px;
  }
}
@media (max-width: 390px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .filter-bar .filter-field:nth-child(3),
  .filter-bar .filter-submit {
    grid-column: 1;
  }
  .filter-bar .filter-field {
    min-height: 59px;
  }
  .filter-bar .filter-submit {
    min-height: 48px;
  }
}
@media (min-width: 701px) {
  .hero-panel {
    padding-top: 30px;
  }
  .hero h1 {
    font-size: clamp(42px, 3.6vw, 52px);
    margin: 13px 0;
  }
  .hero-panel p {
    line-height: 1.6;
    margin-bottom: 16px;
  }
}
@media (min-width: 701px) and (max-width: 850px) {
  .site-header {
    height: 72px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    box-shadow: 0 12px 18px rgba(12, 34, 64, 0.12);
    padding: 10px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    height: auto;
    padding: 13px 0;
  }
  .main-nav a.active:after {
    bottom: 5px;
  }
  .main-nav .admin-link {
    margin-left: 0;
  }
}

/* V2: the original navy and gold identity, with space for the expanded content. */
.main-nav {
  gap: 22px;
}
.main-nav a {
  font-size: 12px;
}
.site-header {
  padding-inline: max(3vw, 20px);
}
.brand-copy small {
  font-size: 7px;
}
.hero {
  height: 460px;
}
.hero-panel {
  width: 55%;
  padding: 50px 4vw 35px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(42px, 4vw, 62px);
  margin: 18px 0;
}
.hero-panel p {
  max-width: 520px;
  margin-bottom: 24px;
  font-size: 15px;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-buttons .primary-link {
  background: #183d66;
  border-color: #426389;
  padding: 14px 16px;
}
.gold-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold2);
  color: var(--navy);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--gold2);
}
.gold-link:hover {
  background: #f1dba9;
}
.center-action {
  text-align: center;
  margin: 32px 0;
}
.home-properties .demo-note {
  margin-bottom: 45px;
  text-align: center;
}
.reviews-section {
  background: #f5f3ee;
  padding-bottom: 65px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.review {
  padding: 24px;
  background: white;
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.quote-mark {
  font:
    64px/1 Georgia,
    serif;
  color: var(--gold);
  height: 44px;
}
.review blockquote {
  margin: 8px 0 25px;
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
  color: #526173;
}
.review strong {
  font-size: 12px;
}
.review small {
  font-size: 10px;
  color: #92999d;
  margin-top: 7px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.seller-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding-top: 80px;
  padding-bottom: 80px;
  align-items: center;
  scroll-margin-top: 100px;
}
.seller-copy h2 {
  font:
    500 clamp(30px, 3vw, 44px)/1.25 "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
  letter-spacing: -0.035em;
}
.seller-copy h2 em {
  color: #a17a34;
  font-weight: 500;
}
.seller-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: #526173;
}
.seller-benefits {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.seller-benefits li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.seller-benefits li:before {
  content: "✓";
  color: #a17a34;
  margin-right: 12px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.inquiry-form {
  padding: 30px;
}
.inquiry-form h3 {
  font-size: 30px;
}
.consent {
  display: flex;
  gap: 9px;
  font-size: 11px;
  line-height: 1.6;
  margin: 20px 0;
  color: #586777;
  align-items: start;
}
.consent input {
  margin-top: 3px;
  flex: none;
}
.form-status {
  font-size: 12px !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}
.inquiry-form .form-status:empty {
  display: none;
}
.inquiry-form .form-status[data-state] {
  padding: 16px 18px;
  margin-top: 20px;
  border: 1px solid #c9d3dd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px !important;
}
.inquiry-form .form-status[data-state="error"] {
  color: #8c2828;
  background: #fff3f1;
  border-color: #e7b4ae;
}
.inquiry-form .form-status[data-state="success"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 22px;
  color: #235640;
  text-align: center;
  background: #eaf5ee;
  border-color: #a9cdb5;
  border-radius: 12px;
}
.inquiry-success-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #26734c;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}
.inquiry-form .form-status strong {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
}
.inquiry-form[data-submitted] > .editor-fields,
.inquiry-form[data-submitted] > button[type="submit"] {
  display: none;
}
.inquiry-again {
  display: block;
  margin: 22px auto 0;
  padding: 12px 18px;
  color: var(--navy);
  background: transparent;
  border: 1px solid #a9b6c1;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.inquiry-again[hidden] {
  display: none;
}
.inquiry-again:hover {
  background: #fff;
}
.inquiry-again:focus-visible,
.inquiry-form .form-status:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}
.section-space {
  padding-top: 55px;
  padding-bottom: 70px;
}
.section-space > .demo-note {
  margin: 0 0 28px;
}
.team-placeholder {
  min-height: 400px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 35px;
  text-align: center;
  border: 10px solid #eeebe4;
}
.team-placeholder > span {
  font:
    72px Georgia,
    serif;
}
.gold {
  color: var(--gold2);
}
.team-placeholder h3 {
  font:
    28px/1.3 Georgia,
    serif;
}
.team-placeholder p {
  color: #c4ced8;
  font-size: 12px;
  line-height: 1.8;
}
.profile-grid,
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.profile {
  padding: 35px;
  border: 1px solid var(--line);
}
.profile h2,
.values-grid h2,
.service-intro h2,
.blog-card h2 {
  font:
    500 30px/1.25 "Playfair Display",
    Georgia,
    serif;
  color: var(--navy);
}
.profile p,
.values-grid p,
.service-intro p,
.process-list p {
  font-size: 15px;
  line-height: 1.85;
  color: #526173;
}
.profile-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  width: 60px;
  height: 60px;
  color: #a17a34;
  font:
    24px Georgia,
    serif;
}
.values-intro {
  text-align: center;
  font:
    23px/1.6 Georgia,
    serif;
  margin: 45px auto;
  max-width: 800px;
}
.values-grid {
  background: #f5f3ee;
  padding: 38px;
  gap: 45px;
}
.services-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.services-v2 article {
  padding: 30px;
  border: 1px solid var(--line);
}
.step-number {
  color: #af8748;
  font:
    32px Georgia,
    serif;
}
.services-v2 h3 {
  font-size: 19px;
  color: var(--navy);
}
.services-v2 p {
  font-size: 14px;
  color: #526173;
  line-height: 1.85;
}
.service-intro {
  margin: 45px 0;
  max-width: 920px;
}
.process-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
}
.process-list article {
  display: flex;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.process-list h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.process-list p {
  margin: 0;
  font-size: 14px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--line);
}
.blog-card > div:last-child {
  padding: 26px;
}
.blog-number {
  height: 130px;
  background: var(--navy);
  color: var(--gold2);
  font:
    64px Georgia,
    serif;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-number span {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.2em;
}
.blog-card h2 {
  font-size: 25px;
}
.blog-card p {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.8;
  color: #526173;
}
.contact-line {
  margin-top: 0;
  overflow-wrap: anywhere;
}
.contact-intro > p {
  margin-bottom: 30px;
}
.admin-profile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 18px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.admin-profile select {
  margin-left: 10px;
  padding: 8px;
  border: 1px solid #ccd4da;
}
.admin-profile > span {
  color: var(--muted);
  font-size: 12px;
}
.admin-row {
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 15px;
}
.admin-row > strong {
  display: none;
}
.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 330px;
}
.status-badge {
  display: inline-block;
  font-size: 10px;
  background: #edf5ee;
  color: #3e684a;
  padding: 4px 6px;
  margin-top: 4px;
}
.inactive {
  background: #f8f8f8;
}
.inactive .status-badge {
  background: #ececec;
  color: #777;
}
.admin-section {
  margin-top: 35px;
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
}
.admin-section h2,
.admin-content > h2 {
  font:
    500 28px Georgia,
    serif;
  color: var(--navy);
}
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.admin-section-heading h2 {
  margin: 0;
}
.content-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  align-items: center;
  overflow-wrap: anywhere;
}
.content-row > div:first-child {
  flex: 1;
  min-width: 0;
}
.content-row p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}
.content-row small {
  font-size: 11px;
  color: var(--muted);
}
#contacts-form > .primary-link {
  margin-top: 18px;
}
#share-text {
  width: 100%;
  padding: 12px;
  border: 1px solid #d7dfe2;
  resize: vertical;
  margin-bottom: 15px;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: calc(100vw - 48px);
  padding: 18px 24px;
  background: var(--navy);
  color: white;
  box-shadow: 0 5px 25px #0003;
  z-index: 100;
  font-size: 14px;
}
.count-badge {
  font:
    14px Arial,
    sans-serif;
  background: #eee;
  padding: 5px 9px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.detail-body p {
  white-space: pre-line;
}
@media (max-width: 1150px) {
  .main-nav {
    gap: 14px;
  }
  .brand-copy small {
    display: none;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-panel {
    padding-left: 7vw;
    width: 60%;
  }
  .hero h1 {
    font-size: 43px;
  }
  .seller-layout {
    gap: 30px;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }
  .site-header {
    height: 72px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: auto;
    background: white;
    padding: 10px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 18px #0c224020;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    height: auto;
    padding: 13px 0;
  }
  .main-nav a.active:after {
    bottom: 5px;
  }
  .brand-copy small {
    display: block;
  }
}
@media (max-width: 700px) {
  .hero {
    height: auto;
  }
  .hero-photo {
    height: 230px;
  }
  .hero-panel {
    width: 100%;
    padding: 32px 24px 38px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .primary-link {
    justify-content: center;
    text-align: center;
  }
  .review-grid,
  .seller-layout,
  .profile-grid,
  .values-grid,
  .services-v2,
  .process-list,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .seller-layout {
    padding-block: 50px;
  }
  .review-grid {
    gap: 14px;
  }
  .review {
    padding: 22px;
  }
  .reviews-section {
    padding-bottom: 45px;
  }
  .team-placeholder {
    min-height: 300px;
  }
  .profile,
  .values-grid,
  .admin-section {
    padding: 23px;
  }
  .profile-grid,
  .values-grid {
    gap: 22px;
  }
  .admin-row {
    grid-template-columns: 65px minmax(0, 1fr);
  }
  .admin-actions {
    justify-content: flex-start;
    max-width: none;
  }
  .admin-profile,
  .admin-section-heading,
  .content-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-section-heading .primary-link {
    padding: 12px 16px;
  }
  .content-row .admin-actions {
    width: 100%;
  }
  .inquiry-form {
    padding: 25px;
  }
  .section-space {
    padding-block: 40px;
  }
  .seller-copy h2 {
    font-size: 34px;
  }
  .eyebrow {
    line-height: 1.7;
    font-size: 10px;
  }
  .blog-card p {
    font-size: 15px;
  }
  .about-layout {
    padding-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Match page and dialog scrollbars to the navy and gold palette. */
:root {
  --scrollbar-track: #f2f1ed;
  --scrollbar-thumb: #9f7f48;
}
html {
  scrollbar-gutter: stable;
}
@media (forced-colors: none) {
  html,
  dialog,
  textarea {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: auto;
  }
  /* Fallback for browsers using the WebKit scrollbar styling API. */
  @supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
      width: 14px;
      height: 14px;
    }
    ::-webkit-scrollbar-track {
      background: var(--scrollbar-track);
    }
    ::-webkit-scrollbar-thumb {
      background: var(--scrollbar-thumb);
      border: 3px solid var(--scrollbar-track);
      border-radius: 20px;
      min-height: 40px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #856735;
    }
    ::-webkit-scrollbar-thumb:active {
      background: #6d542d;
    }
    ::-webkit-scrollbar-corner {
      background: var(--scrollbar-track);
    }
  }
}

/* Facebook emblem: retain the supplied navy and metallic gold identity. */
.brand-logo {
  width: 88px;
  height: 72px;
  object-fit: contain;
  flex: none;
}
.brand {
  flex-shrink: 0;
}
.footer-brand-image {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand-image small {
  margin: 0;
}
.footer-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  flex: none;
}
.footer-logo-panel img {
  width: 88px;
  height: 72px;
  object-fit: contain;
}
@media (max-width: 1150px) and (min-width: 1001px) {
  .brand {
    gap: 10px;
  }
  .brand-copy {
    padding-left: 10px;
  }
  .brand-copy strong {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
}
@media (max-width: 1000px) {
  .brand-logo {
    width: 72px;
    height: 60px;
  }
}
@media (max-width: 390px) {
  .brand {
    gap: 9px;
  }
  .brand-logo {
    width: 64px;
    height: 56px;
  }
  .brand-copy {
    padding-left: 9px;
  }
  .brand-copy strong {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .brand-copy small {
    display: none;
  }
}

/* About page: supplied office portrait, displayed without cropping. */
.team-photo {
  margin: 0;
  border: 8px solid #eeebe4;
  background: #eeebe4;
}
.team-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Emphasized headlines and raised, full-width closing mottos. */
#szolgaltatasok .service-lead {
  font-weight: 700;
  line-height: 1.65;
}
#szolgaltatasok .service-intro {
  max-width: none;
}
#szolgaltatasok .service-intro > p:not(.service-motto) {
  max-width: 920px;
}
#rolunk .about-closing {
  margin-top: 58px;
}
#rolunk .about-belief {
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 12px clamp(16px, 3vw, 36px);
  border-left: 3px solid var(--gold);
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}
#rolunk .about-motto,
#szolgaltatasok .service-motto {
  position: relative;
  isolation: isolate;
  width: 100%;
  box-sizing: border-box;
  margin: 48px 0;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(229, 199, 137, 0.55);
  border-radius: 4px;
  background:
    radial-gradient(
      ellipse at 50% 0,
      rgba(229, 199, 137, 0.12),
      transparent 70%
    ),
    linear-gradient(120deg, var(--navy), var(--navy2));
  color: #fff;
  text-align: center;
  box-shadow:
    0 26px 48px -18px rgba(12, 34, 64, 0.42),
    0 8px 18px -10px rgba(12, 34, 64, 0.3);
}
#rolunk .about-motto::before,
#szolgaltatasok .service-motto::before {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
}
#rolunk .about-motto strong,
#szolgaltatasok .service-motto strong {
  display: block;
  max-width: 1040px;
  margin: auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(23px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
#rolunk .about-motto {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  #rolunk .about-closing {
    margin-top: 40px;
  }
  #rolunk .about-motto,
  #szolgaltatasok .service-motto {
    margin-block: 34px;
    padding: 32px 24px;
    box-shadow: 0 18px 32px -14px rgba(12, 34, 64, 0.4);
  }
  #rolunk .about-motto {
    margin-block: 0;
  }
}

/* Keep the submit action clear of the message field on both inquiry forms. */
.inquiry-form > .editor-fields + button[type="submit"] {
  margin-top: 24px;
}
