/*
 * Style podstrony /o-nas/ (.about). Ładowane warunkowo tylko na o-nas.
 * Reużywa tokenów :root (style.css), .wrap, .reveal, .grad-text, .btn z main.css.
 * Bez własnego resetu/tokenów globalnych — motyw je daje.
 */
.about {
	--about-text-2: var(--t2);
	--about-text-3: var(--t3);
	--about-border: rgba(158, 122, 255, 0.12);
	--about-border-h: rgba(158, 122, 255, 0.26);
	overflow-x: hidden;
}
.about .wrap { max-width: 1060px; }

/* Badge */
.about__badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 14px; border-radius: 100px;
	background: linear-gradient(160deg, rgba(158,122,255,.12), rgba(254,139,187,.12));
	border: 1px solid rgba(158,122,255,.2);
	font-size: var(--fs-200); font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
	color: var(--g1); margin-bottom: 18px;
}
.about__badge--center { display: inline-flex; }

/* Divider */
.about__divider {
	height: 1px; max-width: 600px; margin: 0 auto; opacity: .3;
	background: linear-gradient(90deg, transparent, var(--g1), var(--g2), transparent);
}

/* Hero */
.about__hero { position: relative; padding: var(--sp-sec) 0 var(--sp-sect); text-align: center; overflow: hidden; }
.about__hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.about__hero-bg canvas { width: 100%; height: 100%; opacity: .35; }
.about__hero-content { position: relative; z-index: 1; }
.about__hero h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
.about__hero-sub { font-size: var(--fs-400); color: var(--about-text-2); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.about__hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }

/* Misja */
.about__misja { padding: var(--sp-sec) 0; }
.about__misja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about__misja h2 { font-size: var(--fs-800); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 24px; }
.about__misja p { font-size: var(--fs-400); color: var(--about-text-2); line-height: 1.65; margin-bottom: 16px; }
.about__misja-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; }

/* Stats */
.about__stats { padding: var(--sp-sect) 0; }
.about__stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about__stat { text-align: center; padding: 32px 16px; border-radius: 14px; background: var(--bg-elev); border: 1.5px solid var(--about-border); transition: border-color .3s ease, transform .3s ease; }
.about__stat:hover { border-color: var(--about-border-h); transform: translateY(-3px); }
.about__stat-num { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; }
.about__stat-label { font-size: var(--fs-200); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--about-text-3); }

/* Kierunek / timeline */
.about__kierunek { padding: var(--sp-sec) 0; }
.about__kierunek h2 { font-size: var(--fs-800); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 24px; text-align: center; }
.about__timeline { position: relative; max-width: 600px; margin: 40px auto 0; padding-left: 40px; }
.about__timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--g1), var(--g2), transparent); }
.about__timeline-item { position: relative; padding-bottom: 36px; }
.about__timeline-dot { position: absolute; left: -34px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(160deg, var(--g1), var(--g2)); box-shadow: 0 0 12px rgba(158,122,255,.4); }
.about__timeline-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--bg); }
.about__timeline-year { font-size: var(--fs-200); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g1); margin-bottom: 6px; }
.about__timeline-text { font-size: var(--fs-400); color: var(--about-text-2); line-height: 1.6; }

/* Features */
.about__features { padding: var(--sp-sec) 0; }
.about__features h2 { font-size: var(--fs-800); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 40px; text-align: center; }
.about__features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about__feature { padding: 28px 26px; border-radius: 14px; background: var(--bg-elev); border: 1.5px solid var(--about-border); transition: border-color .3s ease, transform .3s ease; position: relative; overflow: hidden; }
.about__feature:hover { border-color: var(--about-border-h); transform: translateY(-2px); }
.about__feature-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(160deg, rgba(158,122,255,.15), rgba(254,139,187,.15)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about__feature-icon svg { width: 22px; height: 22px; }
.about__feature h3 { font-size: var(--fs-600); font-weight: 700; margin-bottom: 10px; color: var(--text); }
.about__feature p { font-size: var(--fs-300); color: var(--about-text-2); line-height: 1.6; }

/* CTA */
.about__cta { padding: var(--sp-sec) 0; text-align: center; }
.about__cta-box { padding: 48px 40px; border-radius: 20px; background: var(--bg-elev); border: 1.5px solid var(--about-border); position: relative; overflow: hidden; }
.about__cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.about__cta-box h2 { font-size: var(--fs-800); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.about__cta-box p { font-size: var(--fs-400); color: var(--about-text-2); margin: 0 auto 28px; max-width: 520px; line-height: 1.6; }
.about__cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* .btn--ghost — styl w main.css (wspólny system przycisków) */

/* Floating shapes */
.about__shape { position: absolute; border-radius: 50%; pointer-events: none; opacity: .08; }
.about__shape--1 { width: 280px; height: 280px; background: radial-gradient(circle, var(--g1), transparent 70%); top: -100px; right: -80px; animation: aboutFloat 8s ease-in-out infinite; }
.about__shape--2 { width: 200px; height: 200px; background: radial-gradient(circle, var(--g2), transparent 70%); bottom: -60px; left: -60px; animation: aboutFloat 10s ease-in-out infinite reverse; }
@keyframes aboutFloat { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(15px,-20px); } }

@media (max-width: 768px) {
	.about__misja-grid { grid-template-columns: 1fr; gap: 32px; }
	.about__misja-visual { min-height: 220px; order: -1; }
	.about__stats-row { grid-template-columns: 1fr; gap: 14px; }
	.about__stat { padding: 24px 16px; }
	.about__features-grid { grid-template-columns: 1fr; }
	.about__cta-box { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.about__shape { animation: none; }
}
