/* ============================================================
   Hana Pospíšilová — MM Reality
   Globální stylesheet
   ============================================================ */

/* -----------  Reset / base ----------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* -----------  Tokens ----------- */
:root {
  --ink:        #18211c;
  --ink-soft:   #3a4540;
  --muted:      #7d8580;
  --line:       #e6dfd1;
  --line-soft:  #efeadb;
  --cream:      #f5efe2;
  --cream-deep: #ebe3d1;
  --paper:      #ffffff;
  --forest:     #1f3a2f;
  --forest-deep:#16291f;
  --gold:       #b8924c;
  --gold-soft:  #d4b377;
  --danger:     #b54343;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(24,33,28,.06);
  --shadow-md: 0 12px 30px rgba(24,33,28,.10);
  --shadow-lg: 0 30px 60px rgba(24,33,28,.18);

  --container: 1240px;
  --header-h:  84px;

  --t-fast: .2s ease;
  --t:      .35s cubic-bezier(.2,.7,.2,1);
  --t-slow: .6s  cubic-bezier(.2,.7,.2,1);
}

/* -----------  Typography ----------- */
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.6rem); font-weight: 400; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 400; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* -----------  Layout ----------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 110px 0; }
.section--tight { padding: 70px 0; }
.section--dark { background: var(--forest); color: #e9ecdf; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark .lead { color: #cfd6c8; }
.section--cream-deep { background: var(--cream-deep); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head--row {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head--row .section-head__text { max-width: 620px; }

@media (max-width: 720px) {
  .section { padding: 76px 0; }
}

/* -----------  Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover { background: var(--forest); }
.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: #a07c3b; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn--ghost-light:hover { background: #fff; color: var(--forest); }
.btn--small { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap var(--t);
}
.btn-link:hover { gap: 16px; color: var(--gold); border-color: var(--gold); }

/* -----------  Top bar (above header) ----------- */
.topbar {
  background: var(--forest-deep);
  color: #d2d8c9;
  font-size: .82rem;
  padding: 9px 0;
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.topbar a { color: #d2d8c9; }
.topbar a:hover { color: var(--gold-soft); }
.topbar__contact { display: flex; gap: 22px; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__socials { display: flex; gap: 14px; }
.topbar__socials a { display: inline-flex; }
.topbar__socials svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .topbar { display: none; }
}

/* -----------  Header / nav ----------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245,239,226,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}
.site-header.is-scrolled {
  background: rgba(245,239,226,.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; flex-direction: column; line-height: 1;
}
.brand__name {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand__sub {
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  padding: 10px 16px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: var(--gold);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  color: var(--ink);
}
.menu-btn span {
  display: block; position: relative;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}
.menu-btn span::before, .menu-btn span::after {
  content: '';
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform var(--t);
}
.menu-btn span::before { top: -7px; }
.menu-btn span::after  { top:  7px; }
.menu-btn.is-open span { background: transparent; }
.menu-btn.is-open span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav, .header-cta {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 24px;
    transform: translateY(-110%);
    transition: transform var(--t);
    border-bottom: 1px solid var(--line);
  }
  .nav { z-index: 60; }
  .header-cta { z-index: 59; padding-top: 0; padding-bottom: 24px; transform: translateY(-110%); }
  .nav.is-open { transform: translateY(0); }
  .nav.is-open ~ .header-cta { transform: translateY(0); }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav a.is-active::after { display: none; }
  .header-cta .btn { width: 100%; justify-content: center; }
}

/* -----------  Hero (home) ----------- */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 110px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.hero__meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
}
.hero__meta span { font-size: .85rem; color: var(--muted); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.hero__visual:hover img { transform: scale(1.05); }
.hero__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-md);
}
.hero__badge img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero__badge strong { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; }
.hero__badge span { font-size: .8rem; color: var(--muted); }
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 56px; padding-bottom: 80px; }
}

/* -----------  Page hero (subpages) ----------- */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(184,146,76,.16), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(255,255,255,.04), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #cfd6c8; max-width: 60ch; margin-top: 18px; font-size: 1.1rem; }
.crumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: .85rem; color: rgba(255,255,255,.7);
  margin-bottom: 24px;
}
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { color: rgba(255,255,255,.4); }

/* -----------  USP strip ----------- */
.usp {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usp__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp__item {
  padding: 36px 28px;
  display: flex; gap: 16px;
  border-right: 1px solid var(--line);
}
.usp__item:last-child { border-right: none; }
.usp__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.usp__icon svg { width: 20px; height: 20px; }
.usp strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.usp p { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item:nth-child(2) { border-right: none; }
  .usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .usp__grid { grid-template-columns: 1fr; }
  .usp__item { border-right: none; border-bottom: 1px solid var(--line); }
  .usp__item:last-child { border-bottom: none; }
}

/* -----------  Profile preview (about Hana) ----------- */
.profile {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.profile__visual {
  position: relative;
}
.profile__visual img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.profile__sticker {
  position: absolute;
  right: -28px; bottom: 36px;
  background: var(--gold);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.profile__sticker strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}
.profile__sticker span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.profile__copy { display: flex; flex-direction: column; gap: 22px; }
.profile__sig { display: flex; gap: 14px; align-items: center; padding-top: 8px; }
.profile__sig img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.profile__sig strong { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.profile__sig span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; gap: 48px; }
  .profile__sticker { right: 24px; bottom: 24px; }
}

/* -----------  Property cards ----------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) {
  .cards-grid, .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid, .cards-grid--2, .cards-grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__tag--gold { background: var(--gold); color: #fff; }
.card__tag--forest { background: var(--forest); color: #fff; }
.card__fav {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: all var(--t);
}
.card__fav:hover { color: var(--danger); transform: scale(1.08); }
.card__fav svg { width: 18px; height: 18px; }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card__loc {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: .82rem; color: var(--muted);
}
.card__loc svg { width: 14px; height: 14px; color: var(--gold); }
.card__title {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.card__title a:hover { color: var(--gold); }
.card__specs {
  display: flex; gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: auto;
}
.card__specs span { display: inline-flex; gap: 6px; align-items: center; }
.card__specs svg { width: 16px; height: 16px; color: var(--muted); }
.card__foot { display: flex; justify-content: space-between; align-items: center; }
.card__price {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}
.card__price small { font-size: .7rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.card__cta {
  font-size: .85rem; font-weight: 500;
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--gold);
  transition: gap var(--t);
}
.card__cta:hover { gap: 10px; }

/* -----------  Filter bar ----------- */
.filterbar {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}
.filterbar__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.filterbar__field { display: flex; flex-direction: column; gap: 6px; }
.filterbar label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.filterbar select, .filterbar input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: .95rem;
  transition: border-color var(--t-fast);
}
.filterbar select:focus, .filterbar input:focus {
  outline: none;
  border-color: var(--gold);
}
@media (max-width: 1020px) {
  .filterbar__row { grid-template-columns: repeat(2, 1fr); }
  .filterbar__row > .btn { grid-column: 1 / -1; }
}

.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; gap: 18px; flex-wrap: wrap;
}
.results-bar__count { color: var(--ink-soft); font-size: .95rem; }
.results-bar__count strong { color: var(--ink); }
.sort {
  display: flex; gap: 10px; align-items: center;
  font-size: .9rem; color: var(--muted);
}
.sort select { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }

/* -----------  Property detail ----------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 10px;
  margin-bottom: 56px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery__item {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--main { grid-row: span 2; }
.gallery__more {
  position: absolute; inset: 0;
  background: rgba(24,33,28,.55);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 500;
  font-family: 'Fraunces', serif; font-size: 1.4rem;
  pointer-events: none;
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 130px 130px; }
  .gallery__item--main { grid-column: span 2; grid-row: 1; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1020px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.detail__head {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: space-between; align-items: start;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.detail__title { display: flex; flex-direction: column; gap: 8px; }
.detail__title h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.detail__title .card__loc { font-size: .95rem; }
.detail__price {
  display: flex; flex-direction: column; align-items: flex-end;
}
.detail__price strong {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem; font-weight: 500;
  color: var(--ink);
}
.detail__price span { font-size: .82rem; color: var(--muted); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 48px;
}
.specs-grid > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px;
}
.specs-grid span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block; margin-bottom: 6px;
}
.specs-grid strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
}
@media (max-width: 720px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.detail__section { margin-bottom: 48px; }
.detail__section h2 { font-size: 1.6rem; margin-bottom: 18px; }
.detail__section p { line-height: 1.85; }
.feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  list-style: none;
}
.feature-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; color: var(--ink-soft);
}
.feature-list li::before {
  content: ''; flex-shrink: 0;
  margin-top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }

.map-placeholder {
  position: relative;
  height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, #eef0e3 0%, #d8dfc8 100%);
  border: 1px solid var(--line);
}
.map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,58,47,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,58,47,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map-pin__dot {
  width: 22px; height: 22px;
  background: var(--gold);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.map-pin__pulse {
  position: absolute; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%; background: var(--gold);
  opacity: .35;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(3.5); opacity: 0; }
}
.map-pin__label {
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  margin-top: 18px;
}

/* Sidebar contact card */
.agent-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.agent-card__head {
  display: flex; gap: 16px; align-items: center;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.agent-card__head img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.agent-card__head strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
}
.agent-card__head span { font-size: .85rem; color: var(--muted); }
.agent-card form { display: flex; flex-direction: column; gap: 12px; }
.agent-card .field-row { display: flex; flex-direction: column; gap: 6px; }
.agent-card label { font-size: .78rem; color: var(--muted); }
.agent-card input, .agent-card textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
}
.agent-card input:focus, .agent-card textarea:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
}
.agent-card textarea { resize: vertical; min-height: 90px; }
.agent-contact-row {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem;
}
.agent-contact-row a {
  display: inline-flex; gap: 10px; align-items: center;
  color: var(--ink-soft);
}
.agent-contact-row a:hover { color: var(--gold); }
.agent-contact-row svg { width: 16px; height: 16px; color: var(--gold); }

/* -----------  Services ----------- */
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all var(--t);
}
.service-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-4px);
}
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-card__num { color: #f1eadf; }
.service-card:hover .service-card__icon { background: var(--gold); color: #fff; }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all var(--t);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: .9rem;
  color: var(--muted);
  letter-spacing: .12em;
}
.service-card h3 { font-size: 1.4rem; }

/* -----------  Process timeline ----------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; top: 26px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.timeline__step { position: relative; padding-top: 64px; }
.timeline__num {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Fraunces', serif;
  font-size: 1.2rem; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1;
}
.timeline__step h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}
.timeline__step p { text-align: center; font-size: .92rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
}
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }

/* -----------  Testimonials ----------- */
.tcards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 1020px) { .tcards { grid-template-columns: 1fr; } }

.tcard {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 22px;
  border: 1px solid var(--line);
}
.tcard__stars {
  display: flex; gap: 4px; color: var(--gold);
}
.tcard__stars svg { width: 16px; height: 16px; }
.tcard blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}
.tcard blockquote::before { content: '“'; color: var(--gold); margin-right: 4px; font-size: 1.2em; }
.tcard blockquote::after  { content: '”'; color: var(--gold); margin-left: 4px; font-size: 1.2em; }
.tcard__author { display: flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tcard__author strong { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; }
.tcard__author span { font-size: .82rem; color: var(--muted); }

/* -----------  CTA section ----------- */
.cta-block {
  background: var(--ink);
  color: #f1eadf;
  border-radius: var(--r-xl);
  padding: 80px 64px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(184,146,76,.30), transparent 70%);
  border-radius: 50%;
}
.cta-block h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-block p { color: #cfd6c8; margin-top: 12px; }
.cta-block__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
  .cta-block { grid-template-columns: 1fr; padding: 56px 32px; }
  .cta-block__actions { justify-content: flex-start; }
}

/* -----------  Stats ----------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
}
.stat {
  text-align: center;
  padding: 12px;
}
.stat strong {
  font-family: 'Fraunces', serif;
  display: block;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat span { color: var(--ink-soft); margin-top: 8px; display: block; }
.section--dark .stat span { color: #cfd6c8; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* -----------  Contact page ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  transition: all var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--paper);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-error { color: var(--danger); font-size: .8rem; display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }
.gdpr {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .85rem; color: var(--muted);
}
.gdpr input { margin-top: 4px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex; gap: 18px;
}
.contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-card a { color: var(--ink-soft); }
.contact-card a:hover { color: var(--gold); }

/* -----------  Footer ----------- */
.site-footer {
  background: var(--forest-deep);
  color: #cfd6c8;
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.site-footer h5 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #cfd6c8; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand p { color: #aab2a2; max-width: 38ch; margin-top: 12px; }
.footer-brand .brand__name { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: #aab2a2; font-size: .85rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* -----------  Lightbox ----------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,28,22,.94);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav  { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: #fff; font-size: .9rem;
  background: rgba(255,255,255,.12);
  padding: 6px 16px;
  border-radius: 999px;
}

/* -----------  Toast (form submit) ----------- */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: var(--r-md);
  display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform var(--t);
  z-index: 250;
}
.toast.is-show { transform: translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--gold-soft); }

/* -----------  Animation utilities (Intersection Observer) ----------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1; transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -----------  Misc helpers ----------- */
.hr-soft { border: none; border-top: 1px solid var(--line); margin: 0; }
.text-center { text-align: center; }
.gap-12 { gap: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .76rem;
  letter-spacing: .06em;
  background: var(--cream-deep);
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 500;
}
