/* =============================================================
   Semarti — landing "Na zamówienie" CSS
   Ładowany tylko na stronie Na zamówienie (page-na-zamowienie.php).
   ============================================================= */

/* ── Zmienne ───────────────────────────────────────────────── */
.semarti-custom-order {
	/* Etap 3B — Paleta 3 "Nowoczesna Marka Lokalna Premium", bez fioletu.
	   Wartości pobrane ze wspólnego systemu (semarti-design-system.css),
	   z fallbackiem na wypadek, gdyby ten plik się nie załadował. */
	--sco-dark:       var(--semarti-dark, #151413);
	--sco-dark-grad:  linear-gradient(135deg, var(--semarti-dark, #151413) 0%, var(--semarti-primary, #2A2520) 100%);
	--sco-light:      var(--semarti-bg, #FAF7F1);
	--sco-light-warm: var(--semarti-surface-alt, #F1E8D9);
	--sco-white:      var(--semarti-surface, #FFFDF8);
	--sco-accent:     var(--semarti-primary, #2A2520);
	--sco-accent-h:   var(--semarti-primary-hover, #3A3129);
	--sco-accent-warm:var(--semarti-accent, #B88442);
	--sco-text:       var(--semarti-text, #1F1D1A);
	--sco-text-2:     var(--semarti-muted, #6F675D);
	--sco-border:     var(--semarti-border, #E3D6C4);
	--sco-radius:     8px;
	--sco-radius-lg:  14px;
	--sco-shadow:     0 2px 12px rgba(0,0,0,.08);
	--sco-shadow-lg:  0 8px 40px rgba(0,0,0,.14);
	--sco-t:          .25s ease;
	--sco-max:        1200px;
	--sco-px:         clamp(16px, 4vw, 48px);
}

/* ── Reset scope ───────────────────────────────────────────── */
.semarti-custom-order {
	background: var(--sco-light);
	color: var(--sco-text);
	line-height: 1.65;
}

.semarti-custom-order *,
.semarti-custom-order *::before,
.semarti-custom-order *::after { box-sizing: border-box; }

.semarti-custom-order img  { display: block; max-width: 100%; height: auto; }
.semarti-custom-order a    { text-decoration: none; color: inherit; }
/* Poprawka: patrz ten sam komentarz w semarti-portfolio.css. */
.semarti-custom-order ul   { margin-top: 0; margin-bottom: 0; padding: 0; list-style: none; }
/* Poprawka: patrz ten sam komentarz w semarti-portfolio.css, ten sam
   blad specificity powtorzony w kazdym z plikow stron Semarti. */
.semarti-custom-order p    { margin-top: 0; margin-bottom: .8rem; color: var(--sco-text-2); }
.semarti-custom-order h1,.semarti-custom-order h2,.semarti-custom-order h3,
.semarti-custom-order h4,.semarti-custom-order h5,.semarti-custom-order h6 {
	margin: 0; line-height: 1.2; color: var(--sco-text);
}

/* Ciemne sekcje, override globalnego koloru tekstu.
   Poprawka: sekcja "process" (Jak wyglada proces) miala ciemne tlo
   (--sco-dark-grad), ale zostala pominieta na tej liscie, wiec jej
   naglowki i tekst dziedziczyly domyslny, ciemny kolor tekstu
   (--sco-text), niemal niewidoczny na ciemnym tle. Dodana do obu
   grup ponizej, tak samo jak w semarti-portfolio.css,
   semarti-business.css i semarti-about.css, gdzie process byl juz
   poprawnie ujety. */
.semarti-custom-order-hero p,
.semarti-custom-order-process p,
.semarti-custom-order-cta p {
	color: rgba(255,255,255,.88);
}
.semarti-custom-order-hero h1,.semarti-custom-order-hero h2,.semarti-custom-order-hero h3,
.semarti-custom-order-process h1,.semarti-custom-order-process h2,.semarti-custom-order-process h3,
.semarti-custom-order-cta h1,.semarti-custom-order-cta h2,.semarti-custom-order-cta h3 {
	color: #fff;
}

/* ── Layout helpers ────────────────────────────────────────── */
.semarti-custom-order-container {
	max-width: var(--sco-max);
	margin: 0 auto;
	padding: 0 var(--sco-px);
}

/* ── Buttons ───────────────────────────────────────────────── */
.semarti-custom-order-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 13px 26px;
	border-radius: var(--sco-radius);
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--sco-t);
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1;
	white-space: nowrap;
}

.semarti-custom-order-btn--primary {
	background: var(--sco-accent);
	color: #fff !important;
	border-color: var(--sco-accent);
}
.semarti-custom-order-btn--primary:hover {
	background: var(--sco-accent-h);
	border-color: var(--sco-accent-h);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(var(--semarti-primary-rgb, 42,37,32),.35);
}

.semarti-custom-order-btn--outline-light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255,255,255,.35);
}
.semarti-custom-order-btn--outline-light:hover {
	border-color: rgba(255,255,255,.7);
	background: rgba(255,255,255,.1);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-hero {
	background: var(--sco-dark);
	position: relative;
	overflow: hidden;
}

.semarti-custom-order-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 30%, rgba(var(--semarti-accent-rgb, 184,132,66),.10) 0%, transparent 55%),
		radial-gradient(ellipse at 10% 80%, rgba(10,16,20,.8) 0%, transparent 60%);
	pointer-events: none;
	z-index: 1;
}

.semarti-custom-order-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: clamp(460px, 60vh, 660px);
	align-items: center;
}

.semarti-custom-order-hero__text {
	padding: clamp(56px,8vw,100px) 0;
}

.semarti-custom-order-hero__label {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sco-accent-warm);
	margin-bottom: 14px;
}

.semarti-custom-order-hero__title {
	font-size: clamp(28px, 3.8vw, 44px);
	font-weight: 800;
	color: #fff;
	letter-spacing: -.01em;
	line-height: 1.15;
	margin-bottom: 18px;
}

.semarti-custom-order-hero__desc {
	font-size: clamp(15px, 1.7vw, 17px);
	color: rgba(255,255,255,.88);
	margin-bottom: 32px;
	line-height: 1.65;
	max-width: 48ch;
}

.semarti-custom-order-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.semarti-custom-order-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.semarti-custom-order-hero__img {
	width: 100%;
	max-width: 440px;
	height: 100%;
	max-height: clamp(320px,52vh,520px);
	object-fit: contain;
	filter: drop-shadow(0 16px 48px rgba(0,0,0,.5));
	display: block;
}

@media (max-width: 860px) {
	.semarti-custom-order-hero__inner {
		grid-template-columns: 1fr;
		min-height: unset;
	}
	.semarti-custom-order-hero__visual { order: -1; height: 240px; padding-top: 24px; }
	.semarti-custom-order-hero__img { max-height: 220px; }
	.semarti-custom-order-hero__text { padding-top: 24px; padding-bottom: 40px; }
	.semarti-custom-order-hero__actions { flex-direction: column; align-items: stretch; }
	.semarti-custom-order-hero__actions .semarti-custom-order-btn { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   KARTY (współdzielone: "Co możemy wykonać" i "Dla kogo")
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-options {
	background: #fff;
	padding: clamp(48px,7vw,88px) 0;
}
.semarti-custom-order-for-whom {
	background: var(--sco-light);
	padding: clamp(48px,7vw,88px) 0;
}

.semarti-custom-order-options__header,
.semarti-custom-order-for-whom__header,
.semarti-custom-order-process__header,
.semarti-custom-order-brief__header,
.semarti-custom-order-form-section__header {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}

.semarti-custom-order-options__title,
.semarti-custom-order-for-whom__title,
.semarti-custom-order-process__title,
.semarti-custom-order-brief__title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
}

.semarti-custom-order-options__grid,
.semarti-custom-order-for-whom__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 900px) {
	.semarti-custom-order-options__grid,
	.semarti-custom-order-for-whom__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
	.semarti-custom-order-options__grid,
	.semarti-custom-order-for-whom__grid { grid-template-columns: 1fr; }
}

.semarti-custom-order-card {
	background: var(--sco-light-warm);
	border: 1px solid var(--sco-border);
	border-radius: var(--sco-radius-lg);
	padding: 26px 24px;
	transition: var(--sco-t);
}
.semarti-custom-order-card:hover {
	box-shadow: var(--sco-shadow-lg);
	transform: translateY(-2px);
}

.semarti-custom-order-card__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 8px;
}

.semarti-custom-order-card__desc {
	font-size: 14px;
	color: var(--sco-text-2);
	margin: 0;
	line-height: 1.6;
}

.semarti-custom-order-for-whom .semarti-custom-order-card {
	background: var(--sco-white);
}

/* Etap 9: maly link do strony Dla firm w pierwszym segmencie "Dla kogo". */
.semarti-custom-order-card__link {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sco-accent-warm);
}
.semarti-custom-order-card__link:hover {
	text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
   PROCES
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-process {
	background: var(--sco-dark-grad);
	padding: clamp(48px,7vw,88px) 0;
}
.semarti-custom-order-process h2 { color: #fff; }

.semarti-custom-order-process__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
@media (max-width: 980px) { .semarti-custom-order-process__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .semarti-custom-order-process__grid { grid-template-columns: 1fr; } }

/* Poprawka czytelnosci: patrz ten sam komentarz w semarti-portfolio.css
   (.semarti-portfolio-process__step), ten sam problem powtorzony tu. */
.semarti-custom-order-process__step {
	background: rgba(255,255,255,.09);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--sco-radius-lg);
	padding: 22px 20px;
	box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.semarti-custom-order-process__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sco-accent-warm);
	color: var(--sco-dark);
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 14px;
}

.semarti-custom-order-process__step-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
}

.semarti-custom-order-process__step-desc {
	font-size: 13px;
	color: rgba(255,255,255,.8);
	margin: 0;
	line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   CO WARTO PODAĆ W ZAPYTANIU
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-brief {
	background: #fff;
	padding: clamp(48px,7vw,88px) 0;
}

.semarti-custom-order-brief__list {
	max-width: 820px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 32px;
}
@media (max-width: 640px) { .semarti-custom-order-brief__list { grid-template-columns: 1fr; } }

.semarti-custom-order-brief__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14.5px;
	color: var(--sco-text);
	font-weight: 600;
}

.semarti-custom-order-brief__mark {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--sco-light-warm);
	color: var(--sco-accent-warm);
	margin-top: 1px;
}
.semarti-custom-order-brief__mark svg { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════════════════
   FORMULARZ
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-form-section {
	background: var(--sco-light);
	padding: clamp(48px,7vw,88px) 0;
}

.semarti-custom-order-form-section__title {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	margin-bottom: 12px;
}

.semarti-custom-order-form-section__desc { margin: 0; }

.semarti-custom-order-form {
	max-width: 640px;
	margin: 0 auto;
	background: var(--sco-white);
	border: 1px solid var(--sco-border);
	border-radius: var(--sco-radius-lg);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: var(--sco-shadow);
}

/* Osadzenie WPForms — tylko wygląd, bez ruszania pól/ustawień */
.semarti-custom-order-form .wpforms-container { margin: 0; }
.semarti-custom-order-form .wpforms-form { max-width: 100%; }

.semarti-custom-order-form .wpforms-field { padding: 0 0 18px; }

.semarti-custom-order-form .wpforms-field-label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--sco-text);
	margin-bottom: 6px;
}

.semarti-custom-order-form .wpforms-field input[type=text],
.semarti-custom-order-form .wpforms-field input[type=email],
.semarti-custom-order-form .wpforms-field input[type=tel],
.semarti-custom-order-form .wpforms-field input[type=url],
.semarti-custom-order-form .wpforms-field input[type=number],
.semarti-custom-order-form .wpforms-field select,
.semarti-custom-order-form .wpforms-field textarea {
	width: 100%;
	border: 1px solid var(--sco-border) !important;
	border-radius: var(--sco-radius) !important;
	padding: 12px 14px !important;
	font-size: 14.5px !important;
	color: var(--sco-text) !important;
	background: var(--sco-light) !important;
	transition: border-color var(--sco-t), box-shadow var(--sco-t);
}
.semarti-custom-order-form .wpforms-field input:focus,
.semarti-custom-order-form .wpforms-field select:focus,
.semarti-custom-order-form .wpforms-field textarea:focus {
	border-color: var(--sco-accent-warm) !important;
	box-shadow: 0 0 0 3px rgba(var(--semarti-accent-rgb, 184,132,66),.18);
	outline: none;
}

.semarti-custom-order-form .wpforms-submit-container { margin-top: 6px; }

.semarti-custom-order-form button.wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--sco-accent) !important;
	color: #fff !important;
	border: 2px solid var(--sco-accent) !important;
	border-radius: var(--sco-radius) !important;
	padding: 13px 26px !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	cursor: pointer;
	transition: var(--sco-t);
}
.semarti-custom-order-form button.wpforms-submit:hover {
	background: var(--sco-accent-h) !important;
	border-color: var(--sco-accent-h) !important;
	transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════
   CTA DOLNY
══════════════════════════════════════════════════════════════ */

.semarti-custom-order-cta {
	background: var(--sco-dark);
}

.semarti-custom-order-cta__inner {
	padding: clamp(44px,6vw,72px) 0;
	text-align: center;
}

.semarti-custom-order-cta__text {
	font-size: clamp(17px, 2vw, 21px);
	color: rgba(255,255,255,.92);
	max-width: 52ch;
	margin: 0 auto 32px;
	line-height: 1.6;
}

.semarti-custom-order-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
}
@media (max-width: 480px) {
	.semarti-custom-order-cta__actions { flex-direction: column; align-items: stretch; }
	.semarti-custom-order-cta__actions .semarti-custom-order-btn { width: 100%; text-align: center; }
}
