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

:root {
  --slate: #121318;
  --slate-deep: #0a0b0e;
  --accent-rgb: 18, 19, 24;
  --ink: #16171c;
  --muted: #6b6e78;
  --paper: #f7f6f3;
  --white: #ffffff;
  --line: #e6e4de;
  --gold: #c9a227;
  --yield: #3e6b4f;
  --dark: #121318;
  --dark-2: #1a1c24;
  --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;
  --pill: 999px;
  --focus: 0 0 0 3px rgba(var(--accent-rgb), 0.35);
}

html[data-accent="slate"] {
  --slate: #4b5176;
  --slate-deep: #2c3048;
  --accent-rgb: 75, 81, 118;
}

*,
*::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: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), 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);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-mega-open {
  background: rgba(18, 19, 24, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

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

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

.nav-desktop {
  display: none;
  align-items: center;
  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);
}

.mega-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(10, 11, 16, 0.28);
  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: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 79;
  max-height: min(82vh, 720px);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 60px rgba(10, 11, 16, 0.18);
  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 {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.25rem;
  padding: 1.6rem 0 1.25rem;
}

.mega-label {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-deep);
}

.mega-group + .mega-group { margin-top: 1.55rem; }

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

.mega-cat {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem 0.65rem 0.55rem 0.5rem;
  border-radius: 14px;
  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 {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.mega-cat strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.mega-cat small {
  display: block;
  margin-top: 0.28rem;
  color: #3f434d;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.mega-aside {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

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

.mega-featured {
  display: block;
  margin-top: 1.15rem;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
  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: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 1rem 0 1.15rem;
}

.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;
}

.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: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  border-radius: var(--pill);
  border: 1px solid var(--slate);
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 600;
}

.mega-all:hover { background: rgba(var(--accent-rgb), 0.08); }

.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 {
  justify-self: end;
  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 .chevron {
  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: 14px;
  background: rgba(18, 19, 24, 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: 10px;
  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: 50%;
  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 (max-width: 1100px) {
  .mega-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .mega-aside {
    padding-left: 0;
    border-left: 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
  }

  .mega-aside .mega-label,
  .mega-aside .mega-note,
  .mega-aside .mega-featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .btn-book { display: inline-flex; }
  .menu-toggle, .nav-mobile { display: none; }
}

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

.hero {
  position: relative;
  min-height: 950px;
  height: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  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;
  transition: opacity 1s var(--ease);
}

.hero[data-hero-bg="photos"] .hero-slide.is-active { opacity: 1; }
.hero[data-hero-bg="photos"] .hero-video,
.hero[data-hero-bg="video"] .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;
  padding: 0 0 1.5rem;
  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: 50%;
  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.75rem;
  display: flex;
  justify-content: flex-end;
}

.hero-bg-switch {
  position: fixed;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
}

.hero-cog {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--slate);
  transition: background-color 0.35s var(--ease);
}

.hero-cog svg {
  transition: transform 0.4s var(--ease);
}

.hero-cog:hover,
.hero-bg-switch.is-open .hero-cog {
  background: var(--slate-deep);
}

.hero-bg-switch.is-open .hero-cog svg { transform: rotate(60deg); }

.hero-bg-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.6rem);
  min-width: 198px;
  padding: 0.55rem;
  border-radius: 16px;
  background: rgba(10, 11, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(10, 11, 16, 0.28);
}

.hero-bg-menu-label {
  padding: 0.35rem 0.65rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-bg-menu-label + .hero-bg-menu-label {
  margin-top: 0.45rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg-menu [data-hero-bg],
.hero-bg-menu [data-accent] {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.hero-bg-menu [data-accent] { justify-content: flex-start; gap: 0.55rem; }

.hero-bg-menu [data-hero-bg]:hover,
.hero-bg-menu [data-hero-bg]:focus-visible,
.hero-bg-menu [data-accent]:hover,
.hero-bg-menu [data-accent]:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero-bg-menu [data-hero-bg][aria-checked="true"],
.hero-bg-menu [data-accent][aria-checked="true"] {
  background: rgba(var(--accent-rgb), 0.55);
}

.hero-bg-menu [data-hero-bg][aria-checked="true"]::after,
.hero-bg-menu [data-accent][aria-checked="true"]::after {
  content: "✓";
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
}

.accent-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #121318;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.accent-swatch.is-slate { background: #4b5176; }

.hero-quote {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 22rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  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: 22px;
  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: 16px;
  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;
}

.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: space-between;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.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: "✓";
  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[data-hero-bg="photos"] .hero-loader-fill {
  animation: hero-load 7s linear forwards;
}

.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 article {
  text-align: center;
  padding: 1.75rem 1rem;
}

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

.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, 1fr);
  }

  .facts-grid article {
    padding: 2.4rem 1.25rem;
  }

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

@media (max-width: 719px) {
  .hero { min-height: 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: 16px;
  background: var(--white);
  color: var(--muted);
}

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

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

@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 {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.06);
}

.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: 4px;
}

.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 {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  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), background-color 0.25s var(--ease);
}

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

.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: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease);
}

.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: 20px;
  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: 10px;
  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; }
}

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

.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: 10px;
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.sf-datepicker { position: relative; }

.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: 10px;
  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 {
  margin-top: 0.45rem;
  padding: 0.85rem 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 11, 16, 0.08);
}

.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: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.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: 9px;
  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; }

.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: 12px;
  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: 12px;
  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(--dark);
  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;
  gap: 0.5rem;
}

.car-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  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);
}

.deal-card {
  position: relative;
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  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: 10px;
  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: 24px;
  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: 20px;
  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: #0e0f14;
  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: 12px;
  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: 50%;
  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: 12px;
  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; }

@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);
}

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(18, 19, 24, 0.94);
  backdrop-filter: blur(16px);
}

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

.archive-search-bar {
  position: relative;
  z-index: 70;
  padding: calc(var(--header-h) + 0.7rem) 0 0.7rem;
  background: var(--dark);
}

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

.archive-search .search-field {
  padding: 0.35rem 0.75rem;
}

.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-q {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.archive-search-q svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}

.archive-search-q input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 500;
}

.archive-search-q input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.archive-search .search-submit {
  background: #fff;
  color: var(--ink);
}

.archive-search .search-submit:hover {
  background: var(--paper);
  color: var(--ink);
}

@media (min-width: 900px) {
  .archive-search {
    grid-template-columns: 1.15fr 1.25fr 1fr 1fr minmax(11rem, 1.15fr) auto;
    align-items: stretch;
    gap: 0;
  }

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

  .archive-search-q {
    margin-left: 0.65rem;
  }

  .archive-search .search-submit {
    align-self: center;
    min-width: 7.5rem;
    margin-left: 0.65rem;
  }
}

.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 {
  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 {
  min-height: 42px;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M2 4.2 6 8l4-3.8' stroke='%2316171c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  appearance: none;
}

.archive-sort:focus-visible { box-shadow: var(--focus); }

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

.archive-views button {
  width: 38px;
  height: 34px;
  border-radius: 9px;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.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;
}

.archive-map {
  display: none;
  min-height: 560px;
  border-radius: 16px;
  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: 560px;
  font-family: var(--font);
}

.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="map"] .archive-layout {
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: start;
}

.archive[data-view="map"] .archive-map { display: block; }

.archive[data-view="map"] .prop-grid {
  grid-template-columns: 1fr;
  max-height: min(72vh, 760px);
  overflow: auto;
  padding-right: 0.25rem;
}

.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: 18px;
  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-note {
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem;
  border-radius: 18px;
  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 {
    grid-template-columns: 1fr;
  }

  .archive[data-view="map"] .prop-grid {
    max-height: none;
  }

  .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: 640px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 16, 0.62) 0%, rgba(10, 11, 16, 0.34) 42%, rgba(10, 11, 16, 0.1) 68%, transparent 82%),
    linear-gradient(180deg, rgba(10, 11, 16, 0.28) 0%, transparent 32%, rgba(10, 11, 16, 0.42) 100%);
}

.page-hero-main {
  position: relative;
  z-index: 2;
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4.5rem) 0 4.25rem;
  max-width: 40rem;
  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: 36rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

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

.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-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: 22px;
  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 {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 500;
}

.buyers-form input: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: 12px;
  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;
  }
}

.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; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .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;
  }
}
