/* Silver Fox V2 — Stayvo hero · Goeboek cards · Tropica expertise / keisi / blog */

:root {
  --slate: #4c5176;
  --slate-deep: #383c3c;
  --accent-rgb: 76, 81, 118;
  --ink: #383c3c;
  --title: #000000;
  --muted: #6a6f6f;
  --paper: #f7f6f3;
  --white: #ffffff;
  --line: #c6cbcb;
  --gold: #9ea9c2;
  --yield: #4c5176;
  --dark: #383c3c;
  --dark-2: #2c2f2f;
  --dark-rgb: 56, 60, 60;
  --font: "Rawline", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --wide: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
  --r: 22px;
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --pill: 999px;
  --circle: 50%;
  --focus: 0 0 0 3px rgba(var(--accent-rgb), 0.35);
}

.logo img,
.footer-logo img,
.hero-mark img,
.page-hero .hero-mark img {
  filter: none;
}

.smart-solutions h2,
.featured-head h2,
.keisi-head h2,
.why-latvia-title,
.blog-head h2,
.buyers-process h2,
.archive-hero h1,
.article-hero h1,
.policy-block h2,
.property-hero h1,
.case-related > .wrap > h2,
.contact-copy h2,
.contact-map h2,
.contact-team-head h2,
.blog-hero h1,
.blog-more > .wrap > h2,
.cats-copy h2 {
  color: var(--title);
}

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

html { scroll-behavior: smooth; }
html.has-smooth-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--focus); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-xs);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Header (Stayvo) ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  overflow: visible;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-mega-open {
  background: rgba(var(--dark-rgb), 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  height: 100%;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.site-header .logo img {
  height: 70px;
  width: auto;
  transition: height 0.4s var(--ease), filter 0.4s var(--ease);
}

.site-header.is-scrolled .logo img,
.site-header.is-mega-open .logo img {
  height: 55px;
}

.nav-desktop {
  display: none;
  align-self: stretch;
  align-items: stretch;
  gap: 1.75rem;
}

.nav-desktop > a,
.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.25s;
}

.nav-desktop > a:hover,
.nav-desktop > a[aria-current="page"],
.nav-item > .nav-link:hover,
.nav-item.is-open > .nav-link {
  opacity: 1;
}

.nav-chevron {
  transition: transform 0.25s var(--ease);
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-item.has-mega {
  position: relative;
  display: flex;
  align-items: center;
}

.mega-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: transparent;
  z-index: 78;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease);
}

.mega-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: auto;
  z-index: 79;
  width: 24rem;
  max-height: min(72vh, 36rem);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(10, 11, 16, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease), transform 0.32s var(--ease);
}

.mega.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega-inner {
  display: block;
  width: 100%;
  padding: 0.85rem 0.7rem 0.35rem;
}

.mega-label {
  margin: 0 0.55rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mega-group + .mega-group {
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.1rem;
}

.mega-cat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background-color 0.25s var(--ease);
}

.mega-cat:hover,
.mega-cat:focus-visible {
  background: var(--paper);
}

.mega-cat:hover strong,
.mega-cat:focus-visible strong {
  color: var(--slate);
}

.mega-cat img,
.mega-cat small,
.mega-aside,
.mega-bar-contacts,
.mega-cta {
  display: none;
}

.mega-cat strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.mega-cat strong::after {
  content: "→";
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  color: var(--slate);
  font-weight: 500;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.mega-cat:hover strong::after,
.mega-cat:focus-visible strong::after {
  opacity: 0.7;
  transform: none;
}

.mega-cat small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.mega-aside {
  align-self: start;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.mega-note {
  color: #3f434d;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.mega-featured {
  display: block;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: background-color 0.25s var(--ease);
}

.mega-featured:hover,
.mega-featured:focus-visible {
  background: #efece6;
}

.mega-featured:hover b,
.mega-featured:focus-visible b {
  color: var(--slate);
}

.mega-featured img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.mega-featured span {
  display: block;
  padding: 0.85rem 0.95rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #3f434d;
  line-height: 1.5;
}

.mega-featured b {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color 0.25s var(--ease);
}

.mega-bar {
  border-top: 1px solid var(--line);
}

.mega-bar-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.45rem 0.7rem 0.75rem;
}

.mega-bar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

.mega-bar-contacts a,
.mega-bar-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.mega-bar-contacts svg { color: var(--slate); flex-shrink: 0; }
.mega-bar-contacts a:hover { color: var(--slate); }

.mega-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.mega-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border-radius: var(--pill);
  background: var(--slate);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.mega-all {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 0;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 600;
}

.mega-all:hover,
.mega-all:focus-visible { background: var(--paper); }

.mega-cat img,
.mega-cat small,
.mega-aside,
.mega-bar-contacts,
.mega-cta {
  display: none;
}

.mobile-acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-acc.is-open .mobile-acc-btn svg {
  transform: rotate(180deg);
}

.mobile-acc-panel a {
  font-size: 1.05rem;
  font-weight: 500;
  padding-left: 0.25rem;
  opacity: 0.82;
}

.header-right {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.2rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-toggle .lang-globe,
.lang-toggle svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.lang-toggle .lang-globe,
.lang-toggle svg:first-of-type {
  width: 18px;
  height: 18px;
}

.lang-toggle .chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.25s var(--ease);
}

.lang-switcher.is-open .lang-toggle .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem;
  list-style: none;
  border-radius: var(--radius-md);
  background: rgba(var(--dark-rgb), 0.94);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  z-index: 90;
}

.lang-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-xs);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.lang-menu a small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.55;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: rgba(255,255,255,0.1);
}

.lang-mobile {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 0.4rem;
}

.lang-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-mobile a[aria-current="true"] {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-book {
  display: none;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.28rem 0.3rem 0.28rem 1.05rem;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-book i {
  width: 32px;
  height: 32px;
  border-radius: var(--circle);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color 0.35s var(--ease);
}

.btn-book i svg {
  transform: rotate(0deg);
  transition: transform 0.35s var(--ease);
}

.btn-book:hover i { background: var(--slate); }
.btn-book:hover i svg { transform: rotate(45deg); }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--dark);
  color: #fff;
  padding: 1.5rem var(--gutter);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 0.35s var(--ease);
  z-index: 79;
}

.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-mobile a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile .lang-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-mobile .lang-mobile a[aria-current="true"] {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.nav-mobile .mobile-acc-panel a {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.65rem 0 0.65rem 0.15rem;
  opacity: 0.85;
}


@media (min-width: 980px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-desktop { display: flex; }

  .header-right {
    margin-left: 0;
    justify-self: end;
  }

  .btn-book { display: inline-flex; }
  .menu-toggle, .nav-mobile { display: none; }
}

/* ---------- Hero (Stayvo) ---------- */

.hero {
  position: relative;
  min-height: 665px;
  height: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg .hero-media {
  position: absolute;
  inset: -14% 0;
  width: 100%;
  height: 128%;
  object-fit: cover;
  z-index: 1;
  will-change: transform, opacity;
}

.hero-bg .hero-slide {
  opacity: 0;
  visibility: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.62) 0%, rgba(10, 11, 16, 0.18) 28%, transparent 42%),
    linear-gradient(180deg, rgba(10, 11, 16, 0.12) 0%, rgba(10, 11, 16, 0.2) 42%, rgba(10, 11, 16, 0.72) 100%);
}

.hero-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-mark img {
  position: absolute;
  left: max(-4rem, calc((100% - var(--wide)) / 2 - 5rem));
  bottom: 18%;
  width: min(82vw, 860px);
  height: auto;
  animation: chevron-in 1.2s var(--ease) 0.8s both;
}

@keyframes chevron-in {
  from {
    opacity: 0;
    transform: translateX(-20%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 16, 0.58) 0%, rgba(10, 11, 16, 0.32) 36%, rgba(10, 11, 16, 0.08) 58%, transparent 72%),
    linear-gradient(180deg, rgba(10, 11, 16, 0.28) 0%, transparent 30%, transparent 58%, rgba(10, 11, 16, 0.4) 100%);
}

.hero-main {
  position: relative;
  z-index: 3;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto 1.35rem;
  padding: 0 0 0.25rem;
  max-width: 38rem;
  margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}

.stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.85rem; }

.hero h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  max-width: 34rem;
  line-height: 1.7;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.58);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  min-height: 54px;
  padding: 0.35rem 0.4rem 0.35rem 1.25rem;
  border-radius: var(--pill);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
}

.btn-glass i {
  width: 40px;
  height: 40px;
  border-radius: var(--circle);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.btn-glass i svg {
  transform: rotate(0deg);
  transition: transform 0.35s var(--ease);
}

.btn-glass:hover i svg { transform: rotate(45deg); }

.hero-bottom {
  position: relative;
  z-index: 3;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: flex-end;
}


.hero-quote {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 22rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(10, 11, 16, 0.42);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
}

.hero-quote img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-quote p {
  font-size: 0.88rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-quote small {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-search {
  position: relative;
  z-index: 6;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto 1.35rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(10, 11, 16, 0.22);
}

.search-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.45rem 0.85rem;
}

.search-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
  text-align: left;
}

.select-toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-toggle svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.search-field.is-open .select-toggle svg {
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 8;
  min-width: max(100%, 13.5rem);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 11, 16, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), visibility 0.32s var(--ease), transform 0.32s var(--ease);
}

.search-field.is-open .select-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.hero-search .search-field:nth-last-child(2) .select-menu {
  left: auto;
  right: 0;
}

.select-menu [role="option"] {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.62rem 0.75rem;
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.select-menu [role="option"] > svg {
  flex-shrink: 0;
}

.select-menu [role="option"]:hover,
.select-menu [role="option"]:focus-visible {
  background: var(--paper);
}

.select-menu [role="option"][aria-selected="true"] {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--slate);
}

.select-menu [role="option"][aria-selected="true"]::after {
  content: "✓";
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
}

.search-submit {
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--pill);
  background: var(--slate);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.35s var(--ease);
}

.search-submit:hover { background: var(--slate-deep); }

.hero-loader {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.hero-loader-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero-loader.is-paused .hero-loader-fill {
  animation-play-state: paused;
}

@keyframes hero-load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (min-width: 900px) {
  .hero-search {
    grid-template-columns: 1.2fr 1.1fr 1fr 1fr auto;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem 0.55rem 0.55rem 0.35rem;
  }

  .search-field + .search-field {
    border-left: 1px solid var(--line);
  }

  .search-submit {
    align-self: center;
    min-width: 8.5rem;
    margin-left: 0.45rem;
  }
}

/* ---------- Facts / counters ---------- */

.facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.facts-grid > * {
  text-align: center;
  padding: 1.75rem 1rem;
}

.facts-grid > * + * {
  border-top: 1px solid var(--line);
}

.facts-grid a:hover strong,
.facts-grid a:focus-visible strong {
  color: var(--ink);
}

.facts-grid strong {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--slate);
}

.facts-grid span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 720px) {
  .facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts-grid > * {
    padding: 2.4rem 0;
  }

  .facts-grid > *:first-child {
    text-align: left;
  }

  .facts-grid > *:last-child {
    text-align: right;
  }

  .facts-grid > * + * {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 719px) {
  .hero { min-height: 0; }
}

/* ---------- Smart Property Solutions ---------- */

.smart-solutions {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: #fff;
}

.smart-solutions h2 {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.smart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(16rem, 1.15fr);
  grid-template-areas:
    "a b photo"
    "c d photo";
  align-items: stretch;
}

.smart-item:nth-child(1) { grid-area: a; }
.smart-item:nth-child(2) { grid-area: b; }
.smart-item:nth-child(3) { grid-area: c; }
.smart-item:nth-child(4) { grid-area: d; }
.smart-visual { grid-area: photo; }

.smart-item {
  padding: 1.55rem 1.6rem 1.7rem 0;
  border-top: 1px solid var(--line);
}

.smart-item:nth-child(2),
.smart-item:nth-child(4) {
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.smart-item h3 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smart-item p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

.smart-visual {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.smart-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .smart-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "a b"
      "c d";
  }

  .smart-visual {
    min-height: 16rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  .smart-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "a"
      "b"
      "c"
      "d";
  }

  .smart-item:nth-child(2),
  .smart-item:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Featured (Goeboek) ---------- */

.featured {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--paper);
}

.featured-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.featured-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.featured-head p {
  color: var(--muted);
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.filter-reset {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-reset:hover { border-color: var(--slate); color: var(--slate); }

.filter-empty {
  margin: -0.75rem 0 1.75rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--muted);
}

.prop-card.is-hidden { display: none; }

.prop-grid {
  display: grid;
  gap: 1.75rem 1.35rem;
}

.prop-card.is-skeleton {
  pointer-events: none;
}

.prop-card.is-skeleton img,
.prop-card.is-skeleton .badge,
.prop-card.is-skeleton .prop-body > :not(.prop-skeleton-mark) {
  visibility: hidden;
}

.prop-card.is-skeleton figure {
  background: #d8d6d0;
}

.prop-card.is-skeleton figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 38%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.18) 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: sf-shimmer 1.6s ease-in-out infinite;
}

.prop-skeleton-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  color: var(--slate);
  pointer-events: none;
}

.prop-card.is-skeleton .prop-skeleton-mark {
  display: grid;
}

.prop-skeleton-mark svg {
  width: 34px;
  height: 38px;
  animation: sf-mark-pulse 1.35s ease-in-out infinite;
}

@keyframes sf-shimmer {
  to { transform: translateX(120%); }
}

@keyframes sf-mark-pulse {
  0%, 100% { opacity: 0.22; transform: scale(0.9); }
  50% { opacity: 0.88; transform: scale(1); }
}

@media (min-width: 720px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .prop-grid { grid-template-columns: repeat(3, 1fr); } }

.prop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.06);
  cursor: pointer;
}

.prop-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #ddd;
}

.prop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.32rem 0.65rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}

.prop-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.2rem;
}

.prop-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.prop-card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.prop-tour {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: width 0.4s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.prop-tour:hover {
  border-color: var(--slate);
  color: var(--slate);
  background: rgba(var(--accent-rgb), 0.06);
}

.prop-tour-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.prop-tour::after {
  content: "Pieteikt apskati";
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  z-index: 4;
  padding: 0.38rem 0.58rem;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.prop-tour:hover::after,
.prop-tour:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.prop-addr {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.prop-amenities {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.prop-amenities li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.prop-amenities svg {
  flex-shrink: 0;
  color: #6b6e78;
}

.prop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.05rem;
}

.prop-price {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.prop-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease);
}

.prop-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.prop-view:hover { background: var(--slate); }

.sf-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sf-modal[hidden] { display: none !important; }

.sf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 16, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.sf-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 11, 16, 0.22);
}

.sf-modal-panel h2 {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.sf-modal-lead {
  margin: 0.4rem 0 1.2rem;
  color: var(--muted);
}

.sf-modal-x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.sf-modal-x:hover { background: var(--paper); }

.sf-form-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .sf-form-grid { grid-template-columns: 1fr 1fr; }
}

.property-enquire label,
.sf-modal label,
.sf-form-full {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.property-enquire input[type="text"],
.property-enquire input[type="email"],
.property-enquire input[type="tel"],
.sf-modal input[type="text"],
.sf-modal input[type="email"],
.sf-modal input[type="tel"] {
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.sf-datepicker { position: relative; }

.sf-datepicker.is-open { z-index: 9; }

.sf-datepicker-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  font: inherit;
  font-weight: 500;
  text-align: left;
}

.sf-datepicker-toggle.is-empty { color: var(--muted); }

.sf-datepicker.is-invalid .sf-datepicker-toggle {
  border-color: #b42318;
}

.sf-datepicker-toggle:hover,
.sf-datepicker.is-open .sf-datepicker-toggle {
  border-color: var(--slate);
}

.sf-calendar {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 9;
  margin: 0;
  padding: 0.85rem 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 40px rgba(10, 11, 16, 0.16);
}

.sf-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.sf-calendar-head p {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sf-calendar-head button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.sf-calendar-head button:empty::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

.sf-calendar-head [data-cal-prev]:empty::before {
  transform: rotate(135deg);
  margin-left: 3px;
}

.sf-calendar-head [data-cal-next]:empty::before {
  transform: rotate(-45deg);
  margin-right: 3px;
}

.sf-calendar-head button:hover:not(:disabled) { background: var(--paper); }

.sf-calendar-head button:disabled {
  opacity: 0.28;
  cursor: default;
}

.sf-calendar-dow,
.sf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  text-align: center;
}

.sf-calendar-dow {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sf-calendar-grid button {
  height: 36px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
}

.sf-calendar-grid button:hover:not(:disabled) {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--slate);
}

.sf-calendar-grid button.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px var(--slate);
}

.sf-calendar-grid button.is-selected {
  background: var(--slate);
  color: #fff;
}

.sf-calendar-grid button:disabled {
  color: #c4c6cc;
  cursor: default;
}

.sf-calendar-grid button.is-out { color: #b8bac0; }

.property-enquire input:focus-visible,
.sf-modal input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--slate);
}

.sf-form-full { margin-top: 0.75rem; }

.sf-times {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.sf-times legend {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.sf-times label {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.sf-times label:has(input:checked) {
  border-color: var(--slate);
  background: rgba(var(--accent-rgb), 0.08);
}

.sf-times small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
}

.sf-times input { accent-color: var(--slate); }

.sf-form-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.25s var(--ease);
}

.sf-form-submit:hover { background: var(--slate); }

.sf-success-panel { text-align: center; }

.sf-success-mark { margin: 0.4rem 0 0.85rem; }

.sf-success-panel p { color: var(--muted); }

.sf-countdown {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.sf-countdown strong { color: var(--ink); }

body.is-modal-open { overflow: hidden; }

/* ---------- Expertise (Tropica) ---------- */

.expertise {
  background: var(--slate);
  color: #fff;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.expertise h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.expertise-lead {
  color: rgba(255,255,255,0.55);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.exp-row {
  display: grid;
  gap: 1rem;
  padding: 1.7rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.exp-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }

.exp-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.exp-mark {
  flex-shrink: 0;
  display: grid;
  width: 1.2rem;
  height: 1.3rem;
  color: rgba(255, 255, 255, 0.55);
}

.exp-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.exp-title h3 {
  font-size: 1.35rem;
  font-weight: 650;
}

.exp-row p {
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
}

.exp-list {
  display: grid;
  gap: 0.3rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .exp-row {
    grid-template-columns: 0.85fr 1.2fr 0.85fr;
    align-items: start;
    gap: 2rem;
    padding: 2.1rem 0;
  }
  .exp-list { text-align: right; justify-items: end; }
}

/* ---------- Darījumi slider ---------- */

.keisi {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--white);
}

.keisi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.keisi-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.keisi-nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

.keisi-all {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.keisi-all:hover { color: var(--ink); }

.car-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.car-btn:hover {
  border-color: var(--slate);
  color: var(--slate);
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  transition: transform 0.55s var(--ease);
}

a.deal-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.deal-card {
  position: relative;
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1c24;
}

.deal-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 11, 16, 0.42) 68%, rgba(10, 11, 16, 0.86) 100%);
}

.deal-copy {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: #fff;
}

.deal-copy p {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.deal-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.deal-meta img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.deal-meta b {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.deal-meta span {
  display: block;
  margin-top: 0.1rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .deal-card { flex-basis: calc((100% - 1.25rem) / 2); }
}

@media (max-width: 640px) {
  .deal-card { flex-basis: 100%; }
}

/* ---------- Kāpēc Latvija ---------- */

.why-latvia {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--white);
}

.why-latvia-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-bottom: 1.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.why-latvia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.why-latvia-col {
  padding: 2.15rem 2rem 0.25rem 0;
  position: relative;
}

.why-latvia-col + .why-latvia-col {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.why-latvia-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 0.85rem;
}

.why-latvia-col h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.why-latvia-col p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .why-latvia-grid {
    grid-template-columns: 1fr;
  }

  .why-latvia-col {
    padding: 1.75rem 0;
  }

  .why-latvia-col + .why-latvia-col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .why-latvia-col p {
    max-width: none;
  }
}

/* ---------- Blog (Tropica articles) ---------- */

.blog {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--paper);
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.6rem 1.2rem;
  border-radius: var(--pill);
  background: var(--slate);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s var(--ease);
}

.btn-dark:hover { background: var(--slate-deep); }

.featured-article {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.35rem;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.05);
}

.featured-article .txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem 1.5rem 1.6rem;
}

.featured-article .meta,
.blog-card .meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: var(--pill);
  background: var(--slate);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-article h3 {
  margin: 0.85rem 0 0.65rem;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.featured-article .excerpt {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 38ch;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.author b { display: block; font-size: 0.9rem; }
.author span { color: var(--muted); font-size: 0.8rem; }

.featured-article figure {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
}

.featured-article figure img,
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.featured-article:hover figure img,
.blog-card:hover img { transform: scale(1.04); }

@media (min-width: 860px) {
  .featured-article { grid-template-columns: 1fr 1.05fr; min-height: 380px; }
  .featured-article .txt { padding: 2.4rem 2.3rem; }
  .featured-article figure { min-height: 100%; }
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.05);
}

.blog-card figure {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.blog-card .txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.3rem;
}

.blog-card h3 {
  margin-top: 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 0 0 1.7rem;
}

.footer-top {
  display: grid;
  gap: 1rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  min-width: 0;
}

.footer-ico {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.28);
  color: #d7dae8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.footer-contact small {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.footer-contact span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-contact:hover { color: #fff; }
.footer-contact:hover .footer-ico { background: var(--slate); color: #fff; }

.footer-main {
  display: grid;
  gap: 2.4rem;
  padding: 3.15rem 0 2.65rem;
}

.footer-logo img {
  height: 52px;
  width: auto;
}

.footer-brand p {
  color: rgba(255,255,255,0.58);
  max-width: 22rem;
  margin: 1rem 0 1.2rem;
  line-height: 1.65;
}

.footer-news {
  display: flex;
  align-items: center;
  max-width: 22rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pill);
  background: rgba(255,255,255,0.04); 
}

.footer-news:focus-within { border-color: rgba(var(--accent-rgb), 0.8); }

.footer-news input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.8rem 1.05rem;
}

.footer-news input::placeholder { color: rgba(255,255,255,0.38); }
.footer-news input:focus { outline: none; }

.footer-news button {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0 6px 0 0;
  border-radius: var(--circle);
  color: #fff;
  display: grid;
  place-items: center;
  background: var(--slate);
  transition: background-color 0.35s var(--ease);
}

.footer-news button:hover { background: var(--slate-deep); }

.footer-brand small {
  display: block;
  margin-top: 0.7rem;
  color: rgba(255,255,255,0.36);
  font-size: 0.78rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-col a {
  display: block;
  width: fit-content;
  color: rgba(255,255,255,0.78);
  padding: 0.32rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-note {
  margin-top: 1rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 14rem;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  transform: none;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.footer-socials a:hover {
  background: var(--slate);
  border-color: var(--slate);
  transform: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.38);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.footer-legal a:hover { color: #fff; }

.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-made img {
  display: block;
  height: 22px;
  width: auto;
}

.footer-made:hover {
  color: #fff;
}

@media (min-width: 720px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .footer-main { grid-template-columns: 1.5fr 0.85fr 0.85fr 0.95fr; gap: 3rem; }
}

/* ---------- Objekti archive ---------- */

body.is-archive {
  background: var(--paper);
  overflow-x: clip;
}

body.is-archive .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

body.is-archive .site-header,
body.is-archive .site-header.is-scrolled {
  background: rgba(var(--dark-rgb), 0.94);
  backdrop-filter: blur(16px);
}

body.is-archive .site-header .logo img {
  height: 55px;
}

/* ---------- Objekti categories landing ---------- */

body.is-categories {
  background: var(--white);
  overflow-x: clip;
}

body.is-categories .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.cats,
.cats-grid {
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.cats-row {
  display: grid;
  grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.cats-copy h2 {
  margin: 0 0 1.6rem;
  max-width: 14ch;
  color: var(--title);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.cats-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 50px;
  padding: 0.3rem 0.35rem 0.3rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.cats-cta i {
  width: 36px;
  height: 36px;
  border-radius: var(--circle);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}

.cats-cta i svg {
  transition: transform 0.35s var(--ease);
}

.cats-cta:hover i svg,
.cats-row:hover .cats-cta i svg {
  transform: rotate(45deg);
}

.cats-photo {
  display: block;
  overflow: hidden;
  min-height: 16rem;
}

.cats-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cats-row:hover .cats-photo img {
  transform: scale(1.04);
}

.cats-all {
  margin: 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.cats-all a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.cats-all a:hover {
  color: var(--slate);
}

@media (max-width: 800px) {
  .cats-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2rem 0;
  }

  .cats-copy h2 {
    max-width: none;
    margin-bottom: 1.1rem;
  }

  .cats-photo {
    min-height: 0;
    order: -1;
  }
}

.archive-search-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 70;
  margin-top: var(--header-h);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(var(--dark-rgb), 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), -webkit-backdrop-filter 0.4s var(--ease);
}

.archive-search-bar.is-stuck {
  background: rgba(var(--dark-rgb), 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.archive-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  color: #fff;
}

.archive-search .search-field {
  padding: 0.85rem 0.9rem;
}

.archive-search .search-label {
  color: rgba(255, 255, 255, 0.42);
}

.archive-search .select-toggle {
  color: #fff;
}

.archive-search .select-toggle svg {
  color: rgba(255, 255, 255, 0.7);
}

.archive-search .search-field:last-child .select-menu {
  left: auto;
  right: 0;
}

@media (min-width: 640px) {
  .archive-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .archive-search .search-field + .search-field {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .archive-search .search-field:nth-child(odd) {
    border-left: 0;
  }
}

@media (min-width: 900px) {
  .archive-search {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .archive-search .search-field:nth-child(odd) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .archive-search .search-field:first-child {
    border-left: 0;
  }
}

.archive-hero {
  padding: 2.6rem 0 0;
  background: var(--paper);
}

.archive-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0.35rem 0 0.9rem;
}

.archive-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.archive-lead {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.archive {
  padding: 1.75rem 0 5rem;
}

.archive-toolbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.35rem;
}

.archive-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.archive-count strong { color: var(--ink); }

.archive-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.archive-sort,
.sf-select {
  position: relative;
  min-width: 13.25rem;
}

.archive-sort .select-toggle,
.sf-select .select-toggle {
  min-height: 42px;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.88rem;
}

.archive-sort .select-toggle span,
.sf-select .select-toggle span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.archive-sort .select-toggle span svg,
.sf-select .select-toggle span svg {
  flex-shrink: 0;
}

.archive-sort.is-open .select-toggle > svg,
.sf-select.is-open .select-toggle > svg {
  transform: rotate(180deg);
}

.archive-sort.is-open .select-menu,
.sf-select.is-open .select-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.archive-sort .select-menu,
.sf-select .select-menu {
  min-width: 100%;
}

.sf-select {
  min-width: 0;
}

.sf-select > span:first-child {
  display: block;
}

.sf-select.is-empty .select-toggle span {
  color: var(--muted);
  font-weight: 500;
}

.sf-select.is-invalid .select-toggle {
  border-color: #b42318;
}

.sf-select [role="option"] small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.archive-views {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: visible;
}

.archive-views button {
  position: relative;
  width: 40px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.archive-views button::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 6;
  padding: 0.38rem 0.58rem;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.archive-views button:hover::after,
.archive-views button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.archive-views button:hover { color: var(--ink); }

.archive-views button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.archive-layout {
  display: grid;
  gap: 1.35rem;
  transition: opacity 0.32s var(--ease);
}

.archive-layout.is-view-out {
  opacity: 0;
  pointer-events: none;
}

.archive-listings {
  display: contents;
}

.archive-map {
  display: none;
  min-height: 784px;
  height: 784px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #dfe3e8;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.06);
}

.archive-map .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 100%;
  font-family: var(--font);
}

.archive-map .sf-marker {
  background: none;
  border: none;
}

.sf-marker-pin {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  background: var(--slate);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 11, 16, 0.28);
  transform: rotate(-45deg);
}

.sf-marker-pin svg {
  width: 15px;
  height: 16px;
  transform: rotate(45deg);
}

.sf-marker.is-active .sf-marker-pin {
  box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(10, 11, 16, 0.28);
}

.archive-map .sf-popup-wrap .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 11, 16, 0.18);
  overflow: hidden;
}

.archive-map .sf-popup-wrap .leaflet-popup-content {
  margin: 0;
  width: 280px !important;
  line-height: 1.35;
}

.archive-map .sf-popup-wrap .leaflet-popup-tip {
  background: #fff;
  box-shadow: none;
}

.archive-map .sf-popup-wrap .leaflet-popup-close-button {
  top: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: 700 15px/22px var(--font);
  text-align: center;
}

.archive-map a.sf-popup {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: stretch;
  min-height: 76px;
  color: var(--slate);
  text-decoration: none;
}

.sf-popup-thumb {
  width: 92px;
  height: 100%;
  min-height: 76px;
  object-fit: cover;
}

.sf-popup-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.7rem 1.85rem 0.7rem 0.8rem;
}

.sf-popup-body strong {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sf-popup-body small {
  color: var(--muted);
  font-size: 0.75rem;
}

.sf-popup-price {
  margin-top: 0.12rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.archive[data-view="grid4"] .prop-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .archive[data-view="grid4"] .prop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

.archive[data-view="list"] .prop-grid {
  grid-template-columns: 1fr;
}

.archive[data-view="list"] .prop-card {
  flex-direction: row;
  height: 240px;
  max-height: 240px;
  min-height: 0;
}

.archive[data-view="list"] .prop-card figure {
  width: min(38%, 360px);
  height: 100%;
  max-height: 240px;
  aspect-ratio: auto;
  min-height: 0;
  flex-shrink: 0;
}

.archive[data-view="list"] .prop-card img {
  height: 100%;
  object-fit: cover;
}

.archive[data-view="list"] .prop-tour {
  display: block;
  overflow: hidden;
  width: 38px;
  padding: 0;
  margin-left: auto;
  interpolate-size: allow-keywords;
}

.archive[data-view="list"] .prop-tour::after {
  content: none;
}

.archive[data-view="list"] .prop-tour svg {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  transform: translateY(-50%);
}

.archive[data-view="list"] .prop-tour-label {
  display: block;
  position: static;
  width: max-content;
  height: auto;
  clip: auto;
  overflow: visible;
  max-width: none;
  margin: 0;
  padding: 0 38px 0 0.75rem;
  line-height: 38px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}

.archive[data-view="list"] .prop-tour:hover,
.archive[data-view="list"] .prop-tour:focus-visible {
  width: max-content;
}

.archive[data-view="list"] .prop-tour:hover .prop-tour-label,
.archive[data-view="list"] .prop-tour:focus-visible .prop-tour-label {
  opacity: 1;
  transform: none;
}

.archive[data-view="map"] .archive-layout {
  --listings-left: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  --listings-w: min(42rem, calc(100% - 2rem));
  position: relative;
  display: block;
  height: min(82vh, 920px);
  min-height: 640px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.archive[data-view="map"] .archive-map {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.archive-listings-toggle,
.archive-listings-open {
  display: none;
}

.archive[data-view="map"] .archive-listings {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--listings-left);
  z-index: 2;
  width: var(--listings-w);
  height: auto;
  max-height: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.archive[data-view="map"] .archive-listings-toggle {
  position: absolute;
  top: 1rem;
  left: calc(var(--listings-left) + var(--listings-w) + 0.7rem);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(10, 11, 16, 0.12);
}

.archive[data-view="map"] .archive-listings-open {
  position: absolute;
  top: 1rem;
  left: var(--listings-left);
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0 0.95rem 0 0.75rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(10, 11, 16, 0.14);
}

.archive[data-view="map"][data-listings="closed"] .archive-listings {
  transform: translateX(calc(-100% - 2rem));
  opacity: 0;
  pointer-events: none;
}

.archive[data-view="map"][data-listings="closed"] .archive-listings-toggle {
  display: none;
}

.archive[data-view="map"][data-listings="closed"] .archive-listings-open {
  display: inline-flex;
}

.archive[data-view="map"] .prop-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.85rem;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.archive-map .leaflet-bar {
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.archive-map .leaflet-control-zoom a,
.archive-map .leaflet-control-zoom a:first-child,
.archive-map .leaflet-control-zoom a:last-child,
.archive-map .leaflet-touch .leaflet-control-zoom a,
.archive-map .leaflet-touch .leaflet-control-zoom a:first-child,
.archive-map .leaflet-touch .leaflet-control-zoom a:last-child {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border: 0;
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(10, 11, 16, 0.12);
}

.archive-map .leaflet-control-zoom a + a {
  margin-top: 0.45rem;
  border-top: 0;
}

.archive-map .leaflet-control-zoom a:hover,
.archive-map .leaflet-control-zoom a:first-child:hover,
.archive-map .leaflet-control-zoom a:last-child:hover {
  background: #fff;
  color: var(--ink);
}

.archive[data-view="map"] .prop-card.is-active {
  box-shadow: 0 0 0 2px var(--slate), 0 10px 28px rgba(10, 11, 16, 0.06);
}

.archive-empty {
  padding: 2rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  line-height: 1.7;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.05);
}

.archive-empty a { color: var(--slate); font-weight: 600; }

.archive-interest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  margin: 0.25rem 0 0;
  padding: 2.4rem 1.6rem 2.2rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.archive:has([data-filter-empty]:not([hidden])) .archive-note {
  display: none;
}

.archive-interest-kicker {
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.archive-interest-copy h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 0.85rem;
}

.archive-interest-copy p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 32rem;
}

.archive-interest-cta {
  flex-shrink: 0;
  min-height: 52px;
  padding: 0.85rem 1.55rem;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.archive-interest-cta:hover {
  background: var(--paper);
}

.archive[data-view="map"]:has([data-filter-empty]:not([hidden])) .archive-listings-toggle {
  display: none;
}

.archive[data-view="map"] .archive-listings:has([data-filter-empty]:not([hidden])) {
  display: flex;
  flex-direction: column;
}

.archive[data-view="map"] .archive-listings:has([data-filter-empty]:not([hidden])) .prop-grid {
  display: none;
}

.archive[data-view="map"] .archive-interest {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  min-height: 100%;
  margin: 0;
  padding: 1.25rem 0.75rem;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.archive[data-view="map"] .archive-interest-kicker {
  color: var(--muted);
}

.archive[data-view="map"] .archive-interest-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--ink);
}

.archive[data-view="map"] .archive-interest-copy p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 22rem;
}

.archive[data-view="map"] .archive-interest-cta {
  background: var(--slate);
  color: #fff;
}

.archive[data-view="map"] .archive-interest-cta:hover {
  background: var(--slate-deep);
  color: #fff;
}

.sf-success-loader {
  width: 42px;
  height: 42px;
  margin: 1.15rem auto 0.7rem;
  border: 3px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: sf-spin 0.75s linear infinite;
}

@keyframes sf-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 960px) {
  .archive-interest {
    padding: 3rem 3rem 2.85rem;
  }
}

.archive-note {
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.archive-note p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 40rem;
  line-height: 1.65;
}

.archive-note a {
  display: inline-flex;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .archive[data-view="map"] .archive-layout {
    --listings-left: 0px;
    --listings-w: min(26rem, 86%);
    height: 70vh;
    min-height: 560px;
  }

  .archive[data-view="map"] .prop-grid {
    grid-template-columns: 1fr;
  }

  .archive[data-view="list"] .prop-tour,
  .archive[data-view="list"] .prop-tour:hover,
  .archive[data-view="list"] .prop-tour:focus-visible {
    width: 38px;
    padding: 0;
    display: grid;
    overflow: visible;
  }

  .archive[data-view="list"] .prop-tour svg {
    flex: none;
  }

  .archive[data-view="list"] .prop-tour::after {
    content: "Pieteikt apskati";
  }

  .archive[data-view="list"] .prop-tour-label {
    position: absolute;
    width: 1px;
    height: 1px;
    max-width: none;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    opacity: 0;
  }

  .archive[data-view="list"] .prop-card {
    flex-direction: column;
    height: auto;
    max-height: none;
  }

  .archive[data-view="list"] .prop-card figure {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 11;
    min-height: 0;
  }
}

/* ---------- Inner page: Pircējiem ---------- */

.page-hero {
  position: relative;
  min-height: 448px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-hero-bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.62) 0%, rgba(10, 11, 16, 0.18) 28%, transparent 42%),
    linear-gradient(180deg, rgba(10, 11, 16, 0.12) 0%, rgba(10, 11, 16, 0.22) 42%, rgba(10, 11, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 11, 16, 0.38) 0%, rgba(10, 11, 16, 0.16) 40%, transparent 72%);
}

.page-hero .hero-mark img {
  bottom: 12%;
  width: min(72vw, 720px);
  height: auto;
  object-fit: contain;
  animation: chevron-in 1.2s var(--ease) 1.6s both;
}

.page-hero-main {
  position: relative;
  z-index: 3;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3.15rem) 0 1.75rem;
  max-width: 54rem;
  margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2));
}

.page-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero h1 {
  margin: 0.85rem 0 1rem;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.page-hero-lead {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 44rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.page-hero .btn-book {
  display: inline-flex;
  margin-top: 1.6rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.page-hero-actions .btn-book {
  margin-top: 0;
}

.page-hero-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--pill);
  color: #fff;
  font-weight: 650;
}

.page-hero-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.buyers-process {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background: var(--white);
}

.buyers-process h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.buyers-step {
  display: grid;
  gap: 1.15rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.buyers-step-head {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.buyers-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.buyers-step h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 16ch;
}

.buyers-step ul {
  display: grid;
  gap: 0.85rem;
}

.buyers-step li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.buyers-step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--slate);
}

@media (min-width: 900px) {
  .buyers-step {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    padding: 2.35rem 0;
    align-items: start;
  }

  .buyers-step .sellers-link {
    grid-column: 2;
  }
}

.buyers-cta {
  background: var(--dark);
  color: #fff;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.buyers-cta-grid {
  display: grid;
  gap: 2.5rem;
}

.buyers-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.buyers-cta-lead {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 38rem;
}

.buyers-form,
.buyers-form-ok {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.buyers-form h3,
.buyers-form-ok h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.buyers-form p,
.buyers-form-ok p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.buyers-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.buyers-form input,
.buyers-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  font-weight: 500;
}

.buyers-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.buyers-form input:focus-visible,
.buyers-form textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: var(--slate);
}

.buyers-form button {
  width: 100%;
  min-height: 48px;
  margin-top: 0.4rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.25s var(--ease);
}

.buyers-form button:hover { background: var(--slate); }

.buyers-form-ok {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.buyers-form-ok .sf-success-mark { margin-bottom: 0.85rem; }

@media (min-width: 900px) {
  .buyers-cta-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
  }
}

.sellers-link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--slate);
  font-weight: 600;
}

.sellers-link:hover { color: var(--ink); }

.sellers-exclusive {
  display: grid;
  gap: 0.45rem;
  margin-top: 2.25rem;
  padding: 1.45rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: inherit;
  transition: border-color 0.28s var(--ease);
}

.sellers-exclusive:hover,
.sellers-exclusive:focus-visible {
  border-color: var(--slate);
}

.sellers-exclusive small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.sellers-exclusive strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sellers-exclusive p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 42rem;
}

.sellers-exclusive span {
  margin-top: 0.25rem;
  color: var(--slate);
  font-weight: 600;
}

.article-hero {
  padding: calc(var(--header-h) + 2.75rem) 0 2.4rem;
  background: var(--paper);
}

.article-hero .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.article-back {
  display: inline-flex;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.article-back:hover { color: var(--slate); }

.article-hero .page-kicker { color: var(--slate); }

.article-hero h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.article-lead {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

.benefit-list {
  padding: 0 0 clamp(4.5rem, 8vw, 6rem);
  background: var(--paper);
}

.benefit-list .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.benefit-list > .wrap > .article-lead {
  margin-bottom: 1.75rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.benefit-item:last-child { border-bottom: 1px solid var(--line); }

.benefit-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.benefit-item p {
  color: #3f434d;
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-close {
  margin-top: 1.75rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.65;
}

.policy {
  padding: 0 0 clamp(4.5rem, 8vw, 6rem);
  background: var(--paper);
}

.policy .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.policy-block {
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}

.policy-block:last-child { border-bottom: 1px solid var(--line); }

.policy-block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.policy-block p,
.policy-block li {
  color: #3f434d;
  font-size: 1.02rem;
  line-height: 1.7;
}

.policy-block p + p { margin-top: 0.75rem; }

.policy-block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.policy-block li + li { margin-top: 0.4rem; }

.policy-block a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.policy-block a:hover { color: var(--slate); }

.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.35s var(--ease);
}

.to-top.is-in {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover { background: var(--slate-deep); }

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

/* ---------- Reveals ---------- */

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

.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ---------- Property detail ---------- */

body:is(.is-property, .is-article) {
  background: var(--paper);
}

body:is(.is-property, .is-article) .site-header {
  background: var(--paper);
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}

body:is(.is-property, .is-article) .site-header .logo img {
  filter: brightness(0);
}

body:is(.is-property, .is-article) .nav-desktop > a,
body:is(.is-property, .is-article) .nav-item > .nav-link,
body:is(.is-property, .is-article) .lang-toggle {
  color: var(--slate);
}

body:is(.is-property, .is-article) .btn-book {
  background: var(--slate);
  color: #fff;
}

body:is(.is-property, .is-article) .btn-book i {
  background: #fff;
  color: var(--slate);
}

body:is(.is-property, .is-article) .btn-book:hover i {
  background: var(--paper);
}

body:is(.is-property, .is-article) .menu-toggle span {
  background: var(--slate);
}

body:is(.is-property, .is-article) .lang-menu {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(10, 11, 16, 0.1);
}

body:is(.is-property, .is-article) .lang-menu a {
  color: var(--slate);
}

body:is(.is-property, .is-article) .lang-menu a small {
  color: var(--muted);
  opacity: 1;
}

body:is(.is-property, .is-article) .lang-menu a:hover,
body:is(.is-property, .is-article) .lang-menu a[aria-current="true"] {
  background: var(--paper);
}

body:is(.is-property, .is-article) .site-header.is-scrolled,
body:is(.is-property, .is-article) .site-header.is-mega-open {
  background: rgba(var(--dark-rgb), 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: transparent;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .logo img,
body:is(.is-property, .is-article) .site-header.is-mega-open .logo img {
  filter: none;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .nav-desktop > a,
body:is(.is-property, .is-article) .site-header.is-scrolled .nav-item > .nav-link,
body:is(.is-property, .is-article) .site-header.is-scrolled .lang-toggle,
body:is(.is-property, .is-article) .site-header.is-mega-open .nav-desktop > a,
body:is(.is-property, .is-article) .site-header.is-mega-open .nav-item > .nav-link,
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-toggle {
  color: #fff;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .btn-book,
body:is(.is-property, .is-article) .site-header.is-mega-open .btn-book {
  background: #fff;
  color: var(--ink);
}

body:is(.is-property, .is-article) .site-header.is-scrolled .btn-book i,
body:is(.is-property, .is-article) .site-header.is-mega-open .btn-book i {
  background: var(--ink);
  color: #fff;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .btn-book:hover i,
body:is(.is-property, .is-article) .site-header.is-mega-open .btn-book:hover i {
  background: var(--slate);
}

body:is(.is-property, .is-article) .site-header.is-scrolled .menu-toggle span,
body:is(.is-property, .is-article) .site-header.is-mega-open .menu-toggle span {
  background: #fff;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .lang-menu,
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-menu {
  background: rgba(var(--dark-rgb), 0.94);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(10, 11, 16, 0.22);
}

body:is(.is-property, .is-article) .site-header.is-scrolled .lang-menu a,
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-menu a {
  color: #fff;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .lang-menu a small,
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-menu a small {
  color: #fff;
  opacity: 0.55;
}

body:is(.is-property, .is-article) .site-header.is-scrolled .lang-menu a:hover,
body:is(.is-property, .is-article) .site-header.is-scrolled .lang-menu a[aria-current="true"],
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-menu a:hover,
body:is(.is-property, .is-article) .site-header.is-mega-open .lang-menu a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.1);
}

.property-hero {
  padding: calc(var(--header-h) + 2.75rem) 0 1.75rem;
}

.property-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.1rem;
}

.property-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.property-back,
.property-share {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.property-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
}

.property-share svg {
  flex-shrink: 0;
}

.property-share:hover,
.property-share[aria-expanded="true"],
.property-back:hover { color: var(--slate); }

.property-share-choices {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.property-share-choices a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.28s var(--ease);
}

.property-share-choices a:hover,
.property-share-choices a:focus-visible {
  border-color: var(--slate);
}

.property-share-choices svg {
  flex-shrink: 0;
  color: var(--slate);
}

.property-hero h1 {
  max-width: 80%;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.property-hero-meta {
  margin-top: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.property-main {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 3rem;
  grid-template-areas:
    "gallery"
    "form"
    "content";
}

.property-gallery { grid-area: gallery; }
.property-enquire-col { grid-area: form; }
.property-content { grid-area: content; }

@media (min-width: 980px) {
  .property-main {
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    grid-template-areas:
      "gallery form"
      "content form";
    gap: 1.5rem 2rem;
  }
}

.property-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.property-gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  aspect-ratio: 16 / 9;
}

.property-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.48s var(--ease);
}

.property-gallery-main img.is-active {
  opacity: 1;
}

.property-gallery-main .badge {
  z-index: 2;
}

.property-gallery-count {
  left: auto;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
}

.property-gallery-count svg {
  flex-shrink: 0;
}

.property-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: var(--circle);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(10, 11, 16, 0.16);
  transform: translateY(-50%);
}

.property-gallery-nav[data-gallery-prev] { left: 0.85rem; }
.property-gallery-nav[data-gallery-next] { right: 0.85rem; }

.property-gallery-nav:hover,
.property-gallery-nav:focus-visible {
  color: var(--slate);
}

.property-gallery-main {
  cursor: zoom-in;
}

@media (hover: hover) {
  .property-gallery-nav {
    opacity: 0.42;
    transition: opacity 0.35s var(--ease);
  }

  .property-gallery:hover .property-gallery-nav,
  .property-gallery-nav:focus-visible {
    opacity: 1;
  }
}

.property-lightbox .sf-modal-backdrop {
  background: var(--slate);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.property-lightbox-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1080px) 48px;
  grid-template-areas:
    "prev image next"
    "thumbs thumbs thumbs";
  align-items: center;
  justify-content: center;
  gap: 0.9rem 0.7rem;
  width: min(1180px, 100%);
}

.property-lightbox-panel {
  position: relative;
  grid-area: image;
  z-index: 1;
  width: 100%;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.property-lightbox-panel img {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  object-fit: contain;
  background: transparent;
}

.property-lightbox-count {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: var(--pill);
  background: rgba(10, 11, 16, 0.62);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
}

.property-lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: var(--circle);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(10, 11, 16, 0.18);
}

.property-lightbox-nav[data-lightbox-prev] { grid-area: prev; }

.property-lightbox-nav[data-lightbox-next] { grid-area: next; }

.property-lightbox-nav[hidden],
.property-lightbox-thumbs[hidden] {
  display: none;
}

.property-lightbox-nav:hover,
.property-lightbox-nav:focus-visible {
  background: var(--paper);
}

.property-lightbox-thumbs {
  grid-area: thumbs;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.45rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.property-lightbox-thumbs::-webkit-scrollbar { display: none; }

.property-lightbox-thumbs button {
  flex: 0 0 4.7rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-xs);
  background: #1a1c24;
  opacity: 0.58;
}

.property-lightbox-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.property-lightbox-thumbs button:hover,
.property-lightbox-thumbs button:focus-visible,
.property-lightbox-thumbs button[aria-current="true"] {
  border-color: #fff;
  opacity: 1;
}

@media (max-width: 760px) {
  .property-lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "image"
      "thumbs";
  }

  .property-lightbox-nav {
    position: absolute;
    top: 36%;
    z-index: 3;
  }

  .property-lightbox-nav[data-lightbox-prev] { left: 0.35rem; }

  .property-lightbox-nav[data-lightbox-next] { right: 0.35rem; }
}

.property-lightbox .sf-modal-x {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  background: #fff;
  color: var(--ink);
}

.property-lightbox .sf-modal-x:hover {
  background: var(--paper);
}

.property-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.property-gallery-thumbs::-webkit-scrollbar { display: none; }

.property-gallery-thumbs button {
  position: relative;
  flex: 0 0 calc((100% - 1.65rem) / 4);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: #ddd;
  padding: 0;
  scroll-snap-align: start;
}

.property-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.property-gallery-thumbs button:hover,
.property-gallery-thumbs button:focus-visible {
  border-color: var(--slate);
}

.property-gallery-thumbs button[aria-current="true"] {
  border-color: var(--slate);
}

@media (max-width: 720px) {
  .property-gallery-thumbs button {
    flex-basis: calc((100% - 0.55rem) / 2.35);
  }
}

.property-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

@media (min-width: 720px) {
  .property-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.property-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--ink);
}

.property-specs span { color: var(--muted); }

.property-specs b {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.property-specs small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-block {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.property-block h2,
.property-similar h2 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.property-block p,
.property-map-addr {
  color: var(--muted);
  line-height: 1.7;
}

.property-highlights {
  display: grid;
  gap: 0.7rem 1.5rem;
}

@media (min-width: 640px) {
  .property-highlights { grid-template-columns: 1fr 1fr; }
}

.property-highlights li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.property-highlights span { color: var(--muted); }

.property-agent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.property-agent img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.property-agent b { display: block; }

.property-agent small { color: var(--muted); }

.property-agent-cta {
  margin-left: auto;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.property-agent-cta:hover { background: var(--slate); }

.property-map-wrap {
  position: relative;
  z-index: 1;
  isolation: isolate;
  margin-top: 1rem;
}

body:is(.is-property, .is-article) .property-map.archive-map,
.property-map {
  display: block;
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  height: 420px;
  min-height: 420px;
  margin-top: 0;
  border-radius: var(--radius-md);
}

.property-directions {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1100;
  pointer-events: auto;
}

.archive-map .leaflet-bottom.leaflet-left {
  z-index: 1100;
}

.archive-map .property-directions.leaflet-control {
  position: relative;
  left: auto;
  bottom: auto;
  margin: 0 0 10px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  clear: both;
  pointer-events: auto;
}

.property-directions-btn {
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(10, 11, 16, 0.14);
}

.property-directions-btn:hover,
.property-directions-btn[aria-expanded="true"] {
  color: var(--slate);
}

.property-directions-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.property-directions-choices a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 132px;
  padding: 1rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.28s var(--ease);
}

.property-directions-choices a:hover,
.property-directions-choices a:focus-visible {
  border-color: var(--slate);
}

.property-directions-choices img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.property-directions-choices [data-directions="google"] img {
  width: 78px;
  height: 78px;
}

.property-directions-choices [data-directions="waze"] img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
}

.property-enquire-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 6;
}

@media (min-width: 980px) {
  .property-enquire-col {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.property-enquire {
  overflow: visible;
}

.property-enquire .sf-select.is-open {
  z-index: 8;
}

.property-summary,
.property-enquire {
  padding: 1.4rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 11, 16, 0.06);
}

.property-summary-status {
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-enquire-price {
  margin-bottom: 0.15rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.property-summary-unit {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.property-summary-addr {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.property-summary-facts {
  display: grid;
  gap: 0.55rem;
  margin: 1.05rem 0 0;
}

.property-summary-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.property-summary-facts span { color: var(--muted); }

.property-summary .property-agent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.property-summary .property-agent-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-left: 0;
}

.property-enquire h2 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

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

.property-similar {
  padding: 0 0 3.5rem;
}

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

@media (min-width: 720px) {
  .property-similar .prop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .property-similar .prop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.property-note {
  margin-bottom: 3.5rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}

.property-note p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 40rem;
  line-height: 1.65;
}

.property-note a {
  display: inline-flex;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .property-gallery-main img {
    transition: none !important;
  }
  .prop-card.is-skeleton figure::after,
  .prop-skeleton-mark svg {
    animation: none !important;
  }
  .reveal, .prop-card img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .keisi .carousel-track {
    transition: none !important;
  }

  .hero-bg .hero-media,
  .hero-mark img,
  .hero-loader-fill {
    animation: none !important;
    transition: none !important;
  }

  .mega,
  .mega-backdrop,
  .select-menu {
    transition: none !important;
    transform: none !important;
  }
}

.property-sheet {
  display: none;
  box-sizing: border-box;
  color: #16171c;
  font-size: 10.5px;
  line-height: 1.45;
}

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

.ps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e6e4de;
}

.ps-logo {
  height: 32px;
  width: auto;
}

.ps-head-side {
  text-align: right;
  color: #6b6e78;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.ps-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 14px;
}

.ps-badge {
  margin-bottom: 5px;
  color: #4b5176;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.property-sheet h1 {
  max-width: none;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.property-sheet h2 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ps-addr {
  margin-top: 5px;
  color: #6b6e78;
  font-weight: 500;
}

.ps-price {
  flex-shrink: 0;
  text-align: right;
}

.ps-price strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ps-price span {
  display: block;
  margin-top: 3px;
  color: #6b6e78;
  font-weight: 600;
}

.ps-collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 128px 104px;
  gap: 8px;
  margin: 0 0 16px;
}

.ps-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eceae4;
}

.ps-collage .is-main {
  grid-column: 1;
  grid-row: 1;
}

.ps-collage[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 210px;
}

.ps-collage[data-count="2"],
.ps-collage[data-count="3"] {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 200px;
}

.ps-collage[data-count="3"] {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.ps-collage[data-count="4"] .is-main,
.ps-collage[data-count="5"] .is-main {
  grid-row: 1 / 3;
}

.ps-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  border-top: 1px solid #e6e4de;
  border-left: 1px solid #e6e4de;
}

.ps-stats li {
  padding: 9px 10px;
  border-right: 1px solid #e6e4de;
  border-bottom: 1px solid #e6e4de;
}

.ps-stats span {
  display: block;
  margin-bottom: 3px;
  color: #6b6e78;
  font-size: 9px;
  font-weight: 700;
}

.ps-stats b {
  font-size: 12px;
  letter-spacing: -0.02em;
}

.ps-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.ps-about p,
.ps-location p,
.ps-note {
  color: #3f434d;
  font-size: 11px;
  line-height: 1.55;
}

.ps-coords,
.ps-maps {
  margin-top: 5px;
  word-break: break-all;
  color: #6b6e78 !important;
  font-size: 9.5px !important;
}

.ps-similar {
  margin-bottom: 14px;
}

.ps-similar ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ps-similar li {
  padding: 8px 10px;
  border: 1px solid #e6e4de;
}

.ps-similar b {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.ps-similar span,
.ps-similar em {
  display: block;
  margin-top: 3px;
  color: #6b6e78;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 500;
}

.ps-note {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #e6e4de;
  background: #f7f6f3;
}

.ps-foot {
  padding-top: 12px;
  border-top: 1px solid #e6e4de;
}

.ps-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-agent img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.ps-agent b { display: block; font-size: 12px; }
.ps-agent small { color: #6b6e78; font-size: 10px; }

.ps-agent-links {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: #16171c;
  font-size: 10px;
  font-weight: 600;
}

.ps-url {
  margin-top: 8px;
  color: #6b6e78;
  font-size: 9px;
  word-break: break-all;
}

.ps-legal {
  margin-top: 6px;
  color: #8a8d96;
  font-size: 8.5px;
  line-height: 1.4;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    background: #fff !important;
    color: #16171c !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.is-printing .skip-link,
  body.is-printing .site-header,
  body.is-printing .nav-mobile,
  body.is-printing .mega,
  body.is-printing .mega-backdrop,
  body.is-printing .property-page,
  body.is-printing .site-footer,
  body.is-printing .to-top,
  body.is-printing .sf-modal {
    display: none !important;
  }

  body.is-printing .property-sheet {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 16mm 18mm 14mm;
    color: #16171c;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.is-printing .ps-collage,
  body.is-printing .ps-stats,
  body.is-printing .ps-body,
  body.is-printing .ps-foot,
  body.is-printing .ps-intro,
  body.is-printing .ps-similar,
  body.is-printing .ps-note {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.is-printing img {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ---------- Darījumi / keisi ---------- */

.deals-archive {
  padding: 2.25rem 0 clamp(4.5rem, 8vw, 6.5rem);
  background: var(--paper);
}

.deals-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.deals-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deals-filters button {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.deals-filters button:hover {
  border-color: var(--slate);
}

.deals-filters button[aria-pressed="true"] {
  background: var(--slate);
  border-color: var(--slate);
  color: #fff;
}

.deals-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.05);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    box-shadow 0.35s var(--ease);
}

.case-card[hidden] {
  display: none !important;
}

.case-card.reveal.is-deal-out,
.case-card.is-deal-out {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.case-card.reveal.is-deal-prep,
.case-card.is-deal-prep {
  opacity: 0;
  transform: translateY(16px);
  transition: none;
}

.case-card.reveal.is-deal-enter,
.case-card.is-deal-enter {
  opacity: 1;
  transform: none;
  transition: opacity 0.42s var(--ease), transform 0.45s var(--ease);
}

.case-card.reveal.is-deal-moving,
.case-card.is-deal-moving {
  transition: transform 0.45s var(--ease);
}

.deals-grid.is-deal-animating {
  pointer-events: none;
}

.deals-count {
  transition: opacity 0.25s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .case-card.reveal.is-deal-out,
  .case-card.reveal.is-deal-prep,
  .case-card.reveal.is-deal-enter,
  .case-card.reveal.is-deal-moving,
  .case-card.is-deal-out,
  .case-card.is-deal-prep,
  .case-card.is-deal-enter,
  .case-card.is-deal-moving {
    transition: none;
  }
}

.case-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1c24;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.25rem 1.3rem;
}

.case-card p.case-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.55rem;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.case-card-go {
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 650;
}

.deals-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.case-visual {
  padding: 0 0 2.5rem;
  background: var(--paper);
}

.case-visual .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.case-visual figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1c24;
}

.case-visual img {
  display: block;
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.case-facts div {
  min-width: 0;
}

.case-facts dt {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.case-story {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--paper);
}

.case-story .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.case-block {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.case-block:last-child { border-bottom: 1px solid var(--line); }

.case-block h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.03em;
}

.case-block p,
.case-block li {
  color: #3f434d;
  font-size: 1.02rem;
  line-height: 1.7;
}

.case-block ul,
.case-block ol {
  margin: 0;
  padding-left: 1.15rem;
}

.case-block li + li { margin-top: 0.45rem; }

.case-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.case-time {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  background: #fff;
}

.case-time b {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--slate);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.case-time span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.case-result {
  margin-top: 1.15rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
}

.case-result p {
  margin: 0;
  color: var(--ink);
}

.case-result p + p { margin-top: 0.7rem; }

.case-related {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--paper);
}

.case-related .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.case-related > .wrap > h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .deals-grid,
  .case-facts,
  .case-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .deals-grid,
  .case-facts,
  .case-timeline { grid-template-columns: 1fr; }

  .case-visual img { height: 46vh; }

  .keisi-all { display: none; }
}

/* ---------- Kontakti ---------- */

.contact-main {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.contact-copy > p {
  max-width: 36rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease);
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: var(--slate);
}

.contact-item i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--slate);
}

.contact-item small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item b {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-socials a:hover {
  border-color: var(--slate);
  color: var(--slate);
}

.contact-form-card {
  align-self: start;
}

.contact-form-card .buyers-form,
.contact-form-card .buyers-form-ok {
  box-shadow: 0 18px 40px rgba(18, 19, 24, 0.06);
}

.contact-map {
  padding: 0 0 clamp(4rem, 7vw, 6rem);
  background: var(--paper);
}

.contact-map h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

.contact-map-lead {
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6;
}

.contact-team {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--white);
}

.contact-team-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.contact-team-head .page-kicker { color: var(--slate); }

.contact-team-head h2 {
  margin: 0.7rem 0 0.75rem;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  letter-spacing: -0.03em;
}

.contact-team-head p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}

.about-team .contact-team-head {
  max-width: 46rem;
}

.about-quote {
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}

.about-quote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.about-quote footer {
  margin-top: 0.85rem;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 650;
}

.about-team .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  max-width: none;
}

.about-team .team-card {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(22, 23, 28, 0.08);
  box-shadow: 0 1px 0 rgba(22, 23, 28, 0.03);
}

.about-team .team-card figure {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.about-team .team-card img {
  transition: transform 0.7s var(--ease);
}

.about-team .team-card:hover img {
  transform: scale(1.035);
}

.about-team .team-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
}

.about-team .team-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.12rem;
}

.about-team .team-role {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .about-team .team-card img,
  .about-team .team-card:hover img {
    transition: none;
    transform: none;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  max-width: 68rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
  gap: 1.15rem 1.25rem;
  align-items: center;
  min-width: 0;
  padding: 1rem 1.15rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.team-card figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  background: #1a1c24;
  aspect-ratio: 4 / 5;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.team-card-body {
  min-width: 0;
  padding-top: 0.15rem;
}

.team-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.team-card .team-role {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.team-card .team-cred {
  margin-bottom: 0.85rem;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 650;
}

.team-card .team-links {
  display: grid;
  gap: 0.25rem;
}

.team-card .team-links a {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 0.28s var(--ease);
}

.team-card .team-links a:hover { color: var(--ink); }

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 0.92fr;
    gap: 4rem;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .team-grid,
  .about-team .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .team-card {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.8rem 0.9rem 0.8rem 0.8rem;
  }

  .team-card h3 { font-size: 1.08rem; }
}

/* ---------- Blogs ---------- */

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.blog-toolbar-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}

.blog-pager[hidden] {
  display: none;
}

.blog-pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-pager button {
  min-width: 40px;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.blog-pager button:hover:not(:disabled) {
  border-color: var(--slate);
}

.blog-pager button[aria-current="page"] {
  background: var(--slate);
  border-color: var(--slate);
  color: #fff;
}

.blog-pager button:disabled {
  opacity: 0.38;
  cursor: default;
}

.blog-archive[data-view="list"] .deals-grid {
  grid-template-columns: 1fr;
}

.blog-archive[data-view="list"] .case-card {
  display: grid;
  grid-template-columns: minmax(12rem, 16.5rem) minmax(0, 1fr);
  height: 240px;
  max-height: 240px;
  min-height: 0;
  align-items: stretch;
}

.blog-archive[data-view="list"] .case-card-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.blog-archive[data-view="list"] .case-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-archive[data-view="list"] .case-card-body {
  min-height: 0;
  overflow: hidden;
  justify-content: space-between;
}

.blog-archive[data-view="list"] .case-card h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-archive[data-view="list"] .case-card-body > p:not(.case-card-meta) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-article {
  background: var(--paper);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.blog-article > .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.blog-hero {
  padding: calc(var(--header-h) + 2.1rem) 0 1.75rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16.5rem, 21rem);
  gap: 2.25rem 2.75rem;
  align-items: start;
}

.blog-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.blog-crumbs a { color: var(--muted); }

.blog-crumbs a:hover { color: var(--slate); }

.blog-hero .page-kicker,
.blog-end-cta .page-kicker,
.blog-more .page-kicker {
  color: var(--slate);
}

.blog-hero h1 {
  margin: 0.7rem 0 0.95rem;
  max-width: 48rem;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  letter-spacing: -0.038em;
  line-height: 1.12;
}

.blog-standfirst {
  margin: 0 0 1.15rem;
  max-width: 42rem;
  color: #4a4e58;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.65;
}

.blog-hero-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  margin: 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.blog-hero-byline b {
  color: var(--ink);
  font-weight: 700;
}

.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.blog-share button,
.blog-share a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.blog-share button:hover,
.blog-share a:hover {
  border-color: var(--slate);
  color: var(--slate);
}

.blog-share button.is-copied {
  border-color: var(--yield);
  color: var(--yield);
}

.blog-visual {
  width: 100%;
  margin: 0;
}

.blog-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.15rem);
}

.blog-visual-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1c24;
  box-shadow: 0 18px 40px rgba(18, 19, 24, 0.08);
}

.blog-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.blog-visual figcaption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-body {
  padding: 1.85rem 0 0;
}

.blog-prose h2 {
  margin: 2.15rem 0 0.8rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.blog-prose h2:first-child { margin-top: 0; }

.blog-prose p,
.blog-prose li {
  color: #3a3e48;
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-prose p { margin: 0; }

.blog-prose p + p { margin-top: 1rem; }

.blog-prose ul {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
}

.blog-prose li + li { margin-top: 0.5rem; }

.blog-prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-prose a:hover { color: var(--slate); }

.blog-quote {
  margin: 1.8rem 0 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--slate);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-quote p {
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 650;
  line-height: 1.55;
}

.blog-quote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 600;
}

.blog-end-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.blog-end-share p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.blog-end-cta {
  padding: 1.45rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.blog-end-cta h2 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.blog-end-cta > p:not(.page-kicker) {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.blog-end-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
}

.blog-end-back {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.blog-end-back:hover { color: var(--slate); }

.blog-more {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.blog-more .wrap {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
}

.blog-more > .wrap > h2 {
  margin: 0.55rem 0 1.6rem;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

@media (max-width: 920px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-aside {
    position: static;
    order: 1;
  }
}

@media (max-width: 720px) {
  .blog-archive[data-view="list"] .case-card {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .blog-archive[data-view="list"] .case-card-media {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .blog-archive[data-view="list"] .case-card-media img {
    position: static;
  }
}
