/* ============================================================
   09.11.2026 (2): интервали, без декоративни линии, повече ефекти.
   Само добавка след proto2.css. За връщане назад: махни реда
   <link ... proto3.css> от index.html.
   ============================================================ */

:root{
  --sec-y:clamp(48px,6vw,80px);       /* горна и долна почивка на секция */
  --head-gap:clamp(24px,3vw,40px);    /* заглавие -> съдържание */
  --grid-gap:clamp(16px,2vw,24px);    /* между карти */
  --card-sh-up:0 34px 52px -30px rgba(50,10,15,.62);
}

/* ---------- 1. без декоративни линии ---------- */
.eyebrow::before,
.section-head .eyebrow::before,
.au-body .eyebrow::before,
.reminder .eyebrow::before{display:none !important;}
.eyebrow{gap:0 !important;}
.offers,.finder,.sample{border-block:0 !important;}
.fineprint{border-top:0 !important;}
/* вътрешният кант на картите (двойната линия) */
.sx-card::after,.reasons .reason::after,.hx-who::after,.hx-band-card::after,
.offers .set-card::after,.recipients .recipient::after,.books-strip .book::after,
.next-book::after,.firms-form::after,.finder-card::after,.sample-form::after,
.blog-card::after{display:none !important;}

/* ---------- 2. интервали: един ритъм за всички секции ---------- */
section.stories,section.reasons,section.series,section.recipients,section.finder,
section.firms,section.reminder,section.sample,section.blog,section.reviews,
section.offers,section.proof.au,section#vaprosi{
  padding-block:var(--sec-y) !important;
}
section.news-band,section.final{padding-block:calc(var(--sec-y) * .7) !important;}
section[id]{scroll-margin-top:76px;}

.section-head{margin-bottom:var(--head-gap);}
.section-head .eyebrow{margin-bottom:12px;}
.section-head h2 + p{margin-top:14px;}
.sx-head .section-head{margin-bottom:var(--head-gap);}
.firms h2,.reminder h2,.sample h2,.reviews h2,.finder h2,.news-band h2,.au-body h2{margin-bottom:14px;}

.set-grid,.reason-grid,.recipient-grid,.blog-grid,.books-strip{gap:var(--grid-gap) !important;}
.faq-list{gap:12px;}
.offers .addons,.offers .gift-strip,.offers .pay-info{margin-top:clamp(24px,3vw,36px);}

/* ---------- 3. ефекти ---------- */
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth;}

  /* поява на карти една след друга */
  .set-grid>*:nth-child(1),.reason-grid>*:nth-child(1),.recipient-grid>*:nth-child(1),.blog-grid>*:nth-child(1),.books-strip>*:nth-child(1){--i:0;}
  .set-grid>*:nth-child(2),.reason-grid>*:nth-child(2),.recipient-grid>*:nth-child(2),.blog-grid>*:nth-child(2),.books-strip>*:nth-child(2){--i:1;}
  .set-grid>*:nth-child(3),.reason-grid>*:nth-child(3),.recipient-grid>*:nth-child(3),.blog-grid>*:nth-child(3),.books-strip>*:nth-child(3){--i:2;}
  .set-grid>*:nth-child(4),.reason-grid>*:nth-child(4),.recipient-grid>*:nth-child(4),.blog-grid>*:nth-child(4),.books-strip>*:nth-child(4){--i:3;}
  .reason-grid>*:nth-child(5),.recipient-grid>*:nth-child(5),.blog-grid>*:nth-child(5){--i:4;}
  .reason-grid>*:nth-child(6),.recipient-grid>*:nth-child(6),.blog-grid>*:nth-child(6){--i:5;}

  /* заглавието се „отваря“: надписът над него се разтяга */
  .section-head.reveal .eyebrow{letter-spacing:.34em; transition:letter-spacing 1.1s var(--ease);}
  .section-head.reveal.in .eyebrow{letter-spacing:.14em;}
  .section-head.reveal h2{clip-path:inset(0 0 100% 0); transition:clip-path .9s var(--ease) .1s;}
  .section-head.reveal.in h2{clip-path:inset(-4px -4px -12px -4px);}

  /* карти: еднакво повдигане */
  .sx-card,.reasons .reason,.recipients .recipient,.blog-card,
  .offers .set-card,.books-strip .book,.finder-card,.next-book{
    transition-property:opacity,transform,box-shadow,border-color;
    transition-duration:.7s,.45s,.45s,.45s;
    transition-timing-function:var(--ease);
  }
  .sx-card:hover,.reasons .reason:hover,.recipients .recipient:hover,.blog-card:hover,
  .offers .set-card:hover,.books-strip .book:hover,.finder-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--card-sh-up);
    transition-delay:0s;
  }

  /* картинки в картите: леко приближаване */
  .blog-card img,.sx-card img,.recipients .recipient img{transition:transform .9s var(--ease);}
  .blog-card:hover img,.recipients .recipient:hover img{transform:scale(1.05);}
  .books-strip .book:hover .book-cover,.sx-card:hover .sx-cover{transform:rotate(0deg) scale(1.04);}

  /* бутони: повдигане, натискане и блясък */
  .btn{transition:transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s; position:relative; overflow:hidden; isolation:isolate;}
  .btn:hover{transform:translateY(-2px);}
  .btn:active{transform:translateY(0) scale(.97);}
  .btn:not(.btn-outline)::before{
    content:""; position:absolute; inset:0 auto 0 -60%; width:45%;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);
    transform:skewX(-20deg); pointer-events:none; z-index:-1;
  }
  .btn:not(.btn-outline):hover::before{animation:p3sheen .9s var(--ease);}

  /* избраният комплект тихо „диша“ */
  .offers .set-card.featured{animation:p3glow 3.6s ease-in-out infinite;}

  /* плъзгане в каруселата на историите */
  .sx-track{scroll-behavior:smooth;}
}

@keyframes p3sheen{from{left:-60%;}to{left:130%;}}
@keyframes p3glow{
  0%,100%{box-shadow:0 24px 40px -30px rgba(50,10,15,.55),0 0 0 0 rgba(223,174,87,0);}
  50%{box-shadow:0 28px 46px -28px rgba(50,10,15,.6),0 0 0 6px rgba(223,174,87,.22);}
}

/* ---------- 4. достъпност ---------- */
:focus-visible{outline:2px solid var(--gold-bright); outline-offset:3px; border-radius:6px;}
.btn:focus-visible,.chip:focus-visible{border-radius:999px;}
