/* Frytekniema: replaces the MyThemeShop "Blocks" theme, Elementor and HTML Forms CSS.
   Values taken from the old site's computed styles (Oct 2026). */
:root {
	--ink: #091e42;      /* headings */
	--text: #505f79;     /* body text */
	--muted: #6c798f;    /* footer text */
	--link: #59aa69;
	--green: #8bc225;    /* button, "Do góry" */
	--line: #e4e4e4;
	--shadow: 0 10px 20px rgba(9, 30, 66, .04), 0 20px 250px rgba(9, 30, 66, .04);
	--gap: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font: 400 16px/28px Nunito, system-ui, sans-serif;
	color: var(--text);
	background: #fefefe var(--tile) center / auto repeat;
}
img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
picture { display: contents; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { color: var(--ink); font-weight: 700; margin: 0 0 12px; font-size: 28px; line-height: 1.4; }
p { margin: 0 0 20px; }
.container { max-width: 1170px; margin: 0 auto; }
.center { text-align: center; }

/* Header */
.site-header { background: #fff; padding: 20px 0; box-shadow: var(--shadow); position: relative; z-index: 2; }
.site-header .container { min-height: 135px; display: flex; align-items: flex-start; }
.logo { display: block; margin-top: 11px; }
.logo img { display: block; width: 220px; height: auto; }

/* Content area: white column on the chips pattern */
.wrapper { margin-top: 80px; }
.article { background: #fff; padding: 0 25px 20px; margin-bottom: 40px; }
.article > section { padding: 10px 0; }

/* Hero: heading on the yellow blob */
.hero { margin: 0 -10px; padding: 0 !important; background: #fff var(--blob) center / contain no-repeat; }
.hero h1 {
	margin: 0; padding: 110px 10px; text-align: center;
	font-size: 60px; line-height: 60px;
	text-shadow: 3px 2px 10px rgba(0, 0, 0, .3);
}

/* "Dania jedynie jadalne" + words carousel */
.intro { text-align: center; padding-top: 70px !important; padding-bottom: 60px !important; }
.lead { color: var(--ink); font-weight: 700; font-size: 28px; line-height: 39.2px; margin: 0 0 32px; }
.carousel { width: 340px; max-width: 100%; height: 78px; margin: 0 auto 20px; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform .4s ease; }
.carousel-slide { flex: 0 0 100%; width: 100%; height: 78px; object-fit: cover; }

/* Two-column sections */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.needs h2 { margin-bottom: 12px; }
.needs ul { margin: 0 0 20px; padding: 0 0 0 19px; font-size: 18px; line-height: 28px; }
.needs ul li::marker { font-size: 14px; }
.tomato { width: 200px; margin: 41px; }
.founder { align-items: center; padding-top: 110px !important; }
.founder h2 { margin: 0; max-width: 577px; }
.founder img { filter: contrast(1.05); } /* as on the old site: turns the photo's off-white background white */

/* Contact */
.contact { padding-top: 120px !important; }
.contact .note { font-size: 18px; margin-bottom: 40px; }
.contact-form { max-width: 550px; }
.contact-form p { margin: 0 0 20px; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea {
	display: block; width: 60%; padding: 8px 12px; margin-top: 2px;
	font: 400 14px/1.5 Nunito, sans-serif; color: #444;
	background: #fff; border: 1px solid var(--line); border-radius: 0;
}
.contact-form textarea { width: 95%; height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.contact-form button {
	width: 130px; height: 46px; padding: 8px 12px; margin-top: 10px;
	font: 700 14px Nunito, sans-serif; color: #fff; background: var(--green);
	border: 1px solid var(--line); border-radius: 5px; cursor: pointer;
}
.contact-form button:hover { filter: brightness(.95); }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.cf-hp { position: absolute; left: -9999px; }
.cf-status { font-weight: 700; min-height: 28px; }
.cf-status.is-ok { color: var(--link); }
.cf-turnstile { margin: 0 0 10px; }

.pfr { text-align: center; padding-top: 0 !important; }

/* Text pages */
.page { padding: 40px 0 !important; }
.page h1 { margin-bottom: 20px; }
.policy ol { padding-left: 1.6em; }
.policy .sections > li { margin-bottom: 16px; color: var(--ink); font-weight: 700; }
.policy .sections > li > ol { color: var(--text); font-weight: 400; }
.policy ol ol ol { list-style: lower-alpha; }
.policy li { margin: 4px 0; }

/* Footer */
.site-footer { background: #fff; margin-top: 10px; padding-top: 80px; box-shadow: 0 -10px 20px rgba(9, 30, 66, .04), 0 -20px 250px rgba(9, 30, 66, .04); position: relative; }
.company { text-align: center; font-size: 14px; line-height: 22.4px; color: var(--muted); margin: 0 0 40px; }
.company strong { font-weight: 700; }
.to-top {
	display: flex; align-items: center; gap: 15px; width: max-content; margin: 0 0 0 auto;
	padding: 12px 15px 11px 25px; font-size: 14px; font-weight: 500; line-height: 1;
	color: var(--green); border: 1px solid var(--green); border-radius: 4px; background: #fff;
}
.to-top:hover { background: var(--green); color: #fff; text-decoration: none; }
.copyright { text-align: center; padding: 40px 0; font-size: 12px; color: var(--muted); }

/* Entrance animation (Elementor "zoomIn") — only with JS and without reduced motion */
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; }
	.js .reveal.is-in { opacity: 1; animation: zoomIn 1.25s both; }
	.js .reveal.slow.is-in { animation-duration: 2s; }
}

/* Tablet / phone (Elementor breakpoints 1024 / 767) */
@media (max-width: 1200px) { .container { margin: 0 15px; } }
@media (max-width: 767px) {
	body { font-size: 15px; }
	.container { margin: 0 8px; }
	.site-header .container { justify-content: center; min-height: 0; }
	.logo { margin: 0; }
	.wrapper { margin-top: 60px; }
	.article { padding: 0 10px 20px; }
	.hero { margin: 0; min-height: 420px; display: flex; align-items: center; justify-content: center; }
	.hero h1 { font-size: clamp(38px, 11vw, 60px); line-height: 1; padding: 60px 0; }
	.intro { padding-top: 50px !important; }
	.cols, .founder { grid-template-columns: 1fr; }
	.founder { padding-top: 60px !important; }
	.contact { padding-top: 60px !important; }
	.contact-form input { width: 100%; }
	.contact-form textarea { width: 100%; }
	.to-top { margin: 0 8px 0 auto; }
	.copyright { padding: 20px 0; }
}
