/*
Theme Name: WebHeaven Łódź
Description: Strona ofertowa SEO dla firm z Łodzi.
Version: 1.1
Text Domain: webheaven-lodz
*/
@font-face {
	font-family: Bricolage;
	src: url("assets/bricolage-pl.woff2") format("woff2");
	font-weight: 650 800;
	font-display: swap;
}
@font-face {
	font-family: Geist;
	src: url("assets/geist-pl.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}
:root {
	color-scheme: light;
	--paper: #f8f6f1;
	--ink: #201d1b;
	--muted: #59514d;
	--line: #d9d1c7;
	--accent: #b72e24;
	--accent-hover: #92221b;
	--blush: #f2e3dd;
	--display: Bricolage, "Arial Narrow", system-ui, sans-serif;
	--body: Geist, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
a { color: inherit; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
:where(section, article)[id] { scroll-margin-top: 24px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { font-size: clamp(2.35rem, 5.2vw, 5rem); line-height: .99; letter-spacing: -.065em; font-weight: 750; }
h3 { font-size: 1.36rem; line-height: 1.12; font-weight: 730; letter-spacing: -.025em; }
.wrap { width: min(calc(100% - 112px), 1280px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 5; padding: 10px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font: 800 1.6rem/1 var(--display); letter-spacing: -.065em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; background: var(--accent); color: white; font: 700 1.15rem/1 var(--body); }
.brand-accent { color: var(--accent); }
.navigation { display: flex; gap: clamp(16px, 3vw, 43px); align-items: center; }
.navigation a { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-cta { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; font-size: .91rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.button span { font-size: 1.13rem; line-height: 1; }
.button-primary { background: var(--accent); border-color: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.button-outline { border-color: var(--line); }
.button-outline:hover { border-color: var(--accent); }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; width: fit-content; font-size: .91rem; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line); }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 40px; align-items: center; padding-block: 50px 42px; }
.hero-copy { padding-bottom: 16px; }
.hero h1 { font-size: clamp(4.2rem, 8.25vw, 8.1rem); font-weight: 800; line-height: .9; letter-spacing: -.084em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-copy > p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 30em; color: var(--muted); margin-top: 28px; line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.hero-figure { min-width: 0; }
.hero-photo {
	position: relative;
	isolation: isolate;
	aspect-ratio: 1.30;
	overflow: hidden;
	background: #ded6c9;
}
.hero-photo picture, .process-art picture { position: absolute; inset: 0; display: block; }
.hero-photo img, .process-art img { width: 100%; max-width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-photo img { object-position: 53% 46%; }
.photo-frame { position: absolute; inset: 13px; border: 1px solid rgb(255 255 255 / .6); }
.hero-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; color: var(--muted); font: 500 .68rem/1.4 var(--body); letter-spacing: .1em; text-transform: uppercase; }

.service-index { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.service-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 15px clamp(12px, 2.1vw, 28px); min-height: 65px; font-size: .92rem; font-weight: 650; text-decoration: none; }
.service-index a + a { border-inline-start: 1px solid var(--line); }
.service-index a:hover { background: var(--blush); }
.index-icon, .index-arrow { color: var(--accent); font-size: 1.15rem; line-height: 1; }

.section { padding-block: clamp(62px, 8vw, 115px); }
.eyebrow { font-size: .73rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--accent); margin-bottom: 15px; }
.section-intro { display: grid; grid-template-columns: 1.35fr 1fr; column-gap: 52px; align-items: end; margin-bottom: 43px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro > p:last-child { color: var(--muted); max-width: 33rem; }
.service-row { display: grid; grid-template-columns: 62px .85fr 1fr; align-items: center; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row p { color: var(--muted); max-width: 34rem; }
.row-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--blush); color: var(--accent); font-size: 1.4rem; }

.process { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(32px, 7vw, 104px); align-items: center; padding-top: 0; }
.process-art { position: relative; min-width: 0; width: 100%; min-height: 100%; aspect-ratio: 1.2; background: var(--blush); }
.steps { list-style: none; margin: 27px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding-block: 16px; border-top: 1px solid var(--line); }
.steps li > span { color: var(--accent); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 5px; color: var(--muted); font-size: .95rem; }

.faq { display: grid; grid-template-columns: .76fr 1.24fr; gap: 50px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; min-height: 62px; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; color: var(--accent); font: 500 1.5rem/1 var(--body); }
.faq details[open] summary::after { content: "−" / ""; }
.faq details p { color: var(--muted); padding-bottom: 17px; max-width: 53ch; }

.contact-section { margin-bottom: clamp(62px, 7vw, 106px); }
.contact { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 24px 48px; border-top: 3px solid var(--accent); background: var(--blush); padding: clamp(27px, 5vw, 64px); }
.contact p { margin-top: 17px; color: var(--muted); max-width: 49ch; }
.contact-actions { display: grid; justify-items: start; }
.contact-actions .button { margin-bottom: 8px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 23px; font-size: .88rem; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 15px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.basic-page { padding-block: 80px; }

@media (max-width: 1050px) {
	.wrap { width: calc(100% - 64px); }
	.hero { gap: 28px; }
	.hero h1 { font-size: clamp(3.65rem, 8.25vw, 6.1rem); }
	.hero-photo { aspect-ratio: 1.13; }
	.service-row { grid-template-columns: 48px .8fr 1fr; }
}
@media (max-width: 760px) {
	.wrap { width: calc(100% - 36px); }
	.header-inner { grid-template-columns: 1fr auto; min-height: 64px; gap: 0 10px; padding-top: 10px; }
	.header-cta { grid-column: 2; grid-row: 1; min-height: 42px; gap: 8px; padding-inline: 10px; font-size: .8rem; }
	.navigation { grid-column: 1 / -1; gap: 22px; }
	.navigation a { display: flex; align-items: center; min-height: 44px; font-size: .81rem; }
	.brand { font-size: 1.36rem; }
	.brand-mark { width: 25px; height: 25px; }
	.hero { grid-template-columns: 1fr; gap: 29px; padding-block: 38px 25px; }
	.hero-copy { padding: 0; }
	.hero h1 { font-size: clamp(2.8rem, 12.9vw, 6.4rem); }
	.hero-copy > p { margin-top: 18px; }
	.hero-actions { margin-top: 20px; }
	.hero-photo { aspect-ratio: 1.34; }
	.photo-frame { inset: 9px; }
	.service-index { grid-template-columns: 1fr; }
	.service-index a { min-height: 48px; padding: 9px 4px; }
	.service-index a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
	.section-intro, .process, .faq, .contact { grid-template-columns: 1fr; gap: 21px; }
	.section-intro { gap: 12px; margin-bottom: 27px; }
	.section-intro .eyebrow { margin-bottom: 0; }
	.service-row { grid-template-columns: 40px 1fr; gap: 6px 12px; padding-block: 18px; }
	.service-row p { grid-column: 2; }
	.row-icon { width: 35px; height: 35px; }
	.process-art { min-height: 0; aspect-ratio: 1.5; }
	.faq summary { min-height: 58px; }
	.footer-main { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

.contact-actions { margin-top: 15px; }
.contact-form { min-width: 0; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
.form-field { display: grid; align-content: start; gap: 4px; }
.field-website, .field-message { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 650; }
.form-field input, .form-field textarea {
	width: 100%;
	padding: 10px 12px;
	min-height: 45px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid #9a8680;
	border-radius: 0;
	font: inherit;
	line-height: 1.4;
}
.form-field textarea { resize: vertical; }
.form-field [aria-invalid="true"] { border-color: var(--accent); }
.contact .form-privacy { margin: 11px 0 14px; font-size: .77rem; line-height: 1.55; }
.form-privacy a { display: inline-block; }
.contact .form-status { margin: 0 0 14px; padding: 10px 13px; border: 1px solid currentColor; color: var(--ink); }
.contact .form-error, .field-error { color: var(--accent-hover); }
.field-error { font-size: .78rem; }
.contact-form button { cursor: pointer; }
@media (max-width: 430px) {
	.form-fields { grid-template-columns: 1fr; }
}








.basic-page:has(.service-detail) { padding-block: clamp(42px, 7vw, 86px); }
.basic-page:has(.service-detail) > h1 {
	max-width: 17ch;
	font-size: clamp(2.65rem, 6.7vw, 6.25rem);
	line-height: .98;
	letter-spacing: -.065em;
	overflow-wrap: anywhere;
}
.service-lead { padding-block: 21px 40px; }
.service-lead p { max-width: 53ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.24rem); }
.service-lead .button { margin-top: 20px; }
.service-detail-section { padding-block: clamp(28px, 5vw, 60px); border-top: 1px solid var(--line); }
.service-detail-section h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 15px; }
.service-detail-section p { max-width: 72ch; color: var(--muted); }
.service-detail-section p + p { margin-top: 12px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.service-detail-grid > div { border-top: 2px solid var(--accent); padding-top: 12px; }
.service-detail-grid p { margin-top: 8px; }
.service-detail-note { background: var(--blush); padding-inline: clamp(18px, 4vw, 48px); }
.service-detail-note a { margin-top: 9px; }
.service-detail-faq .faq { display: block; max-width: 72ch; border-top: 0; }
.service-detail-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.service-row h3 a { text-underline-offset: 4px; text-decoration-color: var(--line); }
@media (max-width: 760px) {
	.service-detail-grid { grid-template-columns: 1fr; }
}
