/* ==========================================================================
   Catering (/catering/) – načítava sa len na tejto stránke
   ========================================================================== */

.cat-lead { max-width: 760px; font-size: 18px; line-height: 25.2px; }
.cat-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--secondary-600);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 22px;
	transition: color .2s;
}
.cat-arrow-link .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.cat-arrow-link:hover { color: var(--secondary-700); }
.cat-arrow-link:hover .icon { transform: translateX(5px); }

/* Hero */
.cat-hero .about-hero__col { justify-content: center; }
.cat-cover picture { display: block; }

/* Výhody – plné ikony na farebnom fliačiku */
.cat-badges { padding: 48px var(--gutter) 0; }
.cat-badges__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; max-width: var(--container); margin: 0 auto; }
.cat-badges__list li { display: flex; align-items: center; gap: 14px; color: var(--primary-800); font-family: var(--font-display); font-size: 20px; line-height: 22px; }
/* Ikona na farebnom fliačiku (výhody, vlastná krabička) */
.cat-blob-icon { --blob: var(--secondary-200); position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; color: var(--secondary-600); }
.cat-blob-icon::before { content: ""; position: absolute; inset: 4px 10px 2px 0; border-radius: 58% 42% 55% 45% / 46% 58% 42% 54%; background: var(--blob); transform: rotate(-14deg); }
li:nth-child(even) > .cat-blob-icon::before { inset: 2px 8px 6px 2px; border-radius: 42% 58% 38% 62% / 60% 42% 58% 40%; transform: rotate(22deg); }
li:nth-child(3) > .cat-blob-icon::before { border-radius: 63% 37% 48% 52% / 40% 55% 45% 60%; transform: rotate(8deg); }
.cat-blob-icon .icon { position: relative; width: 30px; height: 30px; margin-left: 10px; }

/* Pre aké akcie – karusel ako programy na homepage (.programs) */
/* karta nie je odkaz – bez nadvihnutia na hoveri, klikateľné je len tlačidlo */
.cat-occasions .program-card:hover { transform: none; box-shadow: none; }
/* ikona mierne vytŕča z pravého dolného rohu karty (ako krabička na kartách programov) */
.cat-occasion__icon { position: absolute; z-index: 1; right: -20px; bottom: -32px; width: min(40%, 184px); height: auto; pointer-events: none; }
/* Užšie karty (1025–1279 px) majú viac riadkov textu – menšia ikona, aby nezasahovala do textu */
@media (max-width: 1279px) {
	.cat-occasion__icon { width: 35%; }
}

/* Čo pripravujeme – carousel s popiskami okolo fotky */
.cat-offer { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 72px 0; background: var(--surface); }
.cat-offer__foot { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--gutter); text-align: center; }
.cat-show { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); padding: 0 var(--gutter); }
.cat-show__nav:focus-visible { outline: 2px solid var(--secondary-600); outline-offset: 2px; }
.cat-show__stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.cat-show__track { display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-show__track::-webkit-scrollbar { display: none; }
.cat-show__slide { display: flex; flex: 0 0 100%; flex-direction: column; align-items: center; gap: 28px; padding: 0 72px; scroll-snap-align: start; }
.cat-show__title { font-size: 48px; line-height: 52.8px; text-align: center; }
.cat-show__scene { position: relative; display: flex; justify-content: center; width: 100%; max-width: 1060px; }
.cat-show__media { position: relative; width: 440px; height: 440px; }
.cat-show__media::before,
.cat-show__img { -webkit-mask: url("../img/catering/brush-circle.svg") center / 100% 100% no-repeat; mask: url("../img/catering/brush-circle.svg") center / 100% 100% no-repeat; }
.cat-show__media::before { content: ""; position: absolute; inset: -16px; background: var(--tertiary-500); transform: rotate(40deg); }
.cat-show__img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.cat-show__labels { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 440px 1fr; grid-template-rows: 1fr 1fr; column-gap: 36px; pointer-events: none; }
.cat-show__label { display: flex; flex-direction: column; gap: 10px; color: var(--primary-800); font-family: var(--font-display); font-size: 28px; line-height: 30px; }
@media (min-width: 768px) {
	.cat-show__label--1, .cat-show__label--2 { grid-column: 1; align-items: flex-end; text-align: right; }
	.cat-show__label--3, .cat-show__label--4 { grid-column: 3; }
	.cat-show__label--1, .cat-show__label--3 { grid-row: 1; align-self: center; }
	.cat-show__label--2, .cat-show__label--4 { grid-row: 2; align-self: center; }
}
.cat-show__arrow { width: 76px; height: 38px; background: var(--secondary-500); -webkit-mask: url("../img/catering/arrow-hand.svg") center / contain no-repeat; mask: url("../img/catering/arrow-hand.svg") center / contain no-repeat; }
.cat-show__label--1 .cat-show__arrow { transform: scaleY(-1); }
.cat-show__label--3 .cat-show__arrow { transform: scale(-1, -1); }
.cat-show__label--4 .cat-show__arrow { transform: scaleX(-1); }
.cat-show__when { max-width: 720px; font-size: 16px; line-height: 22.4px; text-align: center; }
.cat-show__when strong { color: var(--secondary-600); font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.cat-show__nav { position: absolute; z-index: 1; top: calc(50% - 20px); display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--primary-500); cursor: pointer; transform: translateY(-50%); transition: background-color .2s, color .2s; }
@media (hover: hover) {
	.cat-show__nav:hover { background: var(--primary-500); color: var(--surface); }
}
.cat-show__nav .icon { width: 20px; height: 20px; }
.cat-show__nav--prev { left: 0; }
.cat-show__nav--next { right: 0; }

/* Každý hosť má vlastnú krabičku */
.cat-own { padding: 72px var(--gutter); }
.cat-own__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: var(--container); margin: 0 auto; }
.cat-own__media { position: relative; min-height: 420px; }
.cat-own__img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.cat-own__badge { position: absolute; z-index: 1; top: -8px; left: -15px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--secondary-500); color: #fff; font-family: var(--font-display); font-size: 24px; line-height: 26.4px; white-space: nowrap; transform: rotate(-8deg); }
.cat-own__box { display: flex; flex-direction: column; gap: 24px; padding: 48px; border-radius: var(--radius); background: var(--tertiary-500); font-size: 16px; line-height: 22.4px; }
.cat-own__title { font-size: 48px; line-height: 52.8px; }
.cat-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
/* Písmo a ikony ako v hero programu (.hero__tags) */
.cat-perks li { display: flex; align-items: center; gap: 8px; min-height: 36px; color: var(--primary-800); font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 22.4px; white-space: nowrap; }
.cat-perks .icon { flex: none; width: 30px; height: 29px; color: var(--secondary-500); }

/* Pri každom boxe viete, čo jete */
.cat-know { padding: 0 var(--gutter) 72px; }
.cat-know__inner { display: flex; align-items: center; gap: 48px; max-width: var(--container); margin: 0 auto; }
.cat-know__text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 24px; }
.cat-know__title { font-size: 56px; line-height: 61.6px; }
.cat-know__img { flex: none; width: 560px; height: 420px; border-radius: var(--radius); object-fit: cover; }

/* Ako si objednať – karty ako v postupe na homepage */
.cat-steps__list { grid-template-columns: repeat(4, 1fr); }

/* Cena */
.cat-price { display: flex; flex-direction: column; align-items: center; gap: 48px; padding: 72px var(--gutter); }
.cat-price__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; width: 100%; max-width: var(--container); }
.cat-price__text { display: flex; flex-direction: column; font-size: 16px; line-height: 22.4px; }
/* zoznam sa natiahne na výšku zeleného boxu – oba stĺpce rovnako vysoké */
.cat-price__factors { display: grid; flex: 1; grid-auto-rows: 1fr; gap: 12px; counter-reset: factor; }
.cat-price__factors li { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 20px 24px 20px 72px; border: 1px solid var(--gray-600); border-radius: var(--radius); counter-increment: factor; }
.cat-price__factors li::before { content: counter(factor); position: absolute; top: 50%; left: 24px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--surface); color: var(--primary-500); font-family: var(--font-display); font-size: 20px; line-height: 1; }
.cat-price__factors h3 { margin-bottom: 4px; font-size: 24px; line-height: 26.4px; }
.cat-price__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	padding: 48px;
	border-radius: var(--radius);
	background: var(--primary-500) url("../img/brush-bg-primary-400.svg") no-repeat 0 100%;
	color: var(--surface);
	font-size: 16px;
	line-height: 22.4px;
}
.cat-price__label { padding: 6px 10px; border-radius: var(--radius-sm); background: var(--tertiary-500); color: var(--primary-500); font-family: var(--font-display); font-size: 18px; line-height: 20px; }
.cat-price__amount { color: var(--surface); font-family: var(--font-display); font-size: 72px; line-height: 1; white-space: nowrap; }
.cat-price__amount span { color: var(--primary-200); font-size: 28px; }

/* Kde rozvážame */
.cat-area { padding: 0 var(--gutter) 72px; }
.cat-area__box { position: relative; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 24px 32px; max-width: var(--container); margin: 0 auto; padding: 48px; border-radius: var(--radius); background: var(--surface); }
.cat-area__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 16px; line-height: 22.4px; }
/* Legenda mapy – rovnaké farby a prerušované čiary ako okruhy na mape */
.cat-legend { align-self: stretch; margin-top: 8px; }
.cat-legend__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 2px dashed var(--primary-200); }
.cat-legend__item:last-child { border-bottom: 2px dashed var(--primary-200); }
.cat-legend__swatch { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px dashed var(--primary-300); border-radius: 50%; }
.cat-legend__swatch--5 { background: rgba(248, 192, 200, .6); }
.cat-legend__swatch--15 { background: rgba(247, 220, 190, .55); }
.cat-legend__swatch--home { border: 0; }
.cat-legend__swatch--home svg { width: 22px; height: 30px; }
.cat-legend__swatch--home path { fill: var(--secondary-600); }
.cat-legend__swatch--home circle { fill: var(--surface); }
.cat-legend__label { color: var(--primary-800); }
.cat-legend__price { margin-left: auto; color: var(--primary-500); font-family: var(--font-display); font-size: 24px; line-height: 1; white-space: nowrap; }
.cat-area__title { font-size: 48px; line-height: 52.8px; }

/* Kreslená mapa */
/* mapa nakreslená priamo na pozadí sekcie, okraje sa strácajú */
.cat-map { min-width: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.cat-map__svg { display: block; width: 100%; height: auto; }
.cat-map__zone--15 { fill: var(--secondary-200); opacity: .55; }
.cat-map__zone--5 { fill: var(--tertiary-500); opacity: .6; }
.cat-map__ring { fill: none; stroke: var(--primary-300); stroke-width: 2; stroke-dasharray: 8 7; stroke-linecap: round; }
.cat-map__river { fill: none; stroke: #8FC6D6; stroke-width: 7; stroke-linecap: round; }
.cat-map__river--small { stroke-width: 4; }
.cat-map__river-label { fill: #4E9BB2; font: italic 500 19px var(--font-body); }
.cat-map__peak { fill: var(--primary-200); stroke: var(--primary-400); stroke-width: 2.5; stroke-linejoin: round; }
.cat-map__snow { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cat-map__tree { fill: var(--primary-300); stroke: var(--primary-400); stroke-width: 2; }
.cat-map__trunk { stroke: var(--primary-400); stroke-width: 2.5; stroke-linecap: round; }
.cat-map__area { fill: var(--primary-400); font: 400 22px var(--font-display); letter-spacing: .02em; }
.cat-map__km { fill: var(--primary-400); font: 500 15px var(--font-body); }
.cat-map__town circle { fill: var(--primary-500); }
.cat-map__town text { fill: var(--primary-800); font: 400 19px var(--font-body); }
.cat-map__home path { fill: var(--secondary-600); }
.cat-map__home circle { fill: var(--surface); }
.cat-map__brezno { fill: var(--primary-800); font: 400 40px var(--font-display); }
.cat-map__compass path { fill: var(--primary-500); }
.cat-map__compass text, .cat-map__scale text { fill: var(--primary-500); font: 400 18px var(--font-display); }
.cat-map__scale path { fill: none; stroke: var(--primary-500); stroke-width: 2.5; stroke-linecap: round; }

/* Príbeh */
.story--catering .story__box { gap: 24px; }
.story--catering .story__title { font-size: 48px; line-height: 52.8px; }
.story--catering .story__text { font-size: 16px; line-height: 24px; }
@media (min-width: 768px) {
	/* Fotka rovnako vysoká ako pravý stĺpec (box + odkaz); vlastná výška fotky výšku riadku neurčuje. */
	.story--catering .story__img { align-self: stretch; height: auto; contain: size; }
}

/* Formulár */
/* Formulár dopytu (Catering aj Fit dezerty a snacky) – zjednotený s objednávkou a kalorickou kalkulačkou:
   krémová karta na bielom pozadí, sekcie s odznakom čísla (ako kalkulačka), krémové polia 44 px so sivým
   okrajom a 8 px rohmi, výber = tmavozelená výplň, oranžové tlačidlo so šípkou (ako „Objednať“).
   Kroky a chyby pod poľami rieši assets/js/cat-form.js; bez JS sú sekcie pod sebou. */
.cat-form { padding: 72px var(--gutter); background: #fff; scroll-margin-top: 0; }
.cat-form__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; max-width: var(--container); margin: 0 auto; }
.cat-form__intro { display: flex; flex-direction: column; gap: 24px; }
.cat-form__title { font-size: 56px; line-height: 61.6px; }
.cat-form__lead { font-size: 18px; line-height: 25.2px; }
.cat-form__card { padding: 40px; border: 1px solid #F5F5F5; border-radius: var(--radius); background: var(--surface); }
.cat-form__form { display: flex; flex-direction: column; gap: 40px; }
.cat-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sekcie / kroky */
.cat-form__step { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.cat-form__step[hidden], .cat-form__step [hidden] { display: none; }
.is-stepped .cat-form__step { animation: cat-form-step-in .3s var(--ease); }
@keyframes cat-form-step-in { from { opacity: 0; transform: translateY(8px); } }
.cat-form__step-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.cat-form__step-badge { flex: none; width: 41px; height: 41px; }
.cat-form__step-title { flex: 1; margin: 0; color: var(--primary-800); font: 400 32px/35.2px var(--font-display); }

/* polia */
.cat-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
fieldset.cat-field { margin: 0; padding: 0; border: 0; }
.cat-field--full { grid-column: 1 / -1; }
.cat-field > label, .cat-field > legend { padding: 0; color: var(--primary-800); font-size: 14px; font-weight: 400; line-height: 19.6px; }
.cat-field > legend { margin-bottom: 8px; }
.cat-field__optional { color: var(--primary-300); }
.cat-field input:not([type="checkbox"]):not([type="radio"]), .cat-field select, .cat-field textarea { width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid var(--gray-600); border-radius: var(--radius-sm); background: var(--surface); color: var(--dark-500); font: 400 14px/19.6px var(--font-body); transition: border-color .2s, box-shadow .2s; }
.cat-field textarea { min-height: 72px; max-height: 240px; resize: vertical; field-sizing: content; }
.cat-field select { padding-right: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2300463A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; -webkit-appearance: none; appearance: none; }
.cat-field ::placeholder { color: var(--primary-300); }
@media (hover: hover) { .cat-field input:not([type="checkbox"]):not([type="radio"]):hover, .cat-field select:hover, .cat-field textarea:hover { border-color: var(--primary-500); } }
.cat-field input:focus, .cat-field select:focus, .cat-field textarea:focus { outline: none; border-color: var(--primary-500); box-shadow: 0 0 0 3px rgba(0, 70, 58, .15); }
.cat-field__hint { color: var(--primary-300); font-size: 12px; line-height: 16px; }
.cat-field__error { margin: 0; color: #D14343; font-size: 12px; line-height: 16px; }
.cat-field.is-invalid input:not([type="checkbox"]):not([type="radio"]), .cat-field.is-invalid select, .cat-field.is-invalid textarea,
.cat-field input:not([type="checkbox"]):not([type="radio"]):user-invalid, .cat-field select:user-invalid, .cat-field textarea:user-invalid { border-color: #D14343; }

/* štítky – jedna možnosť (radio) alebo viac (checkbox s „+“); vybraný = tmavozelená výplň ako segmenty kalkulačky */
.cat-choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-choice { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 16px; border: 1px solid var(--gray-600); border-radius: var(--radius-sm); background: var(--surface); color: var(--dark-500); font: 400 14px/19.6px var(--font-body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.cat-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* hover ako možnosti v objednávke (bg-hover-primary): tmavozelená výplň, krémový text */
@media (hover: hover) { .cat-choice:hover { border-color: var(--primary-500); background: var(--primary-500); color: var(--surface); } .cat-choices--multi .cat-choice:hover::before { background: currentColor; } }
.cat-choice:has(input:checked) { border-color: var(--primary-500); background: var(--primary-500); color: var(--surface); }
.cat-choice:has(input:focus-visible) { outline: 3px solid var(--secondary-500); outline-offset: 2px; }
.cat-field.is-invalid .cat-choice { border-color: #D14343; }
/* checkbox ostáva v DOM kvôli klávesnici a čítačkám; „+“ sa po označení zmení na fajku */
.cat-choices--multi .cat-choice { padding-left: 12px; }
.cat-choices--multi .cat-choice::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--primary-500); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2.5v13M2.5 9h13' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 2.5v13M2.5 9h13' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.cat-choices--multi .cat-choice:has(input:checked)::before { background: currentColor; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6l3.8 3.8L15 5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9.6l3.8 3.8L15 5' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* súhlas – štvorček 26 px ako v objednávke */
.cat-check { display: inline-flex; align-items: center; gap: 8px; color: var(--dark-500); font-size: 14px; line-height: 19.6px; cursor: pointer; transition: color .2s; }
.cat-check a { color: var(--primary-500); text-decoration: underline; text-underline-offset: 2px; }
.cat-check input { flex: none; width: 26px; height: 26px; margin: 0; border: 1px solid var(--gray-600); border-radius: var(--radius-sm); background: var(--surface) no-repeat center / 16px 13px; -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .2s; }
.cat-check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13' fill='none'%3E%3Cpath d='M1.6 6.5l4.27 4.57 8.52-9.14' stroke='%232F3735' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (hover: hover) { .cat-check:hover { color: var(--primary-800); } .cat-check:hover input { border-color: var(--primary-500); } }
.cat-check input:focus-visible { outline: 3px solid var(--secondary-500); outline-offset: 2px; }
.cat-field.is-invalid .cat-check input, .cat-check input:user-invalid { border-color: #D14343; }

/* tlačidlá */
/* „Späť“ vľavo, hlavné tlačidlo vpravo – v oboch krokoch je na rovnakom mieste */
.cat-form__actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.cat-form__btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: 293px; max-width: 100%; padding: 24px; border: 0; border-radius: var(--radius); background: var(--secondary-500); color: #fff; font: 400 24px/26.4px var(--font-display); text-align: left; cursor: pointer; transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out; }
/* hover ako „Objednať“ v objednávke (btn-hover-secondary): tmavšia oranžová a jemný tieň */
@media (hover: hover) { .cat-form__btn:hover { background: #E06000; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); } }
.cat-form__btn:focus-visible { outline: 3px solid var(--secondary-500); outline-offset: 2px; }
.cat-form__btn .icon { flex: none; width: 26px; height: 26px; }
.cat-form__btn[disabled] { opacity: .7; cursor: progress; }
.cat-form__actions .cat-form__btn { margin-left: auto; }
.cat-form__back { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; margin-left: -8px; padding: 0 8px; border: 0; background: none; color: var(--primary-500); font: 500 16px/22px var(--font-body); cursor: pointer; }
.cat-form__back .icon { width: 14px; height: 14px; }
.cat-form__back:hover { color: var(--secondary-700); }
@media (prefers-reduced-motion: reduce) { .is-stepped .cat-form__step { animation: none; } }

/* Chyba po odoslaní: celý tenký rámček, nie farebný pruh na okraji (anti-slop COMP-04) */
.cat-form__notice { margin-bottom: 24px; padding: 16px 20px; border: 1px solid var(--secondary-600); border-radius: var(--radius-sm); background: var(--tertiary-200); color: var(--primary-800); font-size: 15px; line-height: 21px; }
.cat-form__notice:focus { outline: none; }

/* Potvrdenie po odoslaní: priamo v karte (bez vnútorného boxu), v strede, ručne kreslená fajka ako šípky na webe */
.cat-form__done { display: flex; flex-direction: column; align-items: center; padding: 32px 0; text-align: center; }
.cat-form__done:focus { outline: none; }
.cat-form__check { width: 76px; height: 68px; margin-bottom: 20px; color: var(--secondary-500); }
.cat-form__check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cat-check-draw .7s cubic-bezier(.16, 1, .3, 1) .15s forwards; }
@keyframes cat-check-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .cat-form__check path { stroke-dashoffset: 0; animation: none; } }
.cat-form__done-title { margin-bottom: 16px; color: var(--primary-800); font-family: var(--font-display); font-size: 40px; line-height: 44px; }
.cat-form__done-lead { max-width: 440px; color: var(--primary-800); font-size: 18px; font-weight: 500; line-height: 25.2px; }

/* Pod 1200 px sa dve položky vedľa seba nezmestia na jeden riadok */
@media (max-width: 1199px) {
	.cat-perks { grid-template-columns: 1fr; }
}

/* Tablet ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.cat-badges__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-show__slide { padding: 0 60px; }
	.cat-show__media { width: 320px; height: 320px; }
	.cat-show__labels { grid-template-columns: 1fr 320px 1fr; column-gap: 20px; }
	.cat-show__label { font-size: 22px; line-height: 24px; }
	.cat-show__arrow { width: 56px; height: 28px; }
	.cat-know__inner { gap: 32px; }
	.cat-know__img { width: 45%; height: 380px; }
	.cat-steps__list { grid-template-columns: repeat(2, 1fr); }
	.cat-price__inner, .cat-form__inner { grid-template-columns: 1fr; }
	.cat-area__box { grid-template-columns: 1fr; }
	.cat-occasion__icon { right: -12px; bottom: -24px; width: 136px; } /* medzi stĺpcami je len 24 px */
}

/* Mobil ------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cat-lead { font-size: 16px; line-height: 22.4px; }
	.cat-occasions .programs__item { min-height: 0; }
	.cat-occasions .programs__item { padding-bottom: 16px; } /* miesto pre ikonu, ktorá vytŕča pod kartu */
	/* rovnako vysoké karty (Catering aj Fit snacks); najvyššia má pri šírke 360 – 430 px 319 px,
	   zvyšok miesta dole zaberie ikona, takže nezasahuje do tlačidla */
	.cat-occasions .program-card { min-height: 340px; }
	.cat-occasions .program-card__btn { margin-top: auto; } /* tlačidlo na spodku karty */
	.cat-occasion__icon { right: -12px; bottom: -20px; width: 112px; }
	.cat-arrow-link { font-size: 16px; line-height: 17.6px; }

	.cat-badges { padding-top: 32px; }
	.cat-badges__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.cat-badges__list li { gap: 10px; font-size: 16px; line-height: 18px; }
	.cat-badges__list li:last-child { grid-column: 1 / -1; }
	.cat-blob-icon { width: 46px; height: 46px; }
	.cat-blob-icon .icon { width: 24px; height: 24px; margin-left: 8px; }
	.cat-perks { grid-template-columns: 1fr; gap: 12px; }
	.cat-perks li { min-height: 25px; font-size: 14px; }
	.cat-perks .icon { width: 20px; height: 20px; }


	.cat-offer { gap: 32px; padding: 56px 0; }
	.cat-show { gap: 24px; padding: 0; }
	/* šípky na úrovni stredu fotky: titulok 35.2 px + medzera 20 px + pás s popiskami 64 px + polovica fotky 130 px */
	.cat-show__nav { top: 249px; width: 44px; height: 44px; }
	.cat-show__nav--prev { left: 4px; }
	.cat-show__nav--next { right: 4px; }
	.cat-show .progress-dots { align-self: stretch; margin: 0 var(--gutter); }
	.cat-show__slide { gap: 20px; padding: 0 var(--gutter); }
	.cat-show__title { font-size: 32px; line-height: 35.2px; }
	/* popisky ako na PC (text + ručná šípka do fotky), len dva nad fotkou a dva pod ňou */
	.cat-show__scene { flex-direction: column; align-items: center; padding: 64px 0; }
	.cat-show__media { width: 260px; height: 260px; }
	.cat-show__labels { grid-template-columns: 1fr 1fr; grid-template-rows: 64px 1fr 64px; column-gap: 16px; }
	.cat-show__label { gap: 2px; font-size: 20px; line-height: 21px; }
	.cat-show__label--1, .cat-show__label--3 { grid-row: 1; flex-direction: column-reverse; align-self: end; margin-bottom: -18px; }
	.cat-show__label--2, .cat-show__label--4 { grid-row: 3; align-self: start; margin-top: -18px; }
	.cat-show__label--1, .cat-show__label--2 { grid-column: 1; align-items: flex-start; }
	.cat-show__label--3, .cat-show__label--4 { grid-column: 2; align-items: flex-end; text-align: right; }
	.cat-show__arrow { width: 52px; height: 26px; }
	.cat-show__label--1 .cat-show__arrow, .cat-show__label--2 .cat-show__arrow { margin-left: 44px; }
	.cat-show__label--3 .cat-show__arrow, .cat-show__label--4 .cat-show__arrow { margin-right: 44px; }
	.cat-show__label--1 .cat-show__arrow { transform: scaleY(-1) rotate(-22deg); }
	.cat-show__label--2 .cat-show__arrow { transform: rotate(-22deg); }
	.cat-show__label--3 .cat-show__arrow { transform: scale(-1, -1) rotate(-22deg); }
	.cat-show__label--4 .cat-show__arrow { transform: scaleX(-1) rotate(-22deg); }
	.cat-show__when { font-size: 14px; line-height: 19.6px; }

	.cat-own { padding: 56px var(--gutter); }
	.cat-own__inner { grid-template-columns: 1fr; gap: 16px; }
	.cat-own__media { min-height: 260px; }
	.cat-own__badge { left: -10px; font-size: 20px; line-height: 22px; }
	.cat-own__box { padding: 32px 24px; font-size: 14px; line-height: 19.6px; }
	.cat-own__title { font-size: 32px; line-height: 35.2px; }

	.cat-know { padding-bottom: 56px; }
	.cat-know__inner { flex-direction: column; align-items: stretch; gap: 24px; }
	.cat-know__title { font-size: 32px; line-height: 35.2px; }
	.cat-know__img { width: 100%; height: 260px; }

	.cat-steps__list { grid-template-columns: none; }

	.cat-price { gap: 32px; padding: 56px var(--gutter); }
	.cat-price__text { font-size: 14px; line-height: 19.6px; }
	.cat-price__factors li { padding: 16px 16px 16px 60px; }
	.cat-price__factors li::before { left: 16px; }
	.cat-price__factors h3 { font-size: 20px; line-height: 22px; }
	.cat-price__box { padding: 32px 24px; }
	.cat-price__amount { font-size: 52px; }
	.cat-price__amount span { font-size: 22px; }
	.cat-price__box .btn--lg { padding: 12px 24px; font-size: 16px; }

	.cat-area { padding-bottom: 56px; }
	.cat-area__box { padding: 32px 24px; }
	.cat-area__title { font-size: 32px; line-height: 35.2px; }
	/* mapa ostáva čitateľná – na mobile sa posúva do strán */
	.cat-map { overflow-x: auto; scrollbar-width: none; }
	.cat-map::-webkit-scrollbar { display: none; }
	.cat-map__svg { width: 760px; max-width: none; }

	.story--catering .story__title { font-size: 32px; line-height: 35.2px; }

	.cat-form { padding: 56px var(--gutter); }
	.cat-form__inner { gap: 32px; }
	.cat-form__title { font-size: 32px; line-height: 35.2px; }
	.cat-form__lead { font-size: 16px; line-height: 22.4px; }
	.cat-form__card { padding: 40px 20px; }
	.cat-form__done { padding: 16px 0; }
	.cat-form__check { width: 64px; height: 57px; margin-bottom: 16px; }
	.cat-form__done-title { font-size: 30px; line-height: 33px; }
	.cat-form__done-lead { font-size: 16px; line-height: 22.4px; }
	.cat-form__step { grid-template-columns: 1fr; gap: 16px; }
	.cat-form__step-head { gap: 12px; margin-bottom: 8px; }
	.cat-form__step-title { font-size: 28px; line-height: 30.8px; }
	/* 16 px, aby iPhone pri ťuknutí do poľa nezväčšoval stránku */
	.cat-field input:not([type="checkbox"]):not([type="radio"]), .cat-field select, .cat-field textarea { font-size: 16px; line-height: 22px; }
	.cat-choice { padding: 10px 14px; }
	.cat-choices--multi .cat-choice { padding-left: 10px; }
	/* na mobile ostáva tlačidlo hore cez celú šírku a „Späť“ pod ním */
	.cat-form__actions { flex-direction: column-reverse; align-items: center; gap: 4px; }
	.cat-form__back { margin-left: 0; }
	.cat-form__btn { width: 100%; }
}
