:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --blue:#2f6bff;
  --blue2:#1e54d6;
  --soft:#f3f6ff;
  --card:#ffffff;
  --border:#e6edf7;
  --shadow: 0 12px 30px rgba(15,23,42,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:var(--bg);
}

.container{max-width:1100px; margin:0 auto; padding:0 18px}

/* HEADER */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; gap:16px;
  padding:12px 0;
}
.brand{
  display:flex; gap:12px; align-items:center;
  text-decoration:none; color:inherit;
  min-width: 260px;
}
.brand-logo{width:44px; height:44px; object-fit:contain}
.brand-name{font-weight:800; color:var(--blue); font-size:20px; line-height:1}
.brand-sub{color:#4b5563; margin-top:2px}

.menu{display:flex; gap:18px; margin-left:auto}
.menu-link{
  text-decoration:none; color:#334155; font-weight:600;
  padding:10px 10px;
  border-radius:12px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.menu-link:hover{
  background:var(--soft);
  color:var(--blue);
  transform: translateY(-1px);
}

.lang{display:flex; gap:10px; align-items:center}
.lang-btn{
  width:34px; height:24px; border-radius:8px;
  border:1px solid var(--border);
  display:grid; place-items:center;
  background:#fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lang-btn img{width:20px; height:14px}
.lang-btn:hover{transform: translateY(-1px); box-shadow: var(--shadow)}

.burger{
  display:none;
  margin-left:auto;
  width:44px; height:38px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
}
.burger span{
  display:block;
  height:2px;
  background:#0f172a;
  margin:6px 10px;
}
.mobile-menu{
  display:none;
  border-top:1px solid var(--border);
  padding:10px 18px 16px;
}
.mobile-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:#334155;
  text-decoration:none;
  font-weight:700;
}
.mobile-menu a:hover{background:var(--soft); color:var(--blue)}
.mobile-lang{display:flex; gap:12px; padding:10px 12px}
.mobile-lang a{display:flex; gap:8px; align-items:center; font-weight:700}

/* HERO */
.hero{
  background: linear-gradient(180deg, var(--blue) 0%, #3a7cff 60%, #3b82f6 100%);
  color:#fff;
  padding:72px 0 54px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}
.hero h1{margin:0; font-size:56px; letter-spacing:-1px}
.hero h2{margin:8px 0 16px; font-weight:600; opacity:.95}
.hero-lead{max-width:640px; font-size:16.5px; line-height:1.6; opacity:.95}

.hero-actions{display:flex; gap:12px; margin-top:18px}
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18)}
.btn-primary{background:#fff; color:var(--blue); border-color:#ffffff}
.btn-primary:hover{background:#f7fbff}
.btn-ghost{background:rgba(255,255,255,.14); color:#fff; border-color:rgba(255,255,255,.35)}
.btn-ghost:hover{background:rgba(255,255,255,.22)}
.btn-wide{width:100%}

.hero-card{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  overflow:hidden;
}
.hero-card-inner{padding:18px}
.hero-badge{
  display:inline-block;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.25);
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
}
.hero-stat{display:flex; gap:12px; align-items:baseline; margin-top:14px}
.hero-stat .n{font-size:34px; font-weight:900}
.hero-stat .t{opacity:.92}
.hero-note{margin-top:14px; opacity:.92; line-height:1.55}

/* SECTIONS */
.section{padding:62px 0}
.section-soft{background:var(--soft)}
.section-title{font-size:34px; margin:0 0 10px}
.section-subtitle{
  margin:0 0 26px;
  color:var(--muted);
  line-height:1.6;
  max-width:860px;
}
.center{text-align:center; margin-left:auto; margin-right:auto}

/* CARDS */
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h4{margin:12px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.card-img{
  width:64px; height:64px;
  border-radius:14px;
  background-size:cover;
  background-position:center;
  border:1px solid var(--border);
}
.hover-pop{
  transition: transform .18s ease, box-shadow .18s ease;
}
.hover-pop:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,.16);
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.about-left p{color:var(--muted); line-height:1.7}
.ticks{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  display:grid;
  gap:10px;
}
.ticks li{
  position:relative;
  padding-left:28px;
  color:#334155;
  font-weight:600;
}
.ticks li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width:20px; height:20px;
  border-radius:999px;
  background:#e9f0ff;
  color:var(--blue);
  display:grid; place-items:center;
  font-weight:900;
}

.career{
  background:#eaf1ff;
  border:1px solid #dbe7ff;
  border-radius: var(--radius);
  padding:18px;
}
.career h4{margin:0 0 14px; font-size:20px}
.step{display:flex; gap:12px; padding:10px 0; align-items:flex-start}
.dot{
  width:34px; height:34px; border-radius:999px;
  display:grid; place-items:center;
  color:#fff; font-weight:900;
  flex:0 0 auto;
}
.dot-blue{background:#2563eb}
.dot-green{background:#16a34a}
.dot-purple{background:#7c3aed}
.dot-orange{background:#f97316}
.step-title{font-weight:900}
.step-sub{color:var(--muted); margin-top:2px; line-height:1.5}

/* PROJECTS */
.projects-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.project{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.project-img{
  height:170px;
  background-size:cover;
  background-position:center;
  position:relative;
}
.tag{
  position:absolute;
  top:10px; right:10px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
}
.project-body{padding:14px 16px 16px}
.project-body h4{margin:0 0 8px}
.project-body p{margin:0; color:var(--muted); line-height:1.6}
.meta{margin-top:10px; font-size:12px; color:#64748b}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:18px;
  align-items:stretch;
}
.contact-card{
  background:#eaf1ff;
  border:1px solid #dbe7ff;
  border-radius: var(--radius);
  padding:18px;
}
.contact-card h4{margin:0 0 12px}
.contact-line{padding:10px 0; border-bottom:1px solid rgba(30,84,214,.10)}
.contact-line:last-child{border-bottom:none}
.contact-line span{display:block; color:#64748b; font-weight:700; font-size:12px}
.contact-line strong{display:block; font-size:16px}
.contact-line small{display:block; color:#64748b}

.form{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
label {
    display: block;
    font-weight: 800;
    font-weight: 500;
    margin: 10px 0 10px
}
input, select, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font: inherit;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color:#b7ccff;
  box-shadow:0 0 0 4px rgba(47,107,255,.14);
}
.tiny{margin:10px 0 0; color:#64748b; font-size:12px}

/* FOOTER */
.footer{
  background:#0b1220;
  color:#cbd5e1;
  padding:34px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:18px;
}
.footer-title{font-weight:900; color:#fff}
.footer-sub{opacity:.9}
.footer-text{color:#94a3b8; line-height:1.6}
.footer-links{list-style:none; padding:0; margin:10px 0 0; display:grid; gap:8px}
.footer-links a{color:#cbd5e1; text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-bottom{margin-top:16px; color:#64748b; font-size:12px}

/* RESPONSIVE */
@media (max-width: 980px){
  .menu{display:none}
  .burger{display:block}
  .hero-grid{grid-template-columns:1fr}
  .cards-3{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
/* === SERVICES ICONS === */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    margin-bottom: 14px;
}

    .service-icon svg {
        width: 32px;
        height: 32px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* --- FIX: subtitles width + center --- */
.section-subtitle {
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align: center;
}

.projects .section-subtitle {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

/* --- Contact: reduce aggressive bold --- */
.contact-form label,
.contact-info strong {
    font-weight: 500;
}

.contact-info span,
.contact-info p {
    font-weight: 400;
    color: #444;
}

/* ===== CAREER / ŚCIEŻKA KARIERY ===== */

.career {
    background: #f2f7ff;
    padding: 32px;
    border-radius: 18px;
}

    .career h4 {
        margin-bottom: 24px;
    }

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

    .step:last-child {
        margin-bottom: 0;
    }

/* kółka */
.dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* kolory */
.dot-blue {
    background: #2563eb;
}

.dot-green {
    background: #16a34a;
}

.dot-purple {
    background: #7c3aed;
}

.dot-orange {
    background: #f97316;
}

/* tekst */
.step-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.step-sub {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.section-title {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 12px auto 40px;
    line-height: 1.6;
}

/* HERO - remove right stats box */
.hero-right,
.hero-card,
.hero-stats,
.stats-card {
    display: none !important;
}
/* HERO - center whole content */
.hero-grid {
    grid-template-columns: 1fr !important; /* jedna kolumna */
    justify-items: center;
    text-align: center;
}

.hero-left {
    max-width: 760px;
}

    .hero-left .buttons,
    .hero-left .hero-buttons,
    .hero-left .cta {
        justify-content: center;
    }

/* === SERVICES: center card content (title + text) === */
.cards-3 .card {
    text-align: center;
}

.cards-3 .card h4 {
    width: 100%;
    text-align: center;

}

.cards-3 .card p {
     text-align: center;
}

/* === CAREER: better alignment + dot size === */
.career .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: center;
}

.career .dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.career .step-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.career .step-sub {
    margin: 0;
    line-height: 1.35;
}
/* hours normal, but keep phone/email a bit stronger */
.contact-line strong,
.contact-line span {
    font-weight: 400 !important;
}

.contact-line a {
    font-weight: 600;
}
/* === Section titles centered === */
.section-title {
    text-align: center;
    width: 100%;
}
/* === ABOUT: align title to the left === */
#about .section-title,
#about h2 {
    text-align: left;
    margin-left: 0;
}
/* HERO buttons - center */
.hero-left .buttons,
.hero-left .hero-buttons,
.hero-left .cta,
.hero-left .hero-actions {
    display: grid;
    justify-content: center;
    gap: 12px;
}
/* SERVICES cards - center icon + text */
.cards-3 .card {
    text-align: center;
}

    .cards-3 .card .card-img,
    .cards-3 .card .service-icon {
        width: 44px;
        height: 44px;
        margin: 0 auto 14px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: rgba(79, 99, 235, 0.10);
    }
.hero-card {
    display: none;
}

.hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.hero-copy {
    max-width: 760px;
}
.contact-line span strong {
    color: #000;
    font-weight: 600;
}
