/* =========================================================================
   Codetech — podstrony (page-*). Style wyniesione z inline (1:1).
   ========================================================================= */
[hidden] { display: none !important; }

/* ---------- Wspólny hero podstron ---------- */
.sub-hero { position: relative; overflow: hidden; }
.sub-hero--uslugi { padding: 170px 0 90px; }
.sub-hero--realizacje { padding: 170px 0 80px; }
.sub-hero--kontakt { padding: 170px 0 60px; }
.sub-hero--wycena { padding: 170px 0 70px; }
.sub-hero--omnie { padding: 170px 0 100px; }
.sub-hero--page { padding: 170px 0 60px; }
.sub-hero__blob { position: absolute; top: -8%; right: -4%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fbe3e5, #fdf1f2 58%, rgba(255,255,255,0) 72%); filter: blur(6px); z-index: 0; animation: blobFloat 9s ease-in-out infinite; }
.sub-hero__blob--480 { width: 480px; height: 480px; }
.sub-hero__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sub-hero__title { font-size: clamp(44px, 6.6vw, 88px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin: 24px 0 0; max-width: 16ch; }
.sub-hero__subtitle { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: #5c6173; max-width: 52ch; margin: 30px 0 0; }
.sub-hero__title-line { display: block; }
.sub-hero__title-line--red { font-weight: 700; color: #C00018; }
.sub-hero__title--15 { max-width: 15ch; }
.sub-hero__title--page { font-size: clamp(38px, 5.2vw, 64px); max-width: 20ch; }
.sub-hero__subtitle--50 { max-width: 50ch; }
.sub-hero__subtitle--48 { max-width: 48ch; line-height: 1.6; }
.cdt-post__link { text-decoration: none; color: #0B1230; }
.cdt-pagination { margin-top: 50px; }

/* ---------- Listing usług ---------- */
.list-uslugi { padding: 30px 0 130px; background: #fff; }
.list-uslugi__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }

/* ---------- Listing realizacji ---------- */
.list-realizacje { padding: 20px 0 120px; background: #fff; }
.rzl-grid.list-realizacje__grid { gap: 40px 30px; }
.rzl-card { display: block; text-decoration: none; color: #0B1230; }
.rzl-card__media { position: relative; height: 340px; border-radius: 20px; overflow: hidden; background: #e9e9f0; }.rzl-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }.rzl-card__slot { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; display: block; }
.rzl-card__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 20px; }
.rzl-card__cat { color: #C00018; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.rzl-card__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 6px; }
.rzl-card__desc { color: #5c6173; font-size: 15px; line-height: 1.5; margin: 0; max-width: 38ch; }
.rzl-card__arrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e2e2ea; display: flex; align-items: center; justify-content: center; color: #C00018; font-size: 17px; margin-top: 4px; }

/* ---------- CTA (ciemna, wspólna dla podstron/listingów) ---------- */
.sub-cta { padding: 20px 20px 100px; background: #fff; }
.sub-cta__box { max-width: 1280px; margin: 0 auto; border-radius: 34px; padding: clamp(60px,8vw,120px) 6%; background: radial-gradient(110% 130% at 80% 0%, #15204a 0%, #0B1230 50%, #091022 100%); background-size: 300% 300%; animation: ctaFlow 13s ease infinite; color: #fff; text-align: center; position: relative; overflow: hidden; }
.sub-cta__title { font-size: clamp(32px, 5vw, 66px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 700; margin: 0 auto; max-width: 18ch; }
.sub-cta__actions { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sub-cta__btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #C00018; text-decoration: none; padding: 18px 34px; border-radius: 10px; font-weight: 700; font-size: 17px; will-change: transform; }
.sub-cta__note { font-size: 14px; color: rgba(255,255,255,0.72); }

/* ---------- O MNIE ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.about-hero__title { font-size: clamp(42px, 6vw, 82px); line-height: 1.0; letter-spacing: -0.04em; font-weight: 700; margin: 24px 0 0; max-width: 14ch; }
.about-hero__title-line { display: block; }
.about-hero__title-line--red { color: #C00018; }
.about-hero__intro { font-size: clamp(20px, 2vw, 28px); line-height: 1.4; color: #0B1230; font-weight: 500; letter-spacing: -0.01em; max-width: 24ch; margin: 28px 0 0; }
.about-hero__lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: #5c6173; max-width: 52ch; margin: 22px 0 0; }
.about-hero__actions { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }
.about-hero__ghost { display: inline-flex; align-items: center; gap: 9px; color: #0B1230; text-decoration: none; font-weight: 700; font-size: 16px; border: 1px solid #e2e2ea; padding: 15px 26px; border-radius: 10px; transition: border-color .25s ease, background .25s ease; }
.about-hero__ghost:hover { border-color: #C00018; background: #fafafb; }
.about-hero__media { position: relative; }
.about-hero__frame { position: relative; border-radius: 24px; overflow: hidden; background: #e7e9f0; aspect-ratio: 4/5; box-shadow: 0 36px 80px -40px rgba(11,18,48,.45); }
.about-hero__slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-hero__badge { position: absolute; left: -22px; bottom: 34px; background: #fff; border: 1px solid #eef0f4; border-radius: 16px; padding: 16px 20px; box-shadow: 0 24px 50px -28px rgba(11,18,48,.4); display: flex; align-items: center; gap: 14px; }
.about-hero__badge-icon { width: 44px; height: 44px; border-radius: 12px; background: #fbe9ea; display: flex; align-items: center; justify-content: center; }
.about-hero__badge-num { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.about-hero__badge-label { font-size: 13px; color: #8a90a3; }

.about-why { position: relative; padding: 120px 0; background: #F7F8FA; border-top: 1px solid #eef0f4; overflow: hidden; }
.about-why__blob { position: absolute; top: -10%; left: -6%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(192,0,24,.06), rgba(192,0,24,0) 70%); pointer-events: none; }
.about-why__title { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; max-width: 20ch; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; align-items: stretch; }
.why-card { position: relative; background: #fff; border: 1px solid #eaecf2; border-radius: 20px; padding: 32px; will-change: transform; display: flex; flex-direction: column; }
.why-card__glow { position: absolute; inset: 0; border-radius: 20px; opacity: 0; pointer-events: none; }
.why-card__icon { position: relative; width: 48px; height: 48px; border-radius: 13px; background: #fbe9ea; display: flex; align-items: center; justify-content: center; }
.why-card__title { position: relative; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 20px 0 9px; }
.why-card__desc { position: relative; color: #5c6173; font-size: 15px; line-height: 1.6; margin: 0; }

.about-process { padding: 130px 0; background: #fff; }
.about-tech { padding: 120px 0; background: #F7F8FA; border-top: 1px solid #eef0f4; }
.about-tech__title { font-size: clamp(32px, 4.6vw, 58px); max-width: 20ch; }
.tech-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.tech-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eaecf2; border-radius: 100px; padding: 14px 24px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.tech-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #C00018; display: block; }

.about-values { position: relative; padding: 140px 0; background: #091022; color: #fff; overflow: hidden; }
.about-values__blob { position: absolute; top: -15%; right: 6%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(192,0,24,.22), rgba(192,0,24,0) 70%); animation: glowPulse 7s ease-in-out infinite; pointer-events: none; }
.about-values__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); pointer-events: none; }
.about-values__wrap { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.about-values__eyebrow { display: flex; align-items: center; gap: 12px; color: #ff8a93; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.about-values__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; margin: 30px 0 0; max-width: 24ch; }
.about-values__line-wrap { display: block; overflow: hidden; padding-bottom: 0.16em; }
.about-values__line { display: block; }
.about-values__line--red { color: #ff2d3f; }
.about-values__text { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; color: #aab1c8; max-width: 56ch; margin: 32px 0 0; }
.about-values__actions { margin-top: 44px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.about-values__note { font-size: 14px; color: #8d94ab; }

/* Timeline procesu (współdzielony wygląd home/o-mnie) */
.home-process { padding: 130px 0; background: #fff; }
.home-process__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.home-process__sticky { position: sticky; top: 120px; }
.home-process__title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.03; }
.home-process__counter { display: flex; align-items: baseline; gap: 4px; margin-top: 34px; font-weight: 700; letter-spacing: -0.02em; }
.home-process__counter-cur { font-size: 72px; color: #0B1230; }
.home-process__counter-total { font-size: 38px; color: #c2c6d2; }
.home-process__intro { color: #5c6173; font-size: 16px; line-height: 1.6; max-width: 32ch; margin: 18px 0 0; }
.home-process__timeline { position: relative; }
.home-process__rail { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: #eaecf2; }
.home-process__rail-fill { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: #C00018; transform: scaleY(0); transform-origin: top; }
.home-step { position: relative; padding: 0 0 64px 52px; opacity: 0.4; }
.home-step--last { padding-bottom: 10px; }
.home-step__dot { position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #d3d7e0; border: 3px solid #fff; box-sizing: content-box; margin: -3px 0 0 -3px; }
.home-step__num { color: #C00018; font-weight: 700; font-size: 14px; }
.home-step__title { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 10px; }
.home-step__desc { color: #5c6173; font-size: 16px; line-height: 1.6; margin: 0; max-width: 46ch; }

/* ---------- KONTAKT ---------- */
.contact-section { padding: 60px 0 110px; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 60px; align-items: start; }
.contact-card { position: relative; background: #F7F8FA; border: 1px solid #eef0f4; border-radius: 24px; padding: clamp(28px,4vw,46px); }
.visually-hidden { position: absolute; left: -9999px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-info { text-decoration: none; color: #0B1230; background: #F7F8FA; border: 1px solid #eef0f4; border-radius: 18px; padding: 24px; display: flex; align-items: center; gap: 16px; }
.contact-info__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fbe9ea; display: flex; align-items: center; justify-content: center; }
.contact-info__label { display: block; font-size: 13px; color: #8a90a3; }
.contact-info__value { display: block; font-weight: 700; font-size: 16px; }
.contact-steps { background: #0B1230; color: #fff; border-radius: 18px; padding: 28px; margin-top: 8px; }
.contact-steps__eyebrow { color: #ff2d3f; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.contact-steps__list { display: flex; flex-direction: column; gap: 18px; }
.contact-step { display: flex; gap: 14px; }
.contact-step__num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #C00018; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.contact-step__text { font-size: 15px; color: #d6d6dd; line-height: 1.5; }

/* ---------- WYCENA ---------- */
.wyc-hero { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
.wyc-benefits { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 36px; }
.wyc-benefit { display: flex; align-items: center; gap: 10px; color: #5c6173; font-size: 15px; font-weight: 500; }
.wyc-form-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: start; }
.wyc-section { padding: 60px 0 120px; background: #fff; }
.wyc-card { position: relative; background: #F7F8FA; border: 1px solid #eef0f4; border-radius: 24px; padding: clamp(28px,4vw,48px); }.wyc-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
.wyc-steps { background: #0B1230; color: #fff; border-radius: 20px; padding: 30px; }
.wyc-info { text-decoration: none; color: #0B1230; background: #F7F8FA; border: 1px solid #eef0f4; border-radius: 18px; padding: 22px; display: flex; align-items: center; gap: 14px; }
.wyc-info__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fbe9ea; display: flex; align-items: center; justify-content: center; }
.wyc-info__label { display: block; font-size: 13px; color: #8a90a3; }
.wyc-info__value { display: block; font-weight: 700; font-size: 15px; }
.wyc-final { padding: 100px 0 120px; background: #F7F8FA; border-top: 1px solid #eef0f4; }
.wyc-final__wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.wyc-final__title { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin: 22px auto 0; max-width: 18ch; }
.wyc-final__actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.wyc-final__mail { display: inline-flex; align-items: center; gap: 10px; background: #C00018; color: #fff; text-decoration: none; padding: 16px 28px; border-radius: 10px; font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px -12px rgba(192,0,24,.6); will-change: transform; }
.wyc-final__tel { display: inline-flex; align-items: center; gap: 9px; color: #0B1230; text-decoration: none; font-weight: 700; font-size: 16px; border: 1px solid #e2e2ea; padding: 15px 26px; border-radius: 10px; }

/* ---------- Fallbacki (page/index/404) ---------- */
.cdt-simple { padding: 170px 0 100px; background: #fff; }
.cdt-simple__wrap { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.cdt-simple__wrap--wide { max-width: 1000px; }
.cdt-simple__title { font-size: clamp(38px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 30px; }.page-body { padding: 30px 0 90px; background: #fff; }
.page-body__wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.cdt-content { font-size: 17px; line-height: 1.75; color: #2a3147; }
.cdt-content > *:first-child { margin-top: 0; }
.cdt-content h2 { font-size: clamp(24px, 2.6vw, 32px); color: #0B1230; letter-spacing: -0.02em; font-weight: 700; margin: 44px 0 14px; }
.cdt-content h3 { font-size: 21px; color: #0B1230; font-weight: 700; margin: 32px 0 10px; }
.cdt-content p { margin: 0 0 18px; }
.cdt-content a { color: #C00018; text-decoration: underline; text-underline-offset: 3px; }
.cdt-content ul, .cdt-content ol { margin: 0 0 18px; padding-left: 22px; }
.cdt-content li { margin: 0 0 8px; }
.cdt-content strong { color: #0B1230; }
.cdt-content img { border-radius: 14px; max-width: 100%; height: auto; }
.cdt-content blockquote { margin: 24px 0; padding: 14px 22px; border-left: 3px solid #C00018; background: #F7F8FA; border-radius: 0 12px 12px 0; }
.cdt-content hr { border: none; border-top: 1px solid #eaecf2; margin: 40px 0; }
.cdt-post { border-bottom: 1px solid #eaecf2; padding-bottom: 34px; }
.cdt-post__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.cdt-post__excerpt { color: #5c6173; font-size: 16px; line-height: 1.65; }
.cdt-list { display: flex; flex-direction: column; gap: 40px; }
.cdt-404 { min-height: 70vh; display: flex; align-items: center; padding: 170px 0 120px; background: #fff; }
.cdt-404__wrap { max-width: 720px; margin: 0 auto; padding: 0 32px; text-align: center; }
.cdt-404__code { color: #C00018; font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }
.cdt-404__title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; margin: 18px 0 0; }
.cdt-404__text { color: #5c6173; font-size: 18px; line-height: 1.6; margin: 24px 0 0; }
.cdt-404__actions { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cdt-404__ghost { display: inline-flex; align-items: center; gap: 9px; color: #0B1230; text-decoration: none; font-weight: 700; font-size: 16px; border: 1px solid #e2e2ea; padding: 15px 26px; border-radius: 10px; }

@media (max-width: 1024px) {
	.about-hero-grid, .contact-grid, .wyc-form-wrap { grid-template-columns: 1fr; }
	.home-process__grid { grid-template-columns: 1fr; }
	.home-process__sticky, .wyc-side { position: static; }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.why-grid { grid-template-columns: 1fr; }
}
