:root {
  --bg: #fbf6f2;
  --bg-tint: #f4e9e4;
  --ink: #2a1621;
  --ink-soft: #6b5560;
  --berry: #9b1b4b;
  --berry-deep: #6e1035;
  --rose: #e8b4c4;
  --gold: #c39a5b;
  --card: #ffffff;
  --line: rgba(42, 22, 33, .1);
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
section[id] { scroll-margin-top: var(--nav-h, 80px); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--berry); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 5vw, 64px);
  background: rgba(251, 246, 242, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .08em; }
.brand span { color: var(--berry); font-style: italic; letter-spacing: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--berry); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--berry); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px;
  background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a.active::after { transform: scaleX(1); }
.nav-n { display: none; }
.nav-quick { display: none; }
.nav-only-m { display: none; }

/* Бутон хамбургер */
.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav.open .nav-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 30px -10px rgba(155, 27, 75, .6);
}
.btn:hover { background: var(--berry-deep); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--berry-deep); }
.btn-light:hover { background: var(--rose); }

/* ---------- HERO ---------- */
.hero {
  overflow-x: clip;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: clamp(48px, 8vw, 110px) clamp(16px, 5vw, 64px) clamp(56px, 8vw, 100px);
  max-width: 1280px; margin: 0 auto;
}
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; line-height: 1.08; }
.display { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 26px; }
/* H1 за търсачките изглежда като малкия надпис над слогана */
h1.eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 700; line-height: 1.5; }
h2 { font-size: clamp(36px, 4.6vw, 60px); }
h3 { font-size: 26px; margin-bottom: 10px; }
.lead strong { color: var(--ink); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.ring { position: absolute; border-radius: 50%; }
.ring-1 {
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--rose), var(--berry) 70%, var(--berry-deep));
  animation: breathe 8s ease-in-out infinite;
}
.ring-2 { inset: -18px; border: 1.5px dashed var(--gold); animation: spin 60s linear infinite; }
.big-number {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: #fff;
}
.num { font-family: var(--serif); font-size: clamp(120px, 17vw, 220px); font-weight: 600; line-height: 1; }
.num-label { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; }
.chip {
  position: absolute;
  background: var(--card);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px -12px rgba(42, 22, 33, .35);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-a { top: 20%; left: -8%; }
.chip-b { bottom: 8%; left: 0; animation-delay: -2s; }
.chip-c { top: 4%; right: -6%; animation-delay: -4s; }

@keyframes breathe { 50% { transform: scale(1.03); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; padding: 18px 0; }
.marquee-track {
  display: flex; gap: 32px; width: max-content;
  font-family: var(--serif); font-size: 28px; font-style: italic;
  animation: marquee 30s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section-tint { max-width: none; background: var(--bg-tint); }
.section-tint > * { max-width: 1152px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: 56px; }

/* ---------- CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(110, 16, 53, .35); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-tint); color: var(--berry);
  font-size: 22px; margin-bottom: 22px;
}
.card p { color: var(--ink-soft); }

/* ---------- STEPS ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--berry); }
.step-n { font-family: var(--serif); font-size: 64px; color: var(--rose); line-height: 1; display: block; margin-bottom: 10px; }
.step p { color: var(--ink-soft); }

/* ---------- TIMELINE ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 22px; left: 0; right: 0;
  height: 1.5px; background: linear-gradient(90deg, var(--rose), var(--berry), var(--gold));
}
.tl-item { position: relative; padding-top: 64px; }
.tl-item::before {
  content: ""; position: absolute; top: 14px; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--berry);
}
.tl-year { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--berry); display: block; line-height: 1; margin-bottom: 10px; }
.tl-item p { color: var(--ink-soft); font-size: 16px; }

/* ---------- JOIN ---------- */
.join { max-width: none; padding-left: clamp(16px, 5vw, 64px); padding-right: clamp(16px, 5vw, 64px); }
.join-inner {
  max-width: 1152px; margin: 0 auto;
  background: linear-gradient(135deg, var(--berry-deep), var(--berry) 60%, #c2416f);
  color: #fff;
  border-radius: 36px;
  padding: clamp(40px, 7vw, 90px);
  position: relative; overflow: hidden;
}
.join-inner::after {
  content: "20"; position: absolute; right: -20px; bottom: -80px;
  font-family: var(--serif); font-size: 360px; font-weight: 600; line-height: 1;
  color: rgba(255, 255, 255, .08); pointer-events: none;
}
.join-inner h2 { margin-bottom: 20px; }
.join-inner p:not(.eyebrow) { max-width: 600px; margin-bottom: 32px; opacity: .9; font-size: 18px; }
.join .eyebrow { color: var(--rose); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .25s, color .25s, transform .25s;
}
.contact-card:hover { background: var(--berry); color: #fff; transform: translateY(-4px); }
.contact-card:hover .contact-label { color: var(--rose); }
.contact-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-value { font-family: var(--serif); font-size: 24px; font-weight: 600; overflow-wrap: anywhere; }
.contact-note { margin-top: 28px; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px clamp(16px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--ink-soft);
}
.disclaimer { max-width: 620px; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { max-width: 380px; margin-top: 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .timeline::before { display: none; }
}

@media (max-width: 760px) {
  .cards, .steps, .contact-grid, .timeline { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; }
  .chip { font-size: 12px; padding: 8px 14px; }
  .chip-a { left: -4%; }
  .chip-b { left: 0; }
  .chip-c { right: -2%; }
  .join-inner::after { font-size: 220px; bottom: -40px; }
}

/* ---------- МОБИЛНО МЕНЮ ---------- */
@media (max-width: 900px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: block; }
  .nav-only-m { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--nav-h, 72px)); height: calc(100dvh - var(--nav-h, 72px));
    overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 16px clamp(16px, 5vw, 64px) 28px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
  }
  .nav.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn) {
    display: flex; align-items: baseline; gap: 16px; min-height: 64px; padding: 14px 0;
    font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1;
  }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { color: var(--berry); }
  .nav-n { display: inline; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
  .nav-cta { display: none; }
  .nav-quick { display: grid; gap: 12px; }
  .nav-quick .btn { text-align: center; padding: 16px; font-size: 16px; }
  .nav-quick-label { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); }
  body.menu-open { overflow: hidden; }
}

.footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--berry); }

/* ---------- СТРАНИЦА ЗА ПОВЕРИТЕЛНОСТ ---------- */
.legal-page { max-width: 820px; }
.legal-page h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 8px; }
.legal-page h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--ink); }
.legal-page a:not(.btn) { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { font-size: 14px; }
.legal-back { margin-top: 40px; }
