/* =============================================================
   Semarti, strona O nas CSS (Etap 5)
   Ładowany tylko na stronie O nas (page-o-nas.php). Ten sam wzorzec
   zmiennych i klas co semarti-contact.css i semarti-custom-order.css,
   te same wartości palety z Etapu 3B. Bez fioletu.
   ============================================================= */

/* Zmienne */
.semarti-about {
	--sma-dark:       #151413;
	--sma-dark-grad:  linear-gradient(135deg, #151413 0%, #2A2520 100%);
	--sma-light:      #FAF7F1;
	--sma-light-warm: #F1E8D9;
	--sma-white:      #FFFDF8;
	--sma-accent:     #2A2520;
	--sma-accent-h:   #3A3129;
	--sma-accent-warm:#B88442;
	--sma-text:       #1F1D1A;
	--sma-text-2:     #6F675D;
	--sma-border:     #E3D6C4;
	--sma-radius:     8px;
	--sma-radius-lg:  14px;
	--sma-shadow:     0 2px 12px rgba(0,0,0,.08);
	--sma-shadow-lg:  0 8px 40px rgba(0,0,0,.14);
	--sma-t:          .25s ease;
	--sma-max:        1200px;
	--sma-px:         clamp(16px, 4vw, 48px);
}

/* Reset scope */
.semarti-about {
	background: var(--sma-light);
	color: var(--sma-text);
	line-height: 1.65;
}

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

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

/* Ciemne sekcje, override globalnego koloru tekstu */
.semarti-about-hero p,
.semarti-about-process p,
.semarti-about-cta p {
	color: rgba(255,255,255,.88);
}
.semarti-about-hero h1,.semarti-about-hero h2,.semarti-about-hero h3,
.semarti-about-process h1,.semarti-about-process h2,.semarti-about-process h3,
.semarti-about-cta h1,.semarti-about-cta h2,.semarti-about-cta h3 {
	color: #fff;
}

/* Layout helpers */
.semarti-about-container {
	max-width: var(--sma-max);
	margin: 0 auto;
	padding: 0 var(--sma-px);
}

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

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

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

/* ==============================================================
   HERO
============================================================== */

.semarti-about-hero {
	background: var(--sma-dark);
	position: relative;
	overflow: hidden;
}

.semarti-about-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 30%, rgba(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-about-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: clamp(460px, 60vh, 660px);
	align-items: center;
}

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

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

.semarti-about-hero__title {
	font-size: clamp(32px, 4.2vw, 48px);
	font-weight: 800;
	color: #fff;
	letter-spacing: -.01em;
	line-height: 1.15;
	margin-bottom: 18px;
}

.semarti-about-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-about-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

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

.semarti-about-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-about-hero__inner {
		grid-template-columns: 1fr;
		min-height: unset;
	}
	.semarti-about-hero__visual { order: -1; height: 240px; padding-top: 24px; }
	.semarti-about-hero__img { max-height: 220px; }
	.semarti-about-hero__text { padding-top: 24px; padding-bottom: 40px; }
	.semarti-about-hero__actions { flex-direction: column; align-items: stretch; }
	.semarti-about-hero__actions .semarti-about-btn { width: 100%; text-align: center; }
}

/* ==============================================================
   HISTORIA
============================================================== */

.semarti-about-story {
	background: var(--sma-white);
	padding: clamp(56px,8vw,96px) 0;
}

.semarti-about-story__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.semarti-about-story__label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sma-accent-warm);
	margin-bottom: 12px;
}

.semarti-about-story__title {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	margin-bottom: 20px;
}

.semarti-about-story__text {
	font-size: 15.5px;
	line-height: 1.75;
}
.semarti-about-story__text:last-child { margin-bottom: 0; }

/* ==============================================================
   TRZY FILARY / DLA KOGO (wspólne karty)
============================================================== */

.semarti-about-values {
	background: var(--sma-light);
	padding: clamp(48px,7vw,88px) 0;
}
.semarti-about-for-whom {
	background: var(--sma-white);
	padding: clamp(48px,7vw,88px) 0;
}

.semarti-about-values__header,
.semarti-about-for-whom__header,
.semarti-about-process__header {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}

.semarti-about-values__title,
.semarti-about-for-whom__title,
.semarti-about-process__title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
}

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

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

.semarti-about-for-whom .semarti-about-card {
	background: var(--sma-white);
}

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

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

/* ==============================================================
   PROCES
============================================================== */

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

.semarti-about-process__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}
@media (max-width: 980px) { .semarti-about-process__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .semarti-about-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-about-process__step {
	background: rgba(255,255,255,.09);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--sma-radius-lg);
	box-shadow: 0 6px 24px rgba(0,0,0,.25);
	padding: 22px 20px;
}

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

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

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

/* ==============================================================
   CTA DOLNY
============================================================== */

.semarti-about-cta {
	background: var(--sma-dark);
}

.semarti-about-cta__inner {
	padding: clamp(56px,8vw,96px) 0;
	text-align: center;
}

.semarti-about-cta__title {
	font-size: clamp(24px, 3.2vw, 38px);
	font-weight: 800;
	margin: 0 auto 22px;
	max-width: 40ch;
}

.semarti-about-cta__text {
	font-size: clamp(15px, 1.8vw, 17px);
	color: rgba(255,255,255,.85);
	max-width: 52ch;
	margin: 0 auto 34px;
	line-height: 1.65;
}

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