/**
 * Main stylesheet — Design tokens & alap stílusok
 *
 * Ez a fájl tartalmazza:
 * 1. CSS custom properties (design tokens)
 * 2. Reset / base stílusok
 * 3. Tipográfia (Figma értékek)
 * 4. Gomb stílusok (globális, Figma-compliant)
 * 5. Layout — section-wrapper, container
 * 6. Header
 * 7. Footer
 */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
	/* Színek */
	--color-background: #ffffff;
	--color-primary: #ee4c72;
	--color-primary-dark: #b93f71;
	--color-accent: #70bfff;
	--color-text: #000000;
	--color-text-muted: #555555;
	--color-border: #d9d9d9;
	--color-card-bg: #f0f0f0;
	--color-error: #e74c3c;
	--color-warning: #e67e22;

	/* Gradiens */
	--gradient-primary: linear-gradient(90deg, #b93f71 0%, #ee4c72 100%);

	/* Tipográfia — Lora (display/h1-h2) + Barlow Condensed (body/UI) */
	--font-display: 'Lora', serif;
	--font-body: 'Barlow Condensed', sans-serif;
	--font-heading: var(--font-display);

	/* Spacing — 8px alapú rendszer */
	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 32px;
	--spacing-xl: 48px;
	--spacing-2xl: 64px;

	/* Szekció layout tokenek */
	--spacing-section-mobile: 64px;
	--spacing-section-tablet: 80px;
	--spacing-section-desktop: 104px;
	--container-padding-mobile: 20px;
	--container-padding-tablet: 40px;
	--container-padding-desktop: 80px;
	--container-max-width: 1232px;

	/* Effektek — Figma: flat/brutalist hard shadow */
	--shadow-hard: 0px 5px 0px 0px rgba(0, 0, 0, 1);
	--shadow-hard-sm: 0px 2px 0px 0px rgba(0, 0, 0, 1);
	--radius-card: 40px;
	--radius-button: 20px;

	/* Transition */
	--transition-base: 0.2s ease;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.65;
	color: var(--color-text);
	background-color: var(--color-background);
}

/* Page transition — csak a main tartalom fade-el, header + footer fix marad */
.site-main {
	opacity: 0;
	transition: opacity 0.1s ease;
}

body.is-loaded .site-main {
	opacity: 1;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

/* ==========================================================================
   3. TIPOGRÁFIA (Figma értékek)
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.1;
}

/* H1 — Lora, 44px mobile → 70px desktop, lh 1.0 */
h1,
.wp-block-heading.has-h1-font-size {
	font-family: var(--font-display);
	font-size: 44px;
	line-height: 1.0;
}

@media (min-width: 1200px) {
	h1,
	.wp-block-heading.has-h1-font-size {
		font-size: 70px;
	}
}

/* H2 — Lora, 32px mobile → 45px desktop, lh 1.22 */
h2,
.wp-block-heading.has-h2-font-size {
	font-family: var(--font-display);
	font-size: 32px;
	line-height: 1.22;
}

@media (min-width: 1200px) {
	h2,
	.wp-block-heading.has-h2-font-size {
		font-size: 45px;
	}
}

/* H3 — Barlow Condensed, 20px mobile → 24px desktop, lh 1.04 */
h3,
.wp-block-heading.has-h3-font-size {
	font-family: var(--font-body);
	font-size: 20px;
	line-height: 1.04;
}

@media (min-width: 1200px) {
	h3,
	.wp-block-heading.has-h3-font-size {
		font-size: 24px;
	}
}

/* H4–H6 — Barlow Condensed */
h4, h5, h6 {
	font-family: var(--font-body);
	font-size: 18px;
}

/* Paragraph */
p {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-text-muted);
	margin-bottom: var(--spacing-sm);
}

p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   4. GOMBOK — Figma: gradient, hard shadow, 52px height, 20px radius
   ========================================================================== */

/* Base gomb stílus */
.site-main .wp-block-button__link.wp-element-button,
.site-main .wp-block-button__link,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 10px 28px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.75;
	border-radius: var(--radius-button);
	border: 1px solid #000000;
	box-shadow: var(--shadow-hard);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

/* Primary gomb — gradient háttér, fehér szöveg */
.site-main .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--gradient-primary);
	color: #ffffff;
	border-color: #000000;
}

/* Secondary / Outline gomb — card-bg háttér */
.site-main .wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--color-card-bg);
	color: var(--color-text);
	border-color: var(--color-border);
}

/* Hover */
.site-main .wp-block-button__link:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

/* Active */
.site-main .wp-block-button__link:active {
	transform: scale(0.98);
}

/* ==========================================================================
   5. LAYOUT — section-wrapper, container
   ========================================================================== */

.site-main {
	min-height: 60vh;
}

/* Szekció wrapper — egységes padding minden szekcióhoz */
.section-wrapper {
	padding: var(--spacing-section-mobile) var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.section-wrapper {
		padding: var(--spacing-section-tablet) var(--container-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.section-wrapper {
		padding: var(--spacing-section-desktop) var(--container-padding-desktop);
	}
}

/* Belső container — max-width + centering */
.section-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	width: 100%;
}

/* Szekció heading spacing */
.section-heading {
	margin-bottom: var(--spacing-md);
}

@media (min-width: 1200px) {
	.section-heading {
		margin-bottom: var(--spacing-xl);
	}
}

/* ==========================================================================
   6. HEADER
   Figma (1440px frame) — Group 84 container: x:104, y:22, w:1233, h:192
     Logo mark  (Group 66):   x:0,  y:0,  w:180, h:192  (relatív Group 84-hez)
     Gradient pill (Rect 4301): x:74, y:48, w:1159, h:96  (relatív Group 84-hez)
     FAMINGO wordmark:        x:174, y:77, w:281,  h:43  (relatív Group 84-hez)
     CTA button:              x:964, y:73, w:237,  h:47  (relatív Group 84-hez)
   Desktop: position:absolute a pontos Figma koordinátákkal.
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	margin-top: 24px;
	width: 100%;
	background: var(--color-background);
}

@media (max-width: 767px) {
	.site-header {
		margin-top: 0;
		margin-bottom: 0;
	}
}

/* ── MOBILE / TABLET: flex layout ── */
.site-header__container {
	display: flex;
	align-items: center;
	padding: 12px var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.site-header__container {
		padding: 12px var(--container-padding-tablet);
	}
}

/* ── DESKTOP: exact Figma absolute positioning ──
   Container = Group 84 méret: max-width 1440px, height 192px
   Belső koordináták: logo x:0 y:0, pill x:74 y:48 */
@media (min-width: 1200px) {
	.site-header__container {
		position: relative;
		max-width: 1440px;
		margin: 0 auto;
		height: 192px;
		padding: 0;
		display: block;
	}
}

/* ── LOGO MARK ── */
/* Mobile/tablet: flex item, kisebb méret */
.site-header__logo {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	margin-right: -10px;
}

.site-header__logo img {
	width: 50px;
	height: auto;
}

@media (min-width: 768px) {
	.site-header__logo img {
		width: 65px;
	}
}

/* Desktop: position:absolute, pontosan Group 84-en belül x:0, y:0, w:180, h:192 */
@media (min-width: 1200px) {
	.site-header__logo {
		position: absolute;
		left: 104px;   /* Group 84 frame-beli x pozíciója */
		top: 0;
		width: 180px;  /* Group 66 w */
		height: 192px; /* Group 66 h = container h */
		margin-right: 0;
		justify-content: flex-start;
		align-items: center;
		transition: left 0.3s ease, width 0.3s ease;
	}

	.site-header__logo img {
		width: 180px;  /* pontos Figma szélesség */
		height: 192px; /* pontos Figma magasság */
		object-fit: contain;
		object-position: left center;
		transition: width 0.3s ease, height 0.3s ease;
	}

	/* Scroll-shrink: 180px → 128px, középpont tartva (104 + 90 = 194 → 194 - 64 = 130) */
	.site-header.is-scrolled .site-header__logo {
		left: 130px;
		width: 128px;
	}

	.site-header.is-scrolled .site-header__logo img {
		width: 128px;
		height: auto;
	}
}

/* ── GRADIENT PILL ── */
/* Mobile/tablet: flex item */
.site-header__pill {
	flex: 1;
	display: flex;
	align-items: center;
	height: 60px;
	background: var(--gradient-primary);
	border-radius: 35px;
	box-shadow: var(--shadow-hard);
	padding: 0 16px 0 24px;
}

@media (min-width: 768px) {
	.site-header__pill {
		height: 68px;
		padding: 0 20px 0 28px;
	}
}

/* Desktop: position:absolute, x:74+104=178, y:48, h:96
   Jobbra: 1440 - (104+74+1159) = 103px ≈ 104px */
@media (min-width: 1200px) {
	.site-header__pill {
		position: absolute;
		left: 178px;   /* 104 (Group84 x) + 74 (pill x) */
		right: 104px;  /* szimmetrikus padding */
		top: 48px;     /* pill y relatív Group 84-hez */
		height: 96px;  /* pontos Figma magasság */
		padding: 0 32px 0 100px; /* bal: wordmark 100px-re kezdődik a pill-en belül */
	}
}

/* ── WORDMARK (FAMINGO SVG) ── */
.site-header__wordmark {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: auto;
}

.site-header__wordmark img {
	height: 18px;
	width: auto;
}

@media (min-width: 768px) {
	.site-header__wordmark img {
		height: 21px;
	}
}

/* Desktop: Figma h:43px, arány 43/96 ≈ 44% a pill magasságából */
@media (min-width: 1200px) {
	.site-header__wordmark img {
		height: 43px;
		width: auto;
	}
}

/* ── DESKTOP NAV MENÜ ── */
.site-header__nav {
	display: none;
}

@media (min-width: 768px) {
	.site-header__nav {
		display: flex;
		align-items: center;
	}
}

.site-header__menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__menu li {
	list-style: none;
}

/* Figma: DIN Alternate → Barlow Condensed, 700, 16px, lh 1.75em, fehér, CENTER */
.site-header__menu a {
	display: block;
	padding: 0 16px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.75;
	white-space: nowrap;
	transition: opacity var(--transition-base);
}

.site-header__menu a:hover {
	opacity: 0.75;
}

/* ── CTA GOMB ── */
/* Figma: transparent bg, 1px solid #fff, border-radius 20px, 237×47px */
.site-header__cta {
	display: none;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 18px;
	margin-left: 12px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	background: transparent;
	border: 1px solid #ffffff;
	border-radius: var(--radius-button);
	white-space: nowrap;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

@media (min-width: 768px) {
	.site-header__cta {
		display: inline-flex;
	}
}

/* Desktop: Figma h:47px */
@media (min-width: 1200px) {
	.site-header__cta {
		height: 47px;
		padding: 0 24px;
		font-size: 16px;
		margin-left: 16px;
	}
}

.site-header__cta:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

/* ── MOBILE HAMBURGER ── */
.site-header__mobile-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	margin-left: auto;
	background: transparent;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.site-header__mobile-toggle {
		display: none;
	}
}

.site-header__mobile-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-header__mobile-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.site-header__mobile-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.site-header__mobile-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV DRAWER ── */
.site-header__mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1;
	background: var(--gradient-primary);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 0 var(--container-padding-mobile);
	border-radius: 35px;
	box-shadow: var(--shadow-hard);
	/* Csukott állapot */
	opacity: 0;
	transform: translateY(-8px);
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.site-header__mobile-nav.is-open {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s;
}

.site-header__mobile-nav-inner {
	padding: 16px var(--container-padding-mobile) 24px;
}

.site-header__mobile-menu {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.site-header__mobile-menu li {
	list-style: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header__mobile-menu a {
	display: block;
	padding: 14px 4px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.75;
}

/* CTA gomb a mobil navban — felülírja a desktop-only display:none-t */
.site-header__mobile-nav .site-header__cta {
	display: inline-flex;
	margin-left: 0;
}

/* ==========================================================================
   7. HERO SECTION
   Figma (1440px frame) — hero area y:214–802, total height: 588px
     Content (left):  x:141, starts y:258 (44px below nav bottom)
       Badge:         x:141, y:258, w:183, h:47
       Heading:       x:141, y:344, w:486, h:140  (Lora 700 70px)
       Decoration:    x:185, y:414, w:442, h:92
       Body text:     x:141, y:542, w:486, h:84
       CTA button:    x:141, y:653, w:255, h:52
     Hero image (right): x:794, y:220, w:504, h:524  (custom mask shape)
   ========================================================================== */

/* ── SECTION SHELL ── */
.famingo-hero {
	background: var(--color-background);
	overflow: hidden;
}

.famingo-hero__container {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	padding: 40px var(--container-padding-mobile);
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media (min-width: 768px) {
	.famingo-hero__container {
		flex-direction: row;
		align-items: flex-start;
		padding: 40px var(--container-padding-tablet);
		gap: 48px;
	}
}

@media (min-width: 1200px) {
	.famingo-hero__container {
		display: block; /* switch to absolute layout */
		padding: 0;
		min-height: 588px;
	}
}

/* ── LEFT CONTENT COLUMN ── */
.famingo-hero__content {
	position: relative;
	flex: 1;
}

@media (min-width: 1200px) {
	.famingo-hero__content {
		position: absolute;
		left: 141px;
		top: 44px; /* y:258 - nav-bottom(214) */
		width: 486px;
	}
}

/* ── BADGE "Prémium bútorok" ── */
/* PNG-háttér (scalloped pink shape) + fehér szöveg felette */
.famingo-hero__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 183px;
	height: 47px;
	margin-bottom: 37px;
	background-image: url('../images/hero-badge.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.01em;
}

/* ── HEADING ── */
/* Figma: American Typewriter → Lora, 700, 70px, lineHeight 1em */
/* position:relative + z-index:1 → a bekarikázás (position:absolute z-index:0) mögé kerül */
.famingo-hero__heading {
	font-family: var(--font-display);
	font-size: clamp(42px, 6vw, 70px);
	font-weight: 700;
	line-height: 1em;
	color: var(--color-text);
	margin: 0;
	position: relative;
	z-index: 1;
}

@media (min-width: 1200px) {
	.famingo-hero__heading {
		font-size: 70px;
	}
}

/* ── DECORATION (kék ellipszis) — a 2. sor "a bútoroknak" köré ──
   DOM-ban az <h1> ELŐTT van → z-index:0 így a szöveg (z-index:1) fölé kerül */
.famingo-hero__decoration {
	display: none; /* mobil: rejtett */
}

@media (min-width: 1200px) {
	.famingo-hero__decoration {
		display: block;
		position: absolute;
		left: 44px;  /* x:185 - content-left(141) */
		top: 156px;  /* y:414 - content-top(258) */
		width: 442px;
		height: 92px;
		z-index: 0;  /* h1 z-index:1 fölé rajzolja a szöveget */
		pointer-events: none;
	}
}

/* ── BODY TEXT ── */
/* Figma: DIN Alternate → Barlow Condensed, 700, 16px, lineHeight 1.5625em */
.famingo-hero__text {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5625em;
	color: var(--color-text);
	margin: 28px 0 0;
}

@media (min-width: 1200px) {
	.famingo-hero__text {
		margin-top: 144px; /* y:542 - (258+140) = 144px below heading start + heading h */
	}
}

/* ── CTA BUTTON ── */
/* Figma: #70BFFF bg, black stroke, border-radius 20px, 255×52px, hard shadow */
.famingo-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 255px;
	height: 52px;
	margin-top: 27px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	background: var(--color-accent);
	border: 1px solid var(--color-text);
	border-radius: var(--radius-button);
	box-shadow: var(--shadow-hard);
	text-align: center;
	white-space: nowrap;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.famingo-hero__cta:hover {
	opacity: 0.88;
	transform: translateY(-2px);
}

/* ── HERO IMAGE ── */
.famingo-hero__image-wrap {
	flex-shrink: 0;
	max-width: 320px;
	align-self: center;
}

@media (min-width: 768px) {
	.famingo-hero__image-wrap {
		max-width: 380px;
	}
}

@media (min-width: 1200px) {
	.famingo-hero__image-wrap {
		position: absolute;
		right: 142px;  /* 1440 - 794 - 504 */
		top: 6px;      /* y:220 - nav-bottom(214) */
		width: 504px;
		max-width: none;
	}
}

.famingo-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 1200px) {
	.famingo-hero__image {
		width: 504px;
		height: 524px;
		object-fit: cover;
	}
}

/* ==========================================================================
   8. LEGÚJJABB PROJEKTÜNK SECTION
   Figma: y:802–1198 | Rectangle 4329 | x:104, w:1232, h:396 | radius:40px
   ========================================================================== */

.famingo-latest {
	background: var(--color-background);
}

.famingo-latest__container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
}

/* A kártya */
.famingo-latest__card {
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 40px;
	border: 1px solid var(--color-text);
	box-shadow: var(--shadow-hard);
	aspect-ratio: 1 / 1; /* mobile: 1 oszlop → egyezik a galéria kártyákkal */
}

@media (min-width: 600px) {
	.famingo-latest__card {
		aspect-ratio: 2 / 1; /* tablet: 2 oszlop → 2× galéria kártya szélességén 1 sor magasság */
	}
}

@media (min-width: 1200px) {
	.famingo-latest__card {
		aspect-ratio: 3.11 / 1; /* desktop: 3 oszlop → Figma 1232×396px */
	}
}

.famingo-latest__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Sötét gradiens az aljára */
.famingo-latest__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 54%);
	border-radius: inherit;
	pointer-events: none;
}

/* "Legújjabb projektünk" badge */
/* Figma: Group 68, x:126, y:835 → offset from card: x:22, y:33 */
.famingo-latest__badge {
	position: absolute;
	left: 22px;
	top: 33px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 221px;
	height: 47px;
	background-image: url('../images/badge-shape-lg.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.01em;
}

/* ==========================================================================
   9. BÚTOROK GALÉRIA SECTION
   Figma: y:1225+ | 3×3 grid | card:396×396px | col-gap:22px | row-gap:27px
   ========================================================================== */

.famingo-gallery {
	max-width: 1440px;
	margin: 27px auto 0;
	padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.famingo-gallery {
		padding: 0 var(--container-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.famingo-gallery {
		padding: 0 104px;
		margin-top: 27px; /* Figma: y:1225 - y:1198 = 27px */
	}
}

/* Grid */
.famingo-gallery__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-top: 27px; /* Figma: y:1225 - y:1198 = 27px gap a latest kártya és a grid között */
}

@media (min-width: 600px) {
	.famingo-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (min-width: 1200px) {
	.famingo-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
		column-gap: 22px; /* Figma: 522-500=22px */
		row-gap: 27px;    /* Figma: 1648-1621=27px */
	}
}

/* Kártya */
.famingo-gallery__card {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 40px;
	border: 1px solid var(--color-text);
	box-shadow: var(--shadow-hard);
	aspect-ratio: 1 / 1; /* 396×396 négyzet */
}

.famingo-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Sötét gradiens az aljára */
.famingo-gallery__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 54%);
	pointer-events: none;
}

/* "Prémium bútorok" badge (183×47) — kártya bal felső sarokba */
/* Figma: offset ≈ x:24, y:32 a kártyán belül */
.famingo-gallery__badge {
	position: absolute;
	left: 24px;
	top: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 183px;
	height: 47px;
	background-image: url('../images/hero-badge.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.01em;
}

/* Figma: gomb a grid alatt, jobb-igazítva — margin-top:33px (y:2500-y:2467) */
.famingo-gallery__footer {
	display: flex;
	justify-content: center; /* mobile: középre */
	margin-top: 33px;
}

@media (min-width: 1200px) {
	.famingo-gallery__footer {
		justify-content: flex-end; /* desktop: jobb-igazítva */
	}
}

/* Figma: 206×47px, transparent, 1px #000, radius:20px, hard shadow */
.famingo-gallery__btn {
	display: inline-flex;
	align-items: center;
	gap: 13px; /* Figma: szöveg jobb széle x:156, nyíl bal x:169 → 13px */
	padding: 10px 19px 10px 20px; /* Figma: text x:20, y:10; right padding 19px */
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.75em;
	color: var(--color-text);
	text-decoration: none;
	background: transparent;
	border: 1px solid #000000;
	border-radius: 20px;
	transition: opacity 0.2s;
}

.famingo-gallery__btn:hover {
	opacity: 0.75;
}

.famingo-gallery__btn img {
	flex-shrink: 0;
	display: block;
}

/* ==========================================================================
   10. FOLYAMATUNK SECTION
   Figma: y:2559–4893 | 6 alternáló lépés, 357px ritmusssal
   Bal (01,03,05): kék badge + ikon | Jobb (02,04,06): rózsaszín badge + ikon
   ========================================================================== */

.famingo-process {
	background: var(--color-background);
	margin-top: 92px; /* Figma: gallery vége y:2467 → folyamat y:2559, gap:92px */
	padding-bottom: 80px;
}

.famingo-process__container {
	max-width: calc(var(--container-max-width) + 2 * var(--container-padding-desktop));
	margin: 0 auto;
	padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.famingo-process__container {
		padding: 0 var(--container-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.famingo-process__container {
		padding: 0 var(--container-padding-desktop);
	}
}

/* ── HEADING ── */
.famingo-process__heading-wrap {
	position: relative;
	margin-bottom: 62px; /* Figma: heading bottom y:2640 → step01 y:2702, gap:62px */
}

.famingo-process__decoration {
	display: none;
}

@media (min-width: 1200px) {
	.famingo-process__decoration {
		display: block;
		position: absolute;
		left: 0;
		top: -11px; /* decoration y:2559 vs heading y:2570 → -11px */
		width: 486px;
		height: 92px;
		z-index: 0;
		pointer-events: none;
	}
}

.famingo-process__heading {
	font-family: var(--font-display);
	font-size: clamp(42px, 6vw, 70px);
	font-weight: 700;
	line-height: 1em;
	color: var(--color-text);
	margin: 0;
	position: relative;
	z-index: 1;
	text-align: center;
}

@media (min-width: 1200px) {
	.famingo-process__heading {
		font-size: 70px;
		text-align: left;
	}
}

/* ── STEPS LIST ── */
.famingo-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

@media (min-width: 1200px) {
	.famingo-process__list {
		gap: 51px; /* Figma: 357px - 306px content height */
	}
}

/* ── SINGLE STEP ── */
/* Mobile/tablet: mindkét elem középre igazítva, szöveg előbb, fotó alatta */
.famingo-process__step {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.famingo-process__step-inner {
	width: 100%;
	max-width: 580px; /* Figma: title w:579px */
	order: 1; /* szöveg mindig előbb */
}

.famingo-process__photo-wrap {
	width: 100%;
	max-width: 616px; /* Figma: photo w:616px */
	margin-top: 24px;
	order: 2; /* fotó mindig utána */
}

/* ── STEP: 2-col flex layout (desktop) ── */
/* Bal (01,03,05): step-inner bal | photo-wrap jobb (DOM-sorrend: inner, photo) */
/* Jobb (02,04,06): photo-wrap bal | step-inner jobb (DOM-sorrend: photo, inner) */
/* Figma: photo 616px + text 616px = 1232px, gap:0 — pontosan kitölti a tartalomterületet */
@media (min-width: 1200px) {
	.famingo-process__step {
		flex-direction: row;
		align-items: center;
		gap: 0;
	}

	/* Szöveges tartalom: a tartalom felét foglalja el (Figma: 616px) */
	.famingo-process__step-inner {
		flex: 0 0 50%;
		min-width: 0;
		max-width: 616px;
		margin-top: 0;
		order: unset;
	}

	/* Fotó: a tartalom felét foglalja el (Figma: 616px) */
	.famingo-process__photo-wrap {
		flex: 0 0 50%;
		max-width: 616px;
		margin-top: 0;
		order: unset;
	}

	/* Bal lépések (01,03,05): 37px külső behúzás + 93px belső gap = 130px → content 486px */
	.famingo-process__step--left .famingo-process__step-inner {
		padding-left: 37px;
		padding-right: 93px;
	}

	/* Jobb lépések (02,04,06): 93px belső gap + 37px külső behúzás = 130px → content 486px */
	.famingo-process__step--right .famingo-process__step-inner {
		padding-left: 93px;
		padding-right: 37px;
	}
}

/* ── BADGE + ICON sor ── */
.famingo-process__step-top {
	display: flex;
	align-items: center;
	gap: 25px; /* Figma: badge right x:284, icon left x:309 → 25px */
	margin-bottom: 29px; /* Figma: badge y:2702+82=2784 → title y:2813, gap:29px */
}

/* Jobb lépéseknél az ikon a badge bal oldalán van */
.famingo-process__step--right .famingo-process__step-top {
	flex-direction: row-reverse;
}

@media (min-width: 768px) {
	.famingo-process__step--right .famingo-process__step-top {
		justify-content: flex-end;
	}
}

/* ── SCALLOPED BADGE (step szám) ── */
/* Figma: 143×82px, Lora 700 70px, szám középen */
.famingo-process__badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 143px;
	height: 82px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	font-family: var(--font-display);
	font-size: clamp(44px, 5vw, 70px);
	font-weight: 700;
	line-height: 1;
	color: var(--color-text);
}

@media (min-width: 1200px) {
	.famingo-process__badge {
		font-size: 70px;
	}
}

.famingo-process__badge--blue {
	background-image: url('../images/step-badge-blue.png');
}

.famingo-process__badge--pink {
	background-image: url('../images/step-badge-pink.png');
}

/* ── IKON ── */
.famingo-process__icon {
	flex-shrink: 0;
	display: block;
	object-fit: contain;
}

/* ── STEP TITLE ── */
/* Figma: DIN Alternate → Barlow Condensed, 700, 24px, lineHeight 1.04em */
.famingo-process__title {
	font-family: var(--font-body);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.04em;
	color: var(--color-text);
	margin: 0 0 16px;
}

/* ── ELVÁLASZTÓ VONAL ── */
/* Figma: 1px solid black, 486px wide (Vector 15/14 stb.) */
.famingo-process__divider {
	border: none;
	border-top: 1px solid var(--color-text);
	margin: 0 0 16px;
}

/* ── DESCRIPTION ── */
/* Figma: DIN Alternate → Barlow Condensed, 700, 16px, lineHeight 1.5625em */
.famingo-process__desc {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5625em;
	color: var(--color-text);
	margin: 0;
}

/* ── STEP PHOTO ── */
/* Figma: 616×306px, borderRadius: 40px */
.famingo-process__photo {
	display: block;
	width: 100%;
	aspect-ratio: 616 / 306;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 1); /* Figma: effect_GKL0ND */
}

@media (min-width: 1200px) {
	.famingo-process__photo {
		height: 306px;
		aspect-ratio: auto;
		border-radius: 40px;
	}
}

/* ==========================================================================
   10b. ZÁRÓ CTA SZEKCIÓ
   Figma: y:4893–5418 | 1232×525px kártya | bg:#B93F71, radius:40px
   ========================================================================== */

.famingo-cta {
	margin-top: 92px;
	padding-bottom: 80px;
}

.famingo-cta__container {
	max-width: calc(var(--container-max-width) + 2 * var(--container-padding-desktop));
	margin: 0 auto;
	padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.famingo-cta__container {
		padding: 0 var(--container-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.famingo-cta__container {
		padding: 0 var(--container-padding-desktop);
	}
}

/* Kártya */
.famingo-cta__card {
	position: relative;
	overflow: hidden;
	background: #B93F71;
	border-radius: 40px;
	border: 1px solid var(--color-text);
	box-shadow: var(--shadow-hard);
	padding: 60px 32px;
	text-align: center;
}

@media (min-width: 1200px) {
	.famingo-cta__card {
		padding: 99px 80px 100px; /* Figma: content y:99, h:326, card h:525 */
	}
}

/* Dekoratív pink glów — jobb oldal */
.famingo-cta__glow {
	position: absolute;
	right: 0;
	top: 0;
	width: 525px;
	height: 525px;
	background: radial-gradient(circle at 50% 50%, rgba(238, 76, 114, 1) 0%, rgba(238, 76, 114, 0) 100%);
	filter: blur(9.9px);
	pointer-events: none;
}

/* Pozícionálási kontextus a flamingóhoz */
.famingo-cta__inner {
	position: relative;
}

/* Tartalom — centered, max 750px */
.famingo-cta__content {
	position: relative;
	z-index: 1;
	max-width: 750px;
	margin: 0 auto;
}

/* Heading */
.famingo-cta__heading {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 45px);
	font-weight: 700;
	line-height: 1.22em;
	color: #ffffff;
	margin: 0 0 16px;
}

/* Dekoratív vonalelement a cím alatt */
.famingo-cta__decoration {
	display: block;
	width: 100%;
	max-width: 355px;
	height: auto;
	margin: 0 auto 32px;
}

/* Bekezdés szöveg a dekoráció alatt */
.famingo-cta__body {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5625em;
	color: #ffffff;
	text-align: center;
	margin: 0 auto 40px;
	max-width: 580px;
}

/* Flamingó — jobb alsó sarok, kártyán kívül (Figma: right:-16px, bottom:-63px) */
.famingo-cta__flamingo {
	display: none; /* mobil: rejtve */
}

@media (min-width: 1200px) {
	.famingo-cta__flamingo {
		display: block;
		position: absolute;
		right: -16px;
		bottom: -63px;
		width: 240px;
		height: auto;
		pointer-events: none;
		z-index: 2;
	}
}

/* CTA gomb */
.famingo-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 24px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	background: var(--color-accent);
	border: 1px solid var(--color-text);
	border-radius: var(--radius-button);
	box-shadow: var(--shadow-hard);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.famingo-cta__btn:hover {
	opacity: 0.88;
	transform: translateY(-2px);
}

/* ==========================================================================
   11. FOOTER — Figma: #F0F0F0 kártya, border-radius 35px, hard shadow
   ========================================================================== */

.site-footer {
	padding-top: 40px;
	padding-bottom: 48px;
}

@media (min-width: 768px) {
	.site-footer {
		padding-top: 48px;
		padding-bottom: 56px;
	}
}

@media (min-width: 1200px) {
	.site-footer {
		padding-top: 52px;
		padding-bottom: 64px;
	}
}

/* Konténer — azonos max-width és padding a többi szekcióval */
.site-footer__container {
	max-width: calc(var(--container-max-width) + 2 * var(--container-padding-desktop));
	margin: 0 auto;
	padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
	.site-footer__container {
		padding: 0 var(--container-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.site-footer__container {
		padding: 0 var(--container-padding-desktop);
	}
}

/* Kártya — Figma: #F0F0F0, border-radius 35px, 1px solid #000, hard shadow */
.site-footer__card {
	background: var(--color-card-bg);
	border-radius: 35px;
	border: 1px solid var(--color-text);
	box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 1);
	padding: 28px 24px 16px;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.site-footer__card {
		padding: 32px 38px 16px;
	}
}

/* -----------------------------------------------------------------------
   Felső sor: kapcsolat bal + logó KÖZÉPEN
   Mobil: flex-column, logó első (order:-1)
   Desktop: 3-oszlopos grid (1fr auto 1fr) → logó pontosan közép
   ----------------------------------------------------------------------- */
.site-footer__top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

@media (min-width: 768px) {
	.site-footer__top {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: start;
		gap: 0;
		margin-bottom: 10px;
	}
}

/* Bal oszlop — kapcsolat adatok */
.site-footer__left {
	display: flex;
	justify-content: center;
}

@media (min-width: 768px) {
	.site-footer__left {
		justify-content: flex-start;
	}
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	text-align: center;
}

@media (min-width: 768px) {
	.site-footer__contact {
		text-align: left;
	}
}

.site-footer__contact-label,
.site-footer__email,
.site-footer__phone {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 2.0833em; /* Figma: 25px / 12px */
}

.site-footer__email,
.site-footer__phone {
	text-decoration: none;
	transition: color var(--transition-base);
}

.site-footer__email:hover,
.site-footer__phone:hover {
	color: var(--color-primary);
}

/* Közép oszlop — logó (Figma: x:475, center=616=1232/2) */
.site-footer__wordmark {
	display: flex;
	justify-content: center;
	align-items: center;
	order: -1; /* mobil: logó felülre */
}

@media (min-width: 768px) {
	.site-footer__wordmark {
		order: 0;
	}
}

.site-footer__wordmark img {
	display: block;
	height: 43px;
	width: auto;
	max-width: 285px;
	filter: brightness(0); /* fehér logó → fekete a világos kártyán */
}

/* -----------------------------------------------------------------------
   Középső sor: social ikonok (bal) + elválasztó vonal
   Figma: FB x:38, IG x:63 → vonal x:189 → x:1042
   ----------------------------------------------------------------------- */
.site-footer__mid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}


/* Social ikonok */
.site-footer__social {
	display: flex;
	align-items: center;
	gap: 6px; /* Figma: FB x:38, IG x:63 → gap = 63-(38+19) = 6px */
	flex-shrink: 0;
	align-self: center;
}

@media (min-width: 768px) {
	.site-footer__social {
		align-self: flex-start;
	}
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	opacity: 0.75;
	transition: opacity var(--transition-base);
}

.site-footer__social-link:hover {
	opacity: 1;
}

/* Elválasztó vonal — 70% szélesség, középre igazítva minden méreten */
.site-footer__line {
	width: 70%;
	height: 1px;
	background: var(--color-text);
}

/* -----------------------------------------------------------------------
   Copyright — középre igazítva (Figma: x:490, w:252, center=616=1232/2)
   ----------------------------------------------------------------------- */
.site-footer__copyright {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 2.0833em;
	text-align: center;
	align-self: center; /* flex gyerek: vízszintesen középre */
	width: 100%;
	margin: 0;
}

