/* ==========================================================================
   Darnyik Savanyúság – fő stíluslap
   ========================================================================== */

:root {
	--red: #b5121b;
	--red-dark: #7e0c12;
	--red-deep: #5a080d;
	--gold: #e3a92b;
	--gold-dark: #b8841a;
	--gold-soft: #f7e6bd;
	--green: #1f5f32;
	--green-dark: #143f22;
	--green-soft: #e3eedb;
	--cream: #fbf6ec;
	--cream-2: #f3ead7;
	--ink: #221c18;
	--ink-2: #3d332c;
	--muted: #6e6157;
	--line: #e8dcc6;
	--white: #fff;

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 6px rgba(60, 30, 10, .06), 0 1px 2px rgba(60, 30, 10, .05);
	--shadow: 0 14px 40px -18px rgba(70, 30, 10, .28), 0 4px 12px rgba(70, 30, 10, .06);
	--shadow-lg: 0 30px 70px -30px rgba(70, 20, 10, .45);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 92px;
	--ib-w: clamp(118px, 13vw, 210px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Alapok ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: clamp(16px, .25vw + 15px, 18px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--red-dark); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.012em;
	margin: 0 0 .5em;
	color: var(--ink);
	font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.4vw, 1.45rem); }
h4 { font-size: 1.15rem; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text,
.hp-field {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Gombok ---------- */
.btn {
	--btn-bg: var(--red);
	--btn-fg: #fff;
	--btn-bd: var(--btn-bg);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.45em;
	border-radius: 999px;
	border: 2px solid var(--btn-bd);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 1rem/1.1 var(--sans);
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
	white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-dark); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: #f0bb43; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--red); --btn-bd: rgba(181, 18, 27, .35); }
.btn--ghost:hover { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--ink-2); padding-inline: .6em; }
.btn--link:hover { --btn-fg: var(--red); box-shadow: none; }
.btn--sm { padding: .62em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.75em; font-size: 1.05rem; }

/* ---------- Kicker, címek ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: .5em;
	margin: 0 0 .9em;
	font: 700 .78rem/1.2 var(--sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--red);
	text-decoration: none;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker .icon { width: 1.25em; height: 1.25em; color: var(--gold); }
.kicker:has(.icon)::before { display: none; }
.kicker--light { color: var(--gold-soft); }
.section-title { margin-bottom: .45em; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin-inline: auto; }
.section-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head .kicker { justify-content: center; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head--row .section-title { margin: 0; }

.section { padding-block: var(--section); position: relative; }
.section--cream { background: var(--cream); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.section--green { background: var(--green-dark); color: #e9f0e4; }
.section--green .section-title { color: #fff; }

/* ---------- Infoblokk (pályázati arculat) ---------- */
.infoblokk {
	position: absolute; top: 0; right: 0; z-index: 60;
	width: var(--ib-w);
	line-height: 0;
	transition: opacity .3s;
}
.infoblokk img { width: 100%; height: auto; }

/* ---------- Fejléc ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	transition: box-shadow .3s, background-color .3s;
}
.site-header.is-stuck { box-shadow: 0 8px 30px -18px rgba(60, 20, 0, .35); }
.header-inner {
	display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px);
	min-height: var(--header-h);
	transition: padding .3s var(--ease);
}
.has-infoblokk .site-header:not(.is-stuck) .header-inner { padding-right: calc(var(--ib-w) - var(--gutter) + 18px); }
@media (min-width: 1500px) {
	.has-infoblokk .site-header:not(.is-stuck) .header-inner { padding-right: var(--gutter); }
}
.brand, .custom-logo-link { flex: 0 0 auto; display: block; line-height: 0; }
.brand__logo, .custom-logo { height: 70px; width: auto; transition: height .3s var(--ease); filter: drop-shadow(0 4px 8px rgba(120, 20, 0, .18)); }
.is-stuck .brand__logo, .is-stuck .custom-logo { height: 54px; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(2px, .6vw, 10px); }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: .55em .7em;
	color: var(--ink-2); font-weight: 600; font-size: .98rem; text-decoration: none;
	border-radius: 999px; position: relative;
	transition: color .2s, background-color .2s;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: .9em; right: .9em; bottom: .25em; height: 2px;
	background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav .menu a:hover { color: var(--red); }
.main-nav .menu > li > a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: var(--red); }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav__mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-phone__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(181, 18, 27, .7); transition: transform .3s var(--ease); }
.header-phone__icon .icon { width: 20px; height: 20px; }
.header-phone:hover .header-phone__icon { transform: rotate(-12deg) scale(1.05); }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.15; font-size: .98rem; }
.header-phone__text small { font-weight: 500; color: var(--muted); font-size: .76rem; letter-spacing: .04em; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--cream); cursor: pointer; padding: 0; }
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1280px) {
	.header-phone__text { display: none; }
}
@media (max-width: 1240px) {
	:root { --header-h: 78px; }
	/* backdrop-filter tartalmazó blokkot hozna létre a fix menünek */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: block; }
	.header-actions { margin-left: auto; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; margin: 0;
		background: var(--cream); padding: 24px var(--gutter) 40px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu a { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; padding: .55em 0; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
	.main-nav .sub-menu a { font-size: 1.1rem; }
	.main-nav__mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
	.main-nav__phone { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
	.brand__logo, .custom-logo { height: 54px; }
	.has-infoblokk .site-header .main-nav { inset-block-start: var(--header-h); }
}
@media (max-width: 560px) {
	.header-phone { display: none; }
	.brand__logo, .custom-logo { height: 48px; }
}

/* ---------- Hero (főoldal) ---------- */
.hero {
	position: relative; isolation: isolate;
	min-height: clamp(560px, 86vh, 860px);
	display: flex; align-items: center;
	color: #fff; overflow: hidden;
	background: var(--red-deep);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(90, 8, 13, .94) 0%, rgba(126, 12, 18, .82) 34%, rgba(126, 12, 18, .35) 62%, rgba(20, 10, 5, .1) 100%),
		linear-gradient(0deg, rgba(20, 10, 5, .45) 0%, transparent 40%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: 90px 140px; }
.hero__content { max-width: 680px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 600; line-height: 1.02; margin-bottom: .35em; text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__text { font-size: clamp(1.08rem, 1.3vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 54ch; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__seal { width: clamp(150px, 15vw, 210px); height: auto; align-self: end; animation: spin 40s linear infinite; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.hero__seal .seal-bg { fill: var(--gold); }
.hero__seal .seal-ring { fill: none; stroke: var(--red-dark); stroke-width: 1.5; stroke-dasharray: 3 4; }
.hero__seal .seal-text { font: 700 13.6px var(--sans); letter-spacing: 2.6px; fill: var(--red-deep); }
.hero__seal .seal-small { font: 700 12px var(--sans); letter-spacing: 3px; fill: var(--red-deep); }
.hero__seal .seal-year { font: 700 38px var(--serif); fill: var(--red-deep); }
.hero__seal text { animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll {
	position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll .icon { width: 20px; height: 20px; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; padding-block: 64px 150px; }
	.hero__seal { position: absolute; right: var(--gutter); bottom: 120px; width: 120px; }
	.hero__scroll { display: none; }
	.hero::before { background: linear-gradient(180deg, rgba(90, 8, 13, .88) 0%, rgba(126, 12, 18, .78) 55%, rgba(60, 8, 10, .85) 100%); }
}

/* ---------- Számlálók ---------- */
.stats { position: relative; z-index: 5; margin-top: -76px; }
.stats__list {
	list-style: none; margin: 0; padding: 10px;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 26px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat__icon { grid-row: 1 / 3; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--cream); color: var(--red); }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__num { font: 700 clamp(1.4rem, 2vw, 1.9rem)/1.1 var(--serif); color: var(--ink); }
.stat__label { color: var(--muted); font-size: .93rem; line-height: 1.3; }
@media (max-width: 960px) {
	.stats__list { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3)::before { display: none; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
	.stats { margin-top: -60px; }
	.stat { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 18px 10px; row-gap: 6px; }
	.stat__icon { grid-row: auto; width: 44px; height: 44px; }
}

/* ---------- Bemutatkozás ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__media { position: relative; padding: 0 12% 14% 0; }
.intro__img { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--main { aspect-ratio: 4 / 4.4; }
.intro__img--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid #fff; }
.intro__badge {
	position: absolute; left: -18px; bottom: 22%;
	background: var(--red); color: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow);
	display: grid; text-align: center; transform: rotate(-4deg);
}
.intro__badge strong { font: 700 2.4rem/1 var(--serif); color: var(--gold); }
.intro__badge span { font-size: .82rem; letter-spacing: .04em; max-width: 9em; line-height: 1.25; margin-top: 4px; }
.intro__text .prose p { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; gap: .65em; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; font-weight: 600; }
.checklist .icon { flex: 0 0 auto; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 2.4; margin-top: .1em; }
@media (max-width: 900px) {
	.intro__grid { grid-template-columns: 1fr; }
	.intro__badge { left: 8px; }
}

/* ---------- Kategóriakártyák ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.cat-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card__media { aspect-ratio: 1 / .82; overflow: hidden; background: var(--cream-2); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.07); }
.cat-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card__count { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.cat-card__title { font: 600 1.25rem/1.2 var(--serif); }
.cat-card__text { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.cat-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: .92rem; }
.cat-card__more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cat-card:hover .cat-card__more .icon { transform: translateX(4px); }

/* ---------- Folyamat ---------- */
.process { background:
	radial-gradient(circle at 10% 0%, rgba(227, 169, 43, .12), transparent 40%),
	radial-gradient(circle at 90% 100%, rgba(31, 95, 50, .1), transparent 45%), #fff; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; position: relative; }
.process__steps::before { content: ""; position: absolute; top: 56px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__icon { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); border: 2px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.step__icon .icon { width: 44px; height: 44px; stroke-width: 1.4; }
.step:hover .step__icon { transform: translateY(-6px) rotate(-4deg); background: var(--red); color: #fff; border-color: var(--red); }
.step__num { position: absolute; top: -4px; left: 50%; margin-left: 26px; z-index: 2; background: var(--gold); color: var(--ink); font: 700 .8rem/1 var(--sans); padding: 6px 8px; border-radius: 999px; }
.step__title { font-size: 1.1rem; margin-bottom: .35em; }
.step__text { color: var(--muted); font-size: .93rem; line-height: 1.5; margin: 0; }
@media (max-width: 1080px) {
	.process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.process__steps::before { display: none; }
}
@media (max-width: 600px) {
	.process__steps { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
	.step__icon { width: 88px; height: 88px; }
	.step__icon .icon { width: 36px; height: 36px; }
	.step__num { margin-left: 18px; }
}

/* ---------- Termékkártyák ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.product-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--cream) 70%); display: grid; place-items: center; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__placeholder { width: 40%; height: 40%; color: var(--gold); }
.product-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.product-card__title { font: 600 1.12rem/1.25 var(--serif); margin: 0 0 8px; }
.product-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--red); }
.product-card__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.product-card:hover .product-card__more .icon { transform: translateX(4px); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.badge--lg { top: 20px; left: 20px; font-size: .82rem; padding: 9px 14px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; justify-content: center; }
.filter-chip {
	display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
	padding: .6em 1.1em; border-radius: 999px; font: 600 .95rem/1.1 var(--sans); cursor: pointer; transition: all .25s var(--ease);
}
.filter-chip span { font-size: .78rem; background: var(--cream); color: var(--muted); padding: 3px 7px; border-radius: 999px; }
.filter-chip:hover { border-color: var(--red); color: var(--red); }
.filter-chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-chip.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.note-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; padding: 22px 26px; background: var(--cream); border-radius: var(--radius); border: 1px dashed var(--gold); }
.note-box .icon { flex: 0 0 auto; color: var(--gold-dark); width: 28px; height: 28px; }
.note-box p { margin: 0; color: var(--ink-2); }

/* ---------- Minőség ---------- */
.quality__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quality__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; position: relative; }
.quality__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: linear-gradient(90deg, var(--red) 33%, #fff 33% 66%, var(--green) 66%); }
.quality__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.feature { padding: 20px; border-radius: var(--radius); background: var(--cream); transition: transform .3s var(--ease), background-color .3s; }
.feature:hover { transform: translateY(-4px); background: var(--gold-soft); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--green); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .25em; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 900px) {
	.quality__grid { grid-template-columns: 1fr; }
	.quality__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Idővonal (főoldal) ---------- */
.history { overflow: hidden; }
.history::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(227, 169, 43, .18), transparent 40%); pointer-events: none; }
.history__track { list-style: none; margin: 0; padding: 30px 4px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(165px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; position: relative; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.milestone { position: relative; padding: 46px 18px 10px 0; scroll-snap-align: start; }
@media (max-width: 1200px) { .history__track { grid-auto-columns: minmax(220px, 1fr); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.milestone::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .22); }
.milestone::after { content: ""; position: absolute; top: 4px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(227, 169, 43, .22); }
.milestone__year { display: block; font: 600 1.55rem/1.1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.milestone__text { color: rgba(233, 240, 228, .86); font-size: .96rem; line-height: 1.5; margin: 0; }
.history__more { text-align: center; margin: 40px 0 0; }

/* ---------- Videó ---------- */
.video-section__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.video-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video-facade:hover img { transform: scale(1.04); opacity: .7; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade__play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(181, 18, 27, .3); transition: transform .3s var(--ease), box-shadow .3s; }
.video-facade__play .icon { width: 34px; height: 34px; margin-left: 5px; }
.video-facade__play:hover { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(181, 18, 27, .25); }
.video-facade__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: .78rem; color: rgba(255, 255, 255, .8); background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); }
@media (max-width: 900px) { .video-section__grid { grid-template-columns: 1fr; } }

/* ---------- Kettős kártyák ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { position: relative; display: block; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 10%, rgba(90, 8, 13, .92) 100%); }
.duo-card--shop::before { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 10%, rgba(20, 63, 34, .94) 100%); }
.duo-card:hover img { transform: scale(1.06); }
.duo-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 3vw, 40px); display: grid; gap: 8px; }
.duo-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold); color: var(--ink); margin-bottom: 8px; }
.duo-card__icon .icon { width: 28px; height: 28px; }
.duo-card__title { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); }
.duo-card__text { color: rgba(255, 255, 255, .85); max-width: 46ch; }
.duo-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); margin-top: 6px; }
.duo-card__more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.duo-card:hover .duo-card__more .icon { transform: translateX(5px); }
.duo-card:hover { color: #fff; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo-card { min-height: 320px; } }

/* ---------- CTA sáv ---------- */
.cta-band { position: relative; overflow: hidden; margin-block: var(--section); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--red-dark), var(--red) 70%); color: #fff; box-shadow: var(--shadow-lg); }
.page-body + .container .cta-band { margin-top: 0; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band__art { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; color: rgba(255, 255, 255, .1); pointer-events: none; }

/* ---------- Aloldal hero ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--cream); padding: clamp(48px, 7vw, 96px) 0 clamp(90px, 10vw, 130px); overflow: hidden; }
.page-hero--image { color: #fff; background: var(--red-deep); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(90, 8, 13, .93) 0%, rgba(126, 12, 18, .75) 50%, rgba(40, 10, 5, .35) 100%); }
.page-hero__inner { max-width: calc(var(--container) + var(--gutter) * 2); }
.page-hero__title { max-width: 18ch; text-wrap: balance; margin-bottom: .3em; }
.page-hero--image .page-hero__title { color: #fff; }
.page-hero__text { font-size: 1.15rem; max-width: 60ch; color: var(--ink-2); margin: 0; }
.page-hero--image .page-hero__text { color: rgba(255, 255, 255, .88); }
.page-hero--image .kicker { color: var(--gold-soft); }
.page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
.wave .wave__green { fill: var(--green); }
.wave .wave__fill { fill: #fff; }

.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.page-hero--image .breadcrumbs li { color: rgba(255, 255, 255, .75); }
.page-hero--image .breadcrumbs a:hover { color: var(--gold); }

.page-body { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 90px); }
.page-body--narrow .entry-content { max-width: 820px; margin-inline: auto; }

/* ---------- Tartalom (blokkszerkesztő) ---------- */
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul:not([class*="grid"]):not(.checklist), .prose ol:not([class*="grid"]) { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote, .wp-block-quote {
	margin: 2em 0; padding: 26px 30px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
	font: italic 500 1.3rem/1.45 var(--serif); color: var(--ink-2);
}
.wp-block-quote p:last-child { margin: 0; }
.wp-block-quote cite { display: block; margin-top: .8em; font: 600 .85rem var(--sans); font-style: normal; color: var(--muted); }
.entry-content .wp-block-image { margin: 0 0 1.5em; }
.entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content .wp-block-image figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6em; }
.entry-content .wp-block-columns { gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(32px, 5vw, 64px); align-items: center; }
.entry-content .wp-block-columns.are-vertically-aligned-top { align-items: flex-start; }
.entry-content .wp-block-separator { border: 0; height: 2px; background: var(--line); margin: 3em auto; max-width: 140px; }
.entry-content .lead, .entry-content .has-large-font-size { font-size: 1.25rem; color: var(--ink-2); }
.entry-content > .wp-block-group, .entry-content > .alignfull { margin-block: clamp(32px, 5vw, 64px); }
.entry-content .alignwide { margin-inline: calc(var(--gutter) * -0.5); }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; }

/* Blokk stílusok – egyedi osztályokkal */
.is-style-card, .content-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.is-style-cream, .content-cream { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); }
.content-green { background: var(--green-dark); color: #e9f0e4; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); }
.content-green h2, .content-green h3 { color: #fff; }
.content-green a { color: var(--gold); }
.img-rounded img { border-radius: var(--radius-lg) !important; box-shadow: var(--shadow); }
.img-tall img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.img-wide img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Ikonos kártyarács a tartalomban (wp:columns + content-card) */
.card-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px !important; align-items: stretch !important; }
.card-grid > .wp-block-column > .content-card { height: 100%; }
.card-grid > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
.card-grid .content-card h3 { margin-top: .2em; }
.icon-head { display: flex; align-items: center; gap: 12px; }
.card-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--red-dark); font: 700 1.05rem var(--serif); margin-bottom: 12px; }

/* Idővonal (Rólunk oldal – group.timeline: h4 év, h3 cím, bekezdés sorozata) */
.timeline { margin: 2em 0 3em; }
.timeline > .wp-block-group__inner-container,
.timeline:not(:has(> .wp-block-group__inner-container)) { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 56px; }
.timeline > .wp-block-group__inner-container::before,
.timeline:not(:has(> .wp-block-group__inner-container))::before { content: ""; position: absolute; left: 178px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), var(--red)); }
.timeline h4 { grid-column: 1; grid-row: span 2; position: relative; margin: 0 !important; padding-top: .1em; text-align: right; font: 600 1.35rem/1.2 var(--serif); color: var(--red); }
.timeline h4::after { content: ""; position: absolute; right: -36px; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 5px #fff; }
.timeline h3 { grid-column: 2; margin: 0 0 .3em !important; font-size: 1.2rem; }
.timeline p { grid-column: 2; margin: 0 0 2.2em; color: var(--ink-2); }
@media (max-width: 640px) {
	.timeline > .wp-block-group__inner-container,
	.timeline:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; padding-left: 34px; }
	.timeline > .wp-block-group__inner-container::before,
	.timeline:not(:has(> .wp-block-group__inner-container))::before { left: 8px; }
	.timeline h4, .timeline h3, .timeline p { grid-column: 1; }
	.timeline h4 { text-align: left; }
	.timeline h4::after { right: auto; left: -33px; }
}

/* Statisztika csempék a tartalomban */
.stat-tiles { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px !important; }
.stat-tiles > .wp-block-column { flex-basis: auto !important; margin: 0 !important; background: var(--cream); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-tiles .wp-block-heading { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--red); margin: 0 0 .1em; }
.stat-tiles p { margin: 0; color: var(--muted); font-size: .95rem; }
.wp-block-column .stat-tiles { grid-template-columns: 1fr 1fr; margin-bottom: 0; }

/* Pipa lista tartalomban */
.is-style-check, .list-check { list-style: none !important; padding-left: 0 !important; }
.list-check li { position: relative; padding-left: 34px; margin-bottom: .6em; }
.list-check li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.content-green .list-check li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3a92b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }

/* Bolt / partner logó kártyák */
.shop-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px !important; }
.shop-grid > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
.shop-card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shop-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.shop-card p { color: var(--muted); font-size: .95rem; }
.shop-card .tag { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 6px 9px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- Pályázatok ---------- */
.grant-list { display: grid; gap: 20px; }
.grant-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; transition: box-shadow .3s, transform .3s var(--ease); position: relative; overflow: hidden; }
.grant-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--gold), var(--red)); }
.grant-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.grant-card__head { display: flex; flex-wrap: wrap; gap: 8px; }
.grant-card__program, .grant-card__code { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.grant-card__program { background: #e7eefc; color: #1c3f94; }
.grant-card__code { background: var(--cream); color: var(--ink-2); }
.grant-card__title, .prose .grant-card__title { margin: 0; font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.grant-card__title a { color: var(--ink); text-decoration: none; }
.grant-card__title a:hover { color: var(--red); }
.grant-card__text { color: var(--muted); margin: 0; }
.grant-card__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0; }
.grant-card__facts div { display: grid; }
.grant-card__facts dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.grant-card__facts dd { margin: 0; font: 600 1.1rem var(--serif); }
.grant-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.stp-banner { margin: 0 0 36px; background: #fff; border-radius: var(--radius); padding: 8px; border: 1px solid var(--line); }
.stp-banner img { margin-inline: auto; }

.grant-single { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 70px); align-items: start; }
.grant-single__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.grant-box { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.grant-box__title { font-size: 1.25rem; }
.grant-box__docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.back-link .icon { width: 18px; height: 18px; transform: rotate(180deg); }
@media (max-width: 960px) { .grant-single { grid-template-columns: 1fr; } .grant-single__side { position: static; } }

/* ---------- Cégadatok / adattábla ---------- */
.company-table { margin: 0; display: grid; }
.company-table > div { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.company-table > div:last-child { border-bottom: 0; }
.company-table dt { color: var(--muted); font-size: .92rem; }
.company-table dd { margin: 0; font-weight: 600; }

/* ---------- Kapcsolat ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 1.5em; }
.contact-card { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 10px; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-card__value { font: 600 1.12rem/1.35 var(--serif); word-break: break-word; }

.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form__title { margin-top: 0 !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 16px; display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .search-form__input {
	width: 100%; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
	font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form__input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(227, 169, 43, .2); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.field--check label { font-weight: 400; font-size: .9rem; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff5f5; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; }
.notice .icon { flex: 0 0 auto; width: 26px; height: 26px; }
.notice--success { background: var(--green-soft); color: var(--green-dark); }
.notice--error { background: #fde8e8; color: var(--red-dark); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.map-facade { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--cream-2); box-shadow: var(--shadow-sm); }
.map-facade__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-facade__overlay { position: absolute; inset: auto 16px 16px 16px; background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.map-facade__addr { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.map-facade__addr .icon { color: var(--red); }
.map-facade__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-facade__actions .btn--light { border-color: var(--line); }
.map-facade__note { margin: 0; font-size: .78rem; color: var(--muted); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade.is-loaded .map-facade__overlay, .map-facade.is-loaded .map-facade__art { display: none; }

/* ---------- Termék oldal ---------- */
.product-hero { padding: clamp(28px, 4vw, 48px) 0 var(--section); background: linear-gradient(180deg, var(--cream) 0%, #fff 60%); }
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; margin-top: 12px; }
.product-hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 1; display: grid; place-items: center; position: sticky; top: calc(var(--header-h) + 24px); }
.product-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__title { font-size: clamp(2rem, 4vw, 3.4rem); }
.product-hero__lead { font-size: 1.2rem; color: var(--ink-2); }
.fact-list { margin: 28px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.fact dt .icon { color: var(--green); width: 20px; height: 20px; }
.fact dd { margin: 0; color: var(--ink-2); }
.serving { display: flex; gap: 16px; padding: 20px 22px; background: var(--gold-soft); border-radius: var(--radius); margin: 24px 0; }
.serving__icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; }
.serving__icon .icon { width: 22px; height: 22px; }
.serving p { margin: 4px 0 0; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) {
	.product-hero__grid { grid-template-columns: 1fr; }
	.product-hero__media { position: relative; top: 0; max-width: 520px; }
	.fact { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Bejegyzés rács ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__link { color: inherit; text-decoration: none; display: block; }
.post-card__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__meta { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.post-card__title { font-size: 1.3rem; margin: .3em 0; }
.post-card p { color: var(--muted); margin: 0; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { padding: .5em .9em; border-radius: 10px; background: var(--cream); text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--red); color: #fff; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state > .icon { width: 72px; height: 72px; margin: 0 auto 16px; color: var(--gold); }
.empty-state__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.archive-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; }

/* ---------- Lábléc ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .78); padding-top: clamp(70px, 8vw, 100px); margin-top: 0; font-size: .96rem; }
.site-footer__wave { position: absolute; top: -69px; left: 0; width: 100%; height: 70px; pointer-events: none; }

.site-footer__wave .wave__fill { fill: var(--ink); }
.site-footer__wave .wave__green { fill: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 18px; }
.footer-title { color: #fff; font-size: 1.15rem; margin-bottom: 1em; position: relative; padding-bottom: .6em; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-menu, .footer-contact, .footer-company { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.footer-menu a, .site-footer .menu a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s, padding .2s; }
.footer-menu a:hover, .site-footer .menu a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-company { font-size: .9rem; }
.footer-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: .8rem; font-weight: 700; color: #fff; }
.footer-badge .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .86rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.legal-menu a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.legal-menu a:hover { color: var(--gold); }
.footer-credit a { color: var(--gold); font-weight: 700; text-decoration: none; }
.footer-credit a:hover { color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom__inner { flex-direction: column; text-align: center; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top .icon { transform: rotate(-90deg); width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-dark); color: #fff; }

/* ---------- Megjelenési animáció ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Nyomtatás ---------- */
@media print {
	.site-header, .site-footer, .infoblokk, .to-top, .cta-band, .hero__scroll { display: none !important; }
	.page-hero--image { color: #000; background: none; }
}

.entry-content .contact-cols { align-items: flex-start; }
.entry-content .contact-cols > .wp-block-column { display: grid; gap: 20px; }

/* Klasszikus témában a csoportblokkok belső konténert kapnak – margók rendezése */
.wp-block-group__inner-container > :first-child,
.wp-block-column > :first-child { margin-top: 0 !important; }
.wp-block-group__inner-container > :last-child,
.wp-block-column > :last-child,
.content-card p:last-child, .shop-card p:last-child { margin-bottom: 0 !important; }
.content-green .wp-block-columns, .content-cream .wp-block-columns { margin-bottom: 0; }
.entry-content > .wp-block-columns + .wp-block-heading { margin-top: 1.2em; }
.shop-grid { align-items: stretch !important; }
.shop-grid > .wp-block-column > .shop-card { height: 100%; }

@media (max-width: 560px) {
	.product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.product-card__body { padding: 12px 12px 14px; }
	.product-card__title { font-size: .98rem; }
	.product-card__cat { font-size: .64rem; letter-spacing: .08em; }
	.badge { top: 8px; left: 8px; font-size: .62rem; padding: 5px 7px; }
	.filter-bar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
	.filter-chip { flex: 0 0 auto; }
}
