html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Cormorant SC', serif;
  background-color: #dbd6c6;
  color: #2f241d;
  overflow-x: hidden;
}

/* ===== МЕНЮ ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(48, 63, 83, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 18px;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 24px;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.4s ease;
}

.logo img:hover {
  transform: rotate(-6deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu a {
  color: #e8decd;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 0.5px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
}

.menu a:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #f0cf52, #d8841a);
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #e8decd;
  font-size: 30px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.08);
}

.page-wrap {
  padding-top: 78px;
}

/* ===== ОБЩИ СЕКЦИИ ===== */
.section {
  padding: 70px 24px 90px;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.left-text {
  text-align: left;
}

.stack-space {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* ===== АНИМАЦИИ ПО ПОЯВА ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== ТЕКСТОВИ БЛОКОВЕ ===== */
.text-block {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 34px;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(47, 36, 29, 0.08);
}

.text-block h2 {
  font-size: 38px;
  margin: 0 0 18px;
  color: #2f241d;
  font-weight: 400;
}

.text-block p {
  font-size: 24px;
  line-height: 1.9;
  margin: 0;
  color: #2f241d;
  text-align: left;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.image-box img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 14px 30px rgba(47, 36, 29, 0.10);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.image-box img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 38px rgba(47, 36, 29, 0.15);
}

/* ===== НАЧАЛО ===== */
.hero-home {
  min-height: 720px;
  background-image:
    linear-gradient(rgba(236, 228, 214, 0.55), rgba(236, 228, 214, 0.55)),
    url("assets/home-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 20px 80px;
  box-sizing: border-box;
}

.hero-overlay {
  width: 100%;
  text-align: center;
}

.main-title {
  font-size: 95px;
  font-weight: 400;
  color: #2f241d;
  margin: 0;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  animation: dramaticReveal 1.3s ease forwards;
}

.hero-subtitle {
  font-size: 25px;
  color: #2f241d;
  margin: 20px 0 0;
  opacity: 0;
  transform: translateY(20px);
  animation: dramaticReveal 1.2s ease forwards;
  animation-delay: 0.25s;
}

.home-after-hero {
  background: #d8d1c0;
  padding: 55px 20px 90px;
}

.small-gold-title {
  font-size: 41px;
  margin: 0;
  text-align: center;
  background: linear-gradient(90deg, #d8841a, #f0cf52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: dramaticReveal 1s ease forwards;
  animation-delay: 0.4s;
}

.big-gradient-title {
  font-size: 52px;
  font-weight: 400;
  margin: 12px 0 32px;
  text-align: center;
  background: linear-gradient(90deg, #000000, #737373);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: dramaticReveal 1s ease forwards;
  animation-delay: 0.6s;
}

.home-text p {
  font-size: 24px;
  line-height: 1.9;
  margin: 0;
  color: #2f241d;
  text-align: left;
}

/* ===== РИЦАРИ ===== */
.people-grid-beautiful {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.person-card-beautiful {
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 14px 30px rgba(47, 36, 29, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease, background 0.35s ease;
  border: 2px solid transparent;
}

.person-card-beautiful:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(47, 36, 29, 0.12);
}

.person-card-beautiful.active {
  border: 2px solid rgba(212, 162, 63, 0.85);
  box-shadow: 0 0 0 2px rgba(240, 207, 82, 0.18), 0 22px 40px rgba(47, 36, 29, 0.16);
  background: rgba(255, 255, 255, 0.24);
}

.person-portrait-beautiful {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin-bottom: 18px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.person-card-beautiful:hover .person-portrait-beautiful {
  transform: scale(1.02);
  filter: saturate(1.03);
}

.accordion-btn-beautiful {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Cormorant SC', serif;
  font-size: 30px;
  color: #2f241d;
  cursor: pointer;
  text-align: left;
}

.accordion-btn-beautiful span:first-child {
  flex: 1;
}

.arrow-beautiful {
  font-size: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
  flex-shrink: 0;
  margin-top: 8px;
}

.person-card-beautiful.active .arrow-beautiful {
  transform: rotate(180deg);
  color: #b8841a;
}

.accordion-content-beautiful {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.45s ease, margin-top 0.35s ease;
}

.person-card-beautiful.active .accordion-content-beautiful {
  max-height: 720px;
  opacity: 1;
  margin-top: 18px;
}

.accordion-content-beautiful p {
  font-size: 22px;
  line-height: 1.85;
  color: #2f241d;
  margin: 0;
  text-align: left;
}

.last-centered {
  grid-column: 2 / 3;
}

/* ===== ПОХОД ===== */
.video-box {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 34px;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(47, 36, 29, 0.08);
}

.video-box h2 {
  font-size: 38px;
  margin: 0 0 18px;
  font-weight: 400;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(47, 36, 29, 0.08);
  border: 2px dashed rgba(47, 36, 29, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-frame:hover {
  transform: scale(1.01);
  box-shadow: 0 16px 28px rgba(47, 36, 29, 0.12);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ===== ИДЕИ ===== */
.bold-title {
  font-weight: 700;
}

/* ===== ЗА НАС ===== */
.about-button-wrap {
  margin-top: 24px;
}

.link-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 22px;
  background: #324258;
  color: #e8decd;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-family: 'Cormorant SC', serif;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.link-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 12px 22px rgba(47, 36, 29, 0.14);
}

/* ===== ОСНОВНИ АНИМАЦИИ ===== */
@keyframes dramaticReveal {
  0% {
    opacity: 0;
    transform: translateY(38px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== ТАБЛЕТ ===== */
@media (max-width: 1100px) {
  .people-grid-beautiful {
    grid-template-columns: repeat(2, 1fr);
  }

  .last-centered {
    grid-column: auto;
  }
}

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

  .text-block h2,
  .video-box h2 {
    font-size: 30px;
  }

  .text-block p,
  .home-text p {
    font-size: 20px;
  }

  .main-title {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .small-gold-title {
    font-size: 28px;
  }

  .big-gradient-title {
    font-size: 36px;
  }

  .person-portrait-beautiful {
    height: 300px;
  }

  .accordion-btn-beautiful {
    font-size: 24px;
  }

  .accordion-content-beautiful p {
    font-size: 19px;
  }
}

/* ===== ТЕЛЕФОН ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 90px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: rgba(48, 63, 83, 0.98);
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .menu a {
    font-size: 18px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .page-wrap {
    padding-top: 72px;
  }

  .hero-home {
    min-height: 520px;
    padding: 90px 16px 50px;
  }

  .section {
    padding: 44px 16px 70px;
  }

  .text-block,
  .video-box {
    padding: 24px;
  }

  .main-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .small-gold-title {
    font-size: 24px;
  }

  .big-gradient-title {
    font-size: 30px;
  }

  .people-grid-beautiful {
    grid-template-columns: 1fr;
  }

  .last-centered {
    grid-column: auto;
  }

  .person-portrait-beautiful {
    height: 280px;
  }

  .accordion-btn-beautiful {
    font-size: 22px;
  }

  .accordion-content-beautiful p {
    font-size: 18px;
  }
}

/* =====================================================
   FINISHING LAYER — ПО-ПЛАВНИ И ДОСТЪПНИ АНИМАЦИИ
   ===================================================== */
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 220ms;
  --motion-medium: 520ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* Елементите се скриват само когато JavaScript работи. */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 680ms var(--motion-ease),
    transform 760ms var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js .reveal.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* По-елегантно влизане на заглавието в началната секция. */
.main-title {
  animation: heroTitleIn 1050ms var(--motion-ease) both;
}

.hero-subtitle {
  animation: heroTextIn 900ms var(--motion-ease) 180ms both;
}

.small-gold-title {
  animation: heroTextIn 850ms var(--motion-ease) 260ms both;
}

.big-gradient-title {
  animation: heroTextIn 900ms var(--motion-ease) 360ms both;
}

@keyframes heroTitleIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Карти и изображения — малко движение, без прекомерно мащабиране. */
.person-card-beautiful,
.text-block,
.video-box {
  transition:
    transform 420ms var(--motion-ease),
    box-shadow 420ms var(--motion-ease),
    background-color 420ms ease;
}

.person-card-beautiful:hover {
  transform: translateY(-5px);
}

.image-box img,
.person-portrait-beautiful,
.video-frame {
  backface-visibility: hidden;
}

.image-box img,
.person-portrait-beautiful {
  transition: transform 650ms var(--motion-ease), filter 650ms ease, box-shadow 650ms ease;
}

.image-box:hover img,
.person-card-beautiful:hover .person-portrait-beautiful {
  transform: scale(1.025);
}

.link-btn,
.menu-toggle,
.menu a,
.accordion-btn-beautiful,
.arrow-beautiful {
  -webkit-tap-highlight-color: transparent;
}

.link-btn:focus-visible,
.menu a:focus-visible,
.menu-toggle:focus-visible,
.accordion-btn-beautiful:focus-visible {
  outline: 3px solid #d7a83e;
  outline-offset: 4px;
}

/* Мобилното меню вече анимира плавно и при отваряне, и при затваряне. */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.985);
    transform-origin: top left;
    transition:
      opacity 220ms ease,
      transform 300ms var(--motion-ease),
      visibility 300ms;
  }

  .nav-links.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .menu-toggle:active,
  .link-btn:active {
    transform: scale(0.97);
  }
}

/* Не принуждаваме движение при настройка за намалени анимации. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ===== Поверителност и бисквитки ===== */
.site-footer{background:#303f53;color:#f1e8d8;padding:28px 22px;text-align:center;font-family:Arial,sans-serif;font-size:14px;line-height:1.7}
.site-footer a,.site-footer button{color:#f1d28a;text-decoration:underline;text-underline-offset:3px;margin:0 8px}
.site-footer button{background:none;border:0;font:inherit;cursor:pointer}
.cookie-banner{position:fixed;z-index:10000;left:18px;right:18px;bottom:18px;max-width:820px;margin:auto;background:#fffdf8;color:#2f241d;border:1px solid rgba(48,63,83,.22);border-radius:18px;padding:22px;box-shadow:0 18px 60px rgba(0,0,0,.24);font:15px/1.55 Arial,sans-serif}
.cookie-banner[hidden],.cookie-modal-backdrop[hidden],.cookie-modal[hidden]{display:none!important}
.cookie-banner h2,.cookie-modal h2{font:600 22px/1.25 Arial,sans-serif;margin:0 0 10px;color:#303f53}
.cookie-banner p,.cookie-modal p{margin:0 0 12px}
.cookie-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.cookie-actions button,.consent-inline-button{border:1px solid #303f53;border-radius:999px;padding:10px 16px;background:#303f53;color:#fff;cursor:pointer;font:600 14px Arial,sans-serif}
.cookie-actions .secondary{background:transparent;color:#303f53}
.cookie-modal-backdrop{position:fixed;inset:0;z-index:10001;background:rgba(18,25,34,.62);display:grid;place-items:center;padding:18px}
.cookie-modal{width:min(560px,100%);max-height:min(85vh,760px);overflow:auto;background:#fffdf8;color:#2f241d;border-radius:18px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.3);font:15px/1.55 Arial,sans-serif}
.cookie-option{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-top:1px solid #e5dfd3}
.cookie-option input{width:19px;height:19px;margin-top:2px;accent-color:#303f53}
.cookie-option strong{display:block;color:#303f53}
.cookie-modal .cookie-actions{position:sticky;bottom:-24px;background:#fffdf8;padding:14px 0 0}
.youtube-consent-placeholder{aspect-ratio:16/9;background:linear-gradient(135deg,#303f53,#596b7d);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;box-sizing:border-box;border-radius:12px;font:15px/1.5 Arial,sans-serif}
.youtube-consent-placeholder p{max-width:560px}
.youtube-consent-placeholder .consent-inline-button{background:#f1d28a;color:#303f53;border-color:#f1d28a}
.youtube-consent-note{font-size:13px;opacity:.9}
.video-frame iframe{width:100%;height:100%;min-height:320px;border:0}
@media(max-width:600px){.cookie-banner{left:10px;right:10px;bottom:10px;padding:17px}.cookie-actions{flex-direction:column}.cookie-actions button{width:100%}.cookie-modal{padding:18px}}
@media(prefers-reduced-motion:reduce){.cookie-banner,.cookie-modal{scroll-behavior:auto}}

.policy-header{padding:120px 22px 34px;background:#303f53;color:#f1e8d8;text-align:center;font-family:Arial,sans-serif}.policy-header h1{font-size:clamp(30px,5vw,46px);margin:0 0 10px}.policy-header a{color:#f1d28a}.policy-content{max-width:900px;margin:0 auto;padding:35px 22px 70px;font:16px/1.75 Arial,sans-serif;color:#2f241d}.policy-content h2{margin:30px 0 8px;color:#303f53;font-size:22px}.policy-content li{margin:8px 0}.cookie-table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.cookie-table th,.cookie-table td{border:1px solid #bcb4a3;padding:10px;text-align:left;vertical-align:top}.cookie-table th{background:#303f53;color:white}.policy-note{margin-top:30px;padding:16px;border-left:4px solid #b88b36;background:rgba(255,255,255,.35);font-size:14px}
