/* =========================================================
   о3 = о4 + различно hero: снимки на цял екран (slideshow)
   Зарежда се СЛЕД style4.css
   ========================================================= */
.hero-full {
  position: relative;
  min-height: calc(100vh - 65px);
  min-height: calc(100svh - 65px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--moss-deep);
  color: #fff;
  padding: 0;
}

/* снимки */
.hf-media {
  position: absolute;
  inset: -12% 0;
  z-index: -3;
}
.slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out;
  will-change: transform, opacity;
}
.slide.is-active {
  opacity: 1;
  z-index: 2;
}
.slide.is-prev {
  opacity: 1;
  z-index: 1;
  transition: none;
}
/* равномерно приближаване, което продължава и по време на прехода */
.slide.run {
  animation: kenburns var(--zoom, 8700ms) linear forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* затъмняване зад текста */
.hf-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(12, 20, 14, 0.45) 0%, rgba(12, 20, 14, 0.08) 26%, rgba(12, 20, 14, 0.15) 60%, rgba(12, 20, 14, 0.55) 100%),
    linear-gradient(90deg, rgba(12, 20, 14, 0.78) 0%, rgba(12, 20, 14, 0.5) 38%, rgba(12, 20, 14, 0) 72%);
}

/* съдържание */
.hf-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px clamp(170px, 19vw, 300px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.hf-copy {
  max-width: 640px;
}
.hero-full .kicker__mark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hero-full .kicker__text {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.hero-full h1 {
  color: #fff;
  font-size: clamp(40px, 5.6vw, 76px);
  margin-bottom: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 8px 40px rgba(0, 0, 0, 0.45);
}
.hero-full h1 em {
  font-style: normal;
  color: #bfe3c6;
}
.hero-full .lede {
  color: #f4f8f1;
  font-size: 19px;
  max-width: 46ch;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 4px 18px rgba(0, 0, 0, 0.45);
}
.hero-full .hero-cta {
  margin-top: 26px;
}
.hero-full .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(12, 20, 14, 0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-full .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* факти вдясно */
.hero-full .hero-facts {
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 22px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-full .hero-fact .num {
  color: #fff;
  font-size: 26px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
.hero-full .hero-fact .lbl {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* индикатор на снимките */
.slide-bars {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.slide-bars button {
  width: 42px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.slide-bars i {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.slide-bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.slide-bars button.on i::after {
  animation: barfill var(--dur, 6500ms) linear forwards;
}
@keyframes barfill {
  to { transform: scaleX(1); }
}

/* гората (същата като в о4) стои над снимките */
.hero-full .forest {
  z-index: 1;
}

@media (max-width: 880px) {
  .hf-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-full .hero-facts {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }
}
@media (max-width: 600px) {
  .hero-full {
    align-items: flex-end;
  }
  .hf-inner {
    padding: 60px 20px 130px;
  }
  .hf-shade {
    background: linear-gradient(180deg, rgba(12, 20, 14, 0.35) 0%, rgba(12, 20, 14, 0.2) 25%, rgba(12, 20, 14, 0.6) 55%, rgba(12, 20, 14, 0.85) 100%);
  }
  .hero-full .lede {
    font-size: 17px;
  }
  .hero-full .hero-cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-full .hero-fact .num {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide.run {
    animation: none;
  }
  .slide-bars button.on i::after {
    animation: none;
    transform: scaleX(1);
  }
}


/* =========================================================
   v4: шрифтовете от предишния о3 (Cormorant Garamond + Manrope)
   ========================================================= */
body,
.btn, .lang-btn, .lang-menu li .code, .mono, .tbd, .shot__tag,
.hero-fact .num, .fact-card dd, .price-table th, .price-table td.amount,
.field label, .field input, .field textarea, .route-list .dist,
.poi .kind, .rule .lbl, .contact-card .lbl {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
}
body { font-size: 16px; }
h1, h2, h3, .display, .brand-name {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; }
h2 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.05; }
h3 { font-size: 21px; }
.kicker__text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}
.panel-links a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
}
.btn { font-weight: 700; letter-spacing: 0.01em; }
.hero-full h1 { font-size: clamp(46px, 6.4vw, 92px); font-weight: 600; }

/* =========================================================
   v4: прозрачен хедър върху hero
   ========================================================= */
header.site-nav.over-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease;
}
header.site-nav.over-hero.is-solid {
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.over-hero:not(.is-solid) .brand-mark {
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}
.over-hero:not(.is-solid) .nav-links a {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.over-hero:not(.is-solid) .nav-links a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.over-hero:not(.is-solid) .lang-btn,
.over-hero:not(.is-solid) .nav-toggle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.over-hero:not(.is-solid) .nav-toggle .bar {
  background: #fff;
}
.hero-full {
  min-height: 100vh;
  min-height: 100svh;
}
.hf-inner {
  padding-top: 130px;
}
.hf-shade {
  background:
    linear-gradient(180deg, rgba(12, 20, 14, 0.62) 0%, rgba(12, 20, 14, 0.12) 22%, rgba(12, 20, 14, 0.15) 60%, rgba(12, 20, 14, 0.55) 100%),
    linear-gradient(90deg, rgba(12, 20, 14, 0.78) 0%, rgba(12, 20, 14, 0.5) 38%, rgba(12, 20, 14, 0) 72%);
}

/* =========================================================
   v5: данните за вилата — лека стъклена лента
   ========================================================= */
.hero-full .hero-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: end;
  gap: 0;
  margin: 0;
  padding: 18px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(14, 24, 17, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 60px -30px rgba(0, 0, 0, 0.55);
  min-width: 0;
}
.hero-full .hero-fact {
  position: relative;
  padding: 0 24px;
  text-align: center;
}
.hero-full .hero-fact + .hero-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.hero-full .hero-fact + .hero-fact {
  border: 0;
}
.hero-full .hero-fact .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.hero-full .hero-fact .lbl {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: none;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .hero-full .hero-facts {
    justify-self: start;
    padding: 14px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
  }
  .hero-full .hero-fact { padding: 0 16px; }
  .hero-full .hero-fact .num { font-size: 32px; }
}
@media (max-width: 480px) {
  .hero-full .hero-facts {
    justify-self: stretch;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-full .hero-fact { padding: 0 6px; }
  .hero-full .hero-fact .num { font-size: 27px; }
  .hero-full .hero-fact .lbl { font-size: 8.5px; letter-spacing: 0.06em; white-space: normal; }
}
@media (max-width: 600px) {
  .hf-inner { padding-top: 100px; }
}

/* v5: лентата с данните стои долу вдясно и не стеснява заглавието */
@media (min-width: 1101px) {
  .hf-inner {
    grid-template-columns: 1fr;
  }
  .hf-copy {
    max-width: 720px;
  }
  .hero-full .hero-facts {
    position: absolute;
    right: 24px;
    bottom: clamp(170px, 19vw, 300px);
  }
}
@media (max-width: 1100px) {
  .hf-inner {
    grid-template-columns: 1fr;
  }
  .hero-full .hero-facts {
    justify-self: start;
  }
}
@media (max-width: 480px) {
  .hero-full .hero-facts {
    align-items: start;
    justify-self: stretch;
  }
}

/* v6: числата в лентата — Manrope с нормални (lining) цифри,
   Cormorant рисува цифрите "старинно" (1 като I, 3 под реда) */
.hero-full .hero-fact .num {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1.05;
}
.hero-full .hero-fact .lbl {
  margin-top: 8px;
}
@media (max-width: 880px) {
  .hero-full .hero-fact .num { font-size: 25px; }
}
@media (max-width: 480px) {
  .hero-full .hero-fact .num { font-size: 21px; }
}
