/* =========================================================================
   Codetech — sekcje strony głównej (front-page). Style wyniesione z inline (1:1).
   ========================================================================= */

/* ---------- HERO ---------- */
.home-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 90% at 80% 8%, #11183a 0%, #0B1230 45%, #091022 100%); }
.home-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }.home-hero__glow { position: absolute; inset: -5%; z-index: 0; opacity: 0; pointer-events: none; }.home-hero__glow-inner { position: absolute; inset: 0; background: radial-gradient(44% 38% at 74% 16%, rgba(192,0,24,.30) 0%, rgba(192,0,24,.10) 44%, rgba(192,0,24,0) 74%); animation: glowPulse 7s ease-in-out infinite; }
.home-hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent); pointer-events: none; }
.home-hero__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 32px 90px; width: 100%; }
.home-hero__badge { display: inline-flex; align-items: center; gap: 11px; color: #f2c0c5; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(192,0,24,.12); border: 1px solid rgba(192,0,24,.3); padding: 8px 14px; border-radius: 100px; opacity: 0; filter: blur(8px); }
.home-hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #C00018; display: block; box-shadow: 0 0 10px 1px rgba(192,0,24,.8); }
.home-hero__title { font-size: clamp(46px, 7.2vw, 98px); line-height: 1.0; letter-spacing: -0.04em; font-weight: 700; margin: 28px 0 0; max-width: 15ch; color: #fff; opacity: 0; }
.home-hero__title-line { display: block; }
.home-hero__title-line--red { color: #ff2d3f; }
.home-hero__subtitle { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: #aab1c8; max-width: 50ch; margin: 32px 0 0; opacity: 0; filter: blur(8px); }
.home-hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; opacity: 0; filter: blur(8px); }
.home-hero__cue { position: absolute; left: 32px; bottom: 34px; display: flex; align-items: center; gap: 13px; color: #7e859c; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; z-index: 2; opacity: 0; }
.home-hero__cue-line { position: relative; width: 1px; height: 40px; background: rgba(255,255,255,.16); overflow: hidden; display: block; }
.home-hero__cue-bar { position: absolute; top: 0; left: 0; width: 100%; height: 14px; background: #C00018; animation: cueMove 1.8s ease-in-out infinite; }
.home-hero__arrow { font-size: 18px; }
.home-hero__arrow-up { color: #ff2d3f; }

/* ---------- Bloki wspólne ---------- */
.home-section { position: relative; padding: 130px 0; background: #fff; }
.home-section--soft { background: #F7F8FA; border-top: 1px solid #eef0f4; }
.home-section--overflow { overflow: hidden; }
.home-h2 { line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 24px 0 0; }

/* ---------- PROBLEM ---------- */
.home-problem__title { font-size: clamp(34px, 5.2vw, 64px); max-width: 18ch; }
.home-problem__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: #eaecf2; border: 1px solid #eaecf2; border-radius: 18px; overflow: hidden; }
.home-problem__card { background: #fff; padding: 34px 30px; }
.home-problem__num { color: #C00018; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.home-problem__card-title { font-weight: 700; font-size: 19px; margin-bottom: 9px; letter-spacing: -0.01em; }
.home-problem__card-desc { color: #5c6173; font-size: 15px; line-height: 1.55; }

/* ---------- O MNIE ---------- */
.home-about__grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: 70px; align-items: center; }
.home-about__title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; max-width: 18ch; }
.home-about__p { color: #5c6173; font-size: 17px; line-height: 1.7; max-width: 50ch; margin: 26px 0 0; }
.home-about__p + .home-about__p { margin: 18px 0 0; }
.home-about__stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 38px; }
.home-about__stat-value { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: #0B1230; }
.home-about__stat-label { color: #5c6173; font-size: 14px; margin-top: 4px; }
.home-about__cta-wrap { margin-top: 40px; }
.home-about__media { position: relative; }
.home-about__frame { position: relative; border-radius: 20px; overflow: hidden; background: #e7e9f0; aspect-ratio: 4/5; box-shadow: 0 30px 70px -36px rgba(11,18,48,.4); }
.home-about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-about__slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- USŁUGI ---------- */
.home-services__blob { position: absolute; top: -10%; right: -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; }
.home-services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 24px; }
.home-services__title { font-size: clamp(34px, 5.2vw, 64px); margin: 0; max-width: 14ch; }
.home-services__intro { color: #5c6173; font-size: 17px; line-height: 1.55; max-width: 34ch; margin: 0; }
.home-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; margin-top: 64px; }
/* ---------- PROCES ---------- */
.home-process { padding: 140px 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 70px 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: 26px; 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; }

/* ---------- REALIZACJE (sekcja) ---------- */
.home-portfolio { padding: 140px 0; background: #F7F8FA; border-top: 1px solid #eef0f4; }
.home-portfolio__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 24px; }
.home-portfolio__title { font-size: clamp(34px, 5.2vw, 64px); margin: 0; max-width: 14ch; }
.home-portfolio__intro { color: #5c6173; font-size: 17px; line-height: 1.55; max-width: 38ch; margin: 0; }
.home-portfolio__grid { display: grid; gap: 30px; margin-top: 64px; }
.home-portfolio__more { display: flex; justify-content: center; margin-top: 56px; }
.home-portfolio__more .cdt-btn { padding: 17px 34px; gap: 10px; font-size: 16px; box-shadow: 0 14px 36px -12px rgba(192,0,24,.6); }

/* ---------- FAQ ---------- */
.home-faq { padding: 140px 0; background: #fff; }
.home-faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.home-faq__sticky { position: sticky; top: 120px; }
.home-faq__title { font-size: clamp(32px, 4.4vw, 54px); }
.home-faq__note { color: #5c6173; font-size: 16px; line-height: 1.6; margin: 20px 0 0; max-width: 30ch; }
.home-faq__note a { color: #C00018; font-weight: 700; text-decoration: none; }

/* ---------- CTA (home) ---------- */
.home-cta { padding: 20px 20px 100px; background: #fff; }
.home-cta__box { position: relative; max-width: 1280px; margin: 0 auto; border-radius: 30px; padding: clamp(64px,9vw,140px) 6%; background: radial-gradient(110% 130% at 80% 0%, #15204a 0%, #0B1230 50%, #091022 100%); color: #fff; text-align: center; overflow: hidden; }
.home-cta__blob { position: absolute; top: -15%; right: 8%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(192,0,24,.34), rgba(192,0,24,0) 70%); animation: glowPulse 7s ease-in-out infinite; pointer-events: none; }
.home-cta__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: 60px 60px; 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; }
.home-cta__content { position: relative; }
.home-cta__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ff8a93; }
.home-cta__title { font-size: clamp(36px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 22px auto 0; max-width: 16ch; }
.home-cta__text { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; color: #aab1c8; max-width: 46ch; margin: 28px auto 0; }
.home-cta__actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.home-cta__btn { display: inline-flex; align-items: center; gap: 10px; background: #C00018; color: #fff; text-decoration: none; padding: 18px 34px; border-radius: 10px; font-weight: 700; font-size: 17px; box-shadow: 0 14px 36px -10px rgba(192,0,24,.7); }
.home-cta__note { font-size: 14px; color: #8d94ab; }

@media (max-width: 1024px) {
	.home-about__grid, .home-process__grid, .home-faq__grid { grid-template-columns: 1fr; }
	.home-process__sticky, .home-faq__sticky { position: static; }
	.home-problem__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.home-problem__grid { grid-template-columns: 1fr; }
}
