/* Naše služby – Výnimočné dezerty (/vynimocne-dezerty/)
   Úvod (.intro) a pásy s ikonami (.features) sú v sluzby-spolocne.css */

/* ---------- Úvod ---------- */
.intro__title { max-width: 466px; }
.intro__text { max-width: 394px; line-height: 23.4px; }
.intro__text p + p { margin-top: 23.4px; }
.intro .btn { min-width: 185px; }

/* ---------- S čím vám radi pomôžeme ---------- */
.help { padding: 77px 0 39px; background: var(--c-white); }
.help__head { max-width: 980px; margin: 0 auto; padding: 0 20px 0 21px; }
.help__title { font-family: var(--f-serif); font-size: 40px; line-height: 56px; }
.help__text { max-width: 805px; margin: 34px 0 36px; font-size: 16px; line-height: 29.8px; }
.help .btn { min-width: 185px; }

.help__panel { margin: 47px 40px 0; padding: 54px 20px 47px; background: rgba(245, 245, 245, .8); }
.occasions {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: center;
  gap: 2px 20px;
  max-width: 940px;
  margin: 0 auto;
  list-style: none;
}
/* ako Wix repeater: od šírky okna 1340 px (4 × 300 + 3 × 20 + 2 × 40) sú všetky štyri karty v jednom riadku */
@media (min-width: 1340px) {
  .help__panel { padding-left: 0; padding-right: 0; }
  .occasions { grid-template-columns: repeat(4, 300px); max-width: 1260px; }
}
.occasion { height: 490px; padding-top: 1px; }
.occasion__img { width: 286px; height: 335px; object-fit: cover; }
.occasion__box {
  position: relative;
  width: 279px;
  height: 200px;
  margin: -46px 0 0 21px;
  padding: 27px 18px 0;
  background: var(--c-white);
}
.occasion__title { font-family: var(--f-serif); font-size: 20px; line-height: 28px; }
.occasion__list { margin-top: 10px; padding-left: 28.8px; font-size: 16px; line-height: 23.4px; list-style: disc; }

/* ---------- Cenník na torty ---------- */
.pricing { padding-bottom: 63px; background: var(--c-white); }
.pricing__hero { height: 540px; background: #000 var(--img) 100% 50% / cover no-repeat; }
.pricing__intro { max-width: 980px; margin: 0 auto; padding: 146px 20px 0 49px; color: var(--c-white); }
.pricing__title { font-family: var(--f-serif); font-size: 40px; line-height: 56px; }
.pricing__text { max-width: 442px; margin-top: 29px; font-size: 16px; line-height: 29.8px; }

.pricing__table {
  position: relative;
  display: grid;
  grid-template-columns: 384fr 386fr 386fr;
  gap: 1px;
  margin: -116px 60px 0;
  padding: 1px;
  background: var(--c-text);
}
.pricing__cell { min-height: 244px; padding: 63px 20px 20px 39px; background: var(--c-white); }
.pricing__list, .pricing__notes { list-style: none; }
.pricing__list { font-size: 16px; font-weight: 700; line-height: 22.4px; }
.pricing__list li + li { margin-top: 24.6px; }
.pricing__notes { max-width: 306px; margin-top: 1px; font-size: 13px; line-height: 18.2px; }
.pricing__notes li + li { margin-top: 20px; }

/* ---------- Prečo zažiť jedinečné momenty s nami ---------- */
.why { padding-top: 27px; background: var(--c-white); }
.why__title, .why__text { width: min(850px, 100% - 40px); margin: 0 auto; text-align: center; }
.why__title { font-family: var(--f-serif); font-size: 40px; line-height: 56px; }
.why__text { margin-top: 30px; margin-bottom: 58px; font-size: 16px; line-height: 29.8px; }
.feature__text--wide { max-width: 260px; }

/* ---------- Recenzie ---------- */
.reviews { padding-top: 59px; background: var(--c-white); }
.reviews__title {
  position: relative;
  z-index: 1;
  font-family: var(--f-serif);
  font-size: 40px;
  line-height: 56px;
  text-align: center;
}
.reviews__slider { height: 403px; margin-top: -36px; background: var(--c-white); }
.reviews__slider .slider__track { height: 100%; }
.review { margin: 0; padding: 95px 20px 0; text-align: center; }
.review__name { font-size: 16px; font-weight: 700; line-height: 20px; }
.review__rule { display: block; width: 36px; margin: 33px auto 0; border-top: 1px solid var(--c-text); }
.review__text { max-width: 688px; margin: 26px auto 0; font-size: 20px; line-height: 1.3; }

/* ---------- Instagram ---------- */
.insta { padding: 82px 0 97px; background: var(--c-white); }
.insta__title { padding: 0 20px; font-family: var(--f-serif); font-size: 40px; line-height: 1.34; text-align: center; }
.insta__wrap { position: relative; width: min(980px, 100% - 40px); margin: 61px auto 0; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; }
.insta__item a { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.insta__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.insta__item a:hover img { transform: scale(1.04); opacity: .9; }
.insta__badge { position: absolute; top: 14px; right: 20px; width: 24px; height: 24px; fill: var(--c-white); }
.insta__arrow { display: none; }

/* ---------- Stredné šírky ---------- */
@media (max-width: 1150px) and (min-width: 861px) {
  .pricing__table { grid-template-columns: 1fr 1fr; margin-left: 40px; margin-right: 40px; }
  .pricing__cell { padding-left: 32px; padding-right: 20px; }
  .pricing__cell:last-child { grid-column: 1 / -1; min-height: 0; padding-top: 30px; padding-bottom: 30px; }
  .pricing__notes { max-width: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .intro__title, .intro__text { max-width: none; }
  .intro .btn { min-width: 168px; }

  .help { padding: 29px 0 50px; }
  .help__head { padding: 0 20px; }
  .help__title { font-size: 25px; line-height: 35px; }
  .help__text { margin: 19px 0 27px; }
  .help .btn { min-width: 200px; height: 42px; font-size: 14.93px; }
  .help__panel { margin: 29px 0 0; padding: 18px 0 53px; }
  .occasions { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 420px; }
  .occasion { height: auto; padding: 15px 40px 6px 20px; }
  .occasion__img { width: 100%; height: auto; aspect-ratio: 260 / 250; }
  .occasion__box { width: auto; height: 175px; margin: 0; padding: 10px 22px 0; }
  .occasion__list { margin-top: 8px; padding-left: 27px; font-size: 15px; line-height: 21px; }

  .pricing { padding-bottom: 20px; }
  .pricing__hero { height: 288px; }
  .pricing__intro { padding: 51px 20px 0; }
  .pricing__title { font-size: 24px; line-height: 33.6px; }
  .pricing__text { max-width: 280px; margin-top: 33px; font-size: 15px; line-height: 28px; }
  .pricing__table { display: block; margin: 0; padding: 0; background: none; }
  .pricing__cell { min-height: 0; padding: 20px 20px 19px; border-bottom: 1px solid var(--c-text); }
  .pricing__cell:last-child { padding-bottom: 9px; }
  .pricing__notes { max-width: none; font-size: 14px; line-height: 19.6px; }
  .pricing__notes li + li { margin-top: 19.6px; }

  .why { padding: 20px 0 35px; }
  .why__title { width: calc(100% - 47px); font-size: 26px; line-height: 36.4px; }
  .why__text { margin-top: 39px; margin-bottom: 44px; font-size: 14px; line-height: 25.2px; }
  .feature__text--wide { max-width: none; }

  .reviews { display: none; }

  .insta { padding: 15px 0 108px; }
  .insta__title { padding: 0 10px; font-size: 23px; }
  .insta__wrap { width: 100%; margin-top: 59px; }
  .insta__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .insta__grid::-webkit-scrollbar { display: none; }
  .insta__item { scroll-snap-align: start; }
  .insta__badge { top: 6px; right: 10px; width: 16px; height: 24px; }
  .insta__arrow {
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0;
    color: var(--c-white);
    background: none;
    border: 0;
    cursor: pointer;
  }
  .insta__arrow[hidden] { display: none; }
  .insta__arrow svg { display: block; width: 18px; height: 31px; margin: 0 auto; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .4)); }
  .insta__arrow--prev { left: 0; }
  .insta__arrow--next { right: 0; }
}

@media (min-width: 560px) and (max-width: 860px) {
  .insta__grid { grid-auto-columns: calc(50% - 2px); }
}
