/* ==========================================================================
   Strane: naslovna, About, Double-face, FAQ, dostava, kontakt, pravne (strane/*.php)
   (Figma: 01 Homepage + stranice sadržaja)
   Raspored: section.hc-sec (+ varijanta) > .hc-sec__wrap > .hc-sec__in > .hc-col / .hc-text
   ========================================================================== */

/* ---------- Sekcije, kolone, tekst ---------- */
.hc-sec__wrap { position: relative; max-width: var(--hc-max); margin: 0 auto; padding: 0 var(--hc-gutter); }
#top.hc .hc-sec .hc-text { font-size: 16px; line-height: 26px; color: var(--hc-ink-2); }
#top.hc .hc-sec .hc-text > :last-child { margin-bottom: 0; }
#top.hc .hc-sec .hc-text p { margin: 0 0 16px; }
#top.hc .hc-sec .hc-img { display: block; margin: 0; }
#top.hc .hc-sec .hc-img img { display: block; width: 100%; height: auto; }

/* Ritam sekcija */
#top.hc .hc-block { padding-top: var(--hc-section); }
#top.hc .hc-block--last { padding-bottom: var(--hc-section); }

/* ---------- Tipografija ---------- */
#top.hc .hc-display { margin: 24px 0 24px; font-size: 72px; font-weight: 800; line-height: 74px; letter-spacing: -.04em; color: var(--hc-ink); }
#top.hc .hc-display--page { max-width: 880px; font-size: 56px; line-height: 60px; }
#top.hc .hc-lead { max-width: 560px; font-size: 18px; line-height: 28px; color: var(--hc-ink-2); }
#top.hc .hc-h2--xl { font-size: 48px; line-height: 52px; }
#top.hc .hc-sec h2.hc-h2 { margin: 0; }
#top.hc .hc-sec .hc-eyebrow { margin: 0; color: var(--hc-ink); }
#top.hc .hc-sec .hc-sub { margin-top: 10px; }
#top.hc .hc-sec .hc-head-row { margin-bottom: 40px; }

/* Link i dugme sa strelicom (bez SVG-a u tekstu, da builder ne pokvari kod) */
.hc-link::after, .hc-btn--arrow::after { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.hc-btn--arrow:not(.hc-btn--outline):not(.hc-btn--lime)::after, .hc-btn--outline.hc-btn--arrow:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.hc-link:hover::after, .hc-btn--arrow:hover::after { transform: translateX(3px); }
#top.hc .hc-sec .hc-link { color: var(--hc-ink); white-space: nowrap; }

/* ---------- Hero (naslovna) ---------- */
#top.hc .hc-hero > .hc-sec__wrap { max-width: none; padding: 0; }
#top.hc .hc-hero .hc-sec__in { display: flex; flex-direction: column; }
@media (min-width: 1101px) { #top.hc .hc-hero .hc-sec__in { display: grid; grid-template-columns: 44.44% 55.56%; min-height: 700px; } }
#top.hc .hc-sec .hc-hero__text { display: flex; align-items: center; padding: 64px 56px 64px var(--hc-gutter); }
@media (min-width: 1441px) { #top.hc .hc-sec .hc-hero__text { padding-left: calc((100vw - var(--hc-max)) / 2 + var(--hc-gutter)); } }
#top.hc .hc-hero__text .hc-text { max-width: 520px; }
#top.hc .hc-hero__media, #top.hc .hc-hero__media .hc-img { height: 100%; }
#top.hc .hc-hero__media img { height: 100%; min-height: 700px; object-fit: cover; }
.hc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0 !important; }
.hc-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; }
.hc-stats li { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.hc-stats strong { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--hc-ink); }
.hc-stats span { font-size: 13px; line-height: 1.35; color: var(--hc-mute); }

/* ---------- Kategorije ---------- */
.hc-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hc-cats__item { margin: 0; }
.hc-cats__item a { display: flex; flex-direction: column; gap: 14px; color: var(--hc-ink); }
.hc-cats__img { display: block; aspect-ratio: 310 / 380; overflow: hidden; background: var(--hc-card); }
.hc-cats__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hc-cats__item a:hover .hc-cats__img img { transform: scale(1.03); }
.hc-cats__label { display: flex; justify-content: space-between; align-items: center; }
.hc-cats__label > span { display: flex; flex-direction: column; gap: 2px; }
.hc-cats__label strong { font-size: 18px; font-weight: 600; line-height: 1.3; }
.hc-cats__label small { font-size: 13px; color: var(--hc-mute); }
.hc-cats__item a:hover .hc-ico { transform: translateX(3px); }
.hc-cats .hc-ico { transition: transform .2s; }

/* ---------- Double-face blok ---------- */
#top.hc .hc-df .hc-sec__in { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; border-radius: 24px; background: var(--hc-soft); }
#top.hc .hc-df__img img { border-radius: 12px; mix-blend-mode: multiply; }
.hc-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 32px; padding: 0; list-style: none; }
.hc-benefits li { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; padding-left: 56px; min-height: 40px; }
.hc-benefits li::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--hc-lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat; }
.hc-benefits strong { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--hc-ink); }
.hc-benefits span { font-size: 14px; line-height: 21px; color: var(--hc-ink-2); }

/* ---------- Dizajni ---------- */
.hc-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hc-designs li { margin: 0; }
.hc-design { display: flex; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; border: 1px solid var(--hc-line); border-radius: 16px; color: var(--hc-ink); transition: border-color .2s; }
.hc-design:hover { border-color: var(--hc-ink); }
.hc-design__img { width: 96px; height: 96px; overflow: hidden; border-radius: 10px; background: var(--hc-card); flex: none; }
.hc-design__img img { width: 100%; height: 100%; object-fit: cover; }
.hc-design__txt { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hc-design__txt strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.hc-design__txt small { font-size: 13px; color: var(--hc-mute); }

/* ---------- O nama traka ---------- */
#top.hc .hc-about-band .hc-sec__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 64px; border-top: 1px solid var(--hc-line); }
#top.hc .hc-about-band .hc-h2--xl { margin-top: 16px; max-width: 520px; }

/* ---------- CTA traka ---------- */
.hc-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px 56px; border-radius: 24px; background: var(--hc-lime); }
#top.hc .hc-cta h2 { margin: 0 0 10px; font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
#top.hc .hc-sec .hc-cta p { margin: 0; font-size: 16px; color: var(--hc-ink-2); }
#top.hc .hc-cta .hc-btn { flex: none; }

/* ---------- Stranice sadržaja ---------- */
#top.hc .hc-page-hero { padding-top: 80px; }
#top.hc .hc-page-hero .hc-display { margin-top: 20px; }
#top.hc .hc-page-hero--media .hc-sec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 64px; align-items: center; }
#top.hc .hc-sec.hc-page-hero--media .hc-df__media { padding: 32px; border-radius: 24px; background: var(--hc-soft); }
#top.hc .hc-split .hc-sec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding-top: 48px; border-top: 1px solid var(--hc-line); }
#top.hc .hc-split .hc-h2 { font-size: 32px; line-height: 36px; letter-spacing: -.03em; }
#top.hc .hc-split .hc-col--first .hc-text { position: sticky; top: 120px; }
#top.hc .hc-split .hc-col:not(.hc-col--first) .hc-text { font-size: 17px; line-height: 28px; }
#top.hc .hc-narrow > .hc-sec__wrap { max-width: calc(880px + 2 * var(--hc-gutter)); }

.hc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin: 32px 0 0; padding: 0; list-style: none; }
.hc-features li { position: relative; margin: 0; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--hc-line); font-size: 16px; line-height: 1.4; color: var(--hc-ink); }
.hc-features li::before { content: ""; position: absolute; left: 0; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--hc-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hc-haccp { padding: 56px; border-radius: 24px; background: var(--hc-lime-soft); }
#top.hc .hc-haccp .hc-h2 { margin: 16px 0 20px; }
#top.hc .hc-sec .hc-haccp p:not(.hc-eyebrow) { max-width: 820px; font-size: 17px; line-height: 28px; }

/* Prose (dostava, pravne) */
#top.hc .hc-prose h3 { margin: 40px 0 16px; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
#top.hc .hc-prose h3:first-child { margin-top: 0; }
#top.hc .hc-prose .hc-times > div { padding: 14px 0; font-size: 16px; }

/* FAQ */
#top.hc .hc-narrow .hc-acc summary { padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
#top.hc .hc-narrow .hc-acc__body { font-size: 16px; line-height: 26px; }

/* Kontakt */
#top.hc .hc-contact .hc-sec__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.hc-contact__list { margin: 0; padding: 0; list-style: none; }
.hc-contact__list li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--hc-line); font-size: 16px; line-height: 1.5; color: var(--hc-ink); }
.hc-contact__list li:first-child { padding-top: 0; }
.hc-contact__list span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hc-mute); }
.hc-contact__list a { text-decoration: underline; text-underline-offset: 3px; }
#top.hc .hc-form { margin: 0; }
#top.hc .hc-form { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; border: 0; }
#top.hc .hc-form .hc-form__polje { flex: 1 1 100%; width: auto; margin: 0; padding: 0; }
#top.hc .hc-form .hc-form__polje--pola { flex: 1 1 calc(50% - 8px); }
#top.hc .hc-form label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--hc-ink-2); }
#top.hc .hc-form input[type="text"], #top.hc .hc-form input[type="email"], #top.hc .hc-form textarea { width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--hc-line); border-radius: 10px; background: var(--hc-white); font: 400 15px/1.4 var(--hc-font); color: var(--hc-ink); box-shadow: none; box-sizing: border-box; }
#top.hc .hc-form textarea { height: 180px; padding: 14px 16px; }
#top.hc .hc-form input:focus, #top.hc .hc-form textarea:focus { border: 1.5px solid var(--hc-ink); outline: none; }
#top.hc .hc-form .is-error input, #top.hc .hc-form .is-error textarea { border-color: var(--hc-red); }
.hc-form__greska { display: block; margin-top: 6px; font-size: 13px; color: var(--hc-red); }
.hc-form__greska--sve { flex: 1 1 100%; margin: 0; }
.hc-form__skriveno { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#top.hc .hc-form__poslato { padding: 24px; border-radius: 12px; background: var(--hc-lime-soft); font-size: 16px; color: var(--hc-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	#top.hc .hc-sec .hc-hero__text { padding: 48px var(--hc-gutter); }
	#top.hc .hc-hero__media img { min-height: 0; height: 480px; }
	#top.hc .hc-df .hc-sec__in, #top.hc .hc-page-hero--media .hc-sec__in { grid-template-columns: 1fr; }
	.hc-cats, .hc-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	#top.hc .hc-display { font-size: 44px; line-height: 46px; }
	#top.hc .hc-display--page { font-size: 38px; line-height: 42px; }
	#top.hc .hc-h2--xl { font-size: 34px; line-height: 38px; }
	#top.hc .hc-hero__media img { height: 360px; }
	.hc-stats { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
	.hc-cats { gap: 16px 12px; }
	.hc-designs, .hc-benefits, .hc-features { grid-template-columns: 1fr; }
	#top.hc .hc-df .hc-sec__in { padding: 24px; gap: 24px; }
	#top.hc .hc-about-band .hc-sec__in, #top.hc .hc-split .hc-sec__in, #top.hc .hc-contact .hc-sec__in { grid-template-columns: 1fr; gap: 24px; }
	#top.hc .hc-split .hc-col--first .hc-text { position: static; }
	.hc-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
	.hc-haccp { padding: 32px 24px; }
	#top.hc .hc-page-hero { padding-top: 48px; }
	#top.hc .hc-form .hc-form__polje--pola { flex-basis: 100%; }
}

/* Liste u tekst blokovima bez tačaka i uvlačenja */
#top.hc .hc-sec .hc-text ul { margin-left: 0; padding-left: 0; list-style: none; }
#top.hc .hc-sec .hc-text ul li { margin-left: 0; list-style: none; }
#top.hc .hc-sec .hc-h2--xl { margin: 16px 0 20px; }
#top.hc .hc-hero .hc-display { margin-top: 24px; }

/* Ilustracija do ivice okvira (Double-face stranica) */
#top.hc .hc-sec.hc-page-hero--media .hc-df__media { padding: 0; overflow: hidden; border-radius: 24px; background: var(--hc-soft); }
#top.hc .hc-page-hero--media .hc-df__img img { width: 100%; height: auto; border-radius: 0; }

/* Dugme na lime CTA traci: na hover belo sa tamnim tekstom */
#top.hc .hc-cta .hc-btn:not(.hc-btn--outline):hover { background: var(--hc-white); border-color: var(--hc-white); color: var(--hc-ink); box-shadow: 0 6px 16px rgba(17, 17, 17, .12); }
#top.hc .hc-cta .hc-btn--arrow:not(.hc-btn--outline):hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* Kontakt forma: dugme i zvezdica kao ranije */
#top.hc .hc-form .hc-form__polje:last-child { margin-top: 8px; }
#top.hc .hc-form button[type="submit"] { padding: 0 32px; }
#top.hc .hc-form abbr.required { font-weight: 700; text-decoration: none; }

/* Na telefonu kolone jedna ispod druge, sa 20 px ispod svake (kao do sada) */
@media (max-width: 767px) { #top.hc .hc-sec .hc-col { margin-bottom: 20px; } #top.hc .hc-sec .hc-col:empty { margin: 0; } }
