/*
Theme Name:  SOFTSTAR
Theme URI:   https://softstar.pl
Description: Profesjonalny motyw dla firmy SOFTSTAR – outsourcing IT, wsparcie techniczne, szkolenia i doradztwo technologiczne dla firm i instytucji.
Author:      SOFTSTAR
Author URI:  https://softstar.pl
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: softstar
Tags:        one-page, business, it-services, blue, white, custom-logo
*/

/* ─── RESET & BASE ─── */
:root {
  --w: #ffffff;
  --off: #f8fafc;
  --g100: #f1f5fb;
  --g200: #e2e8f4;
  --b50: #eff6ff;
  --b100: #dbeafe;
  --b200: #bfdbfe;
  --blue: #1a56d6;
  --bm: #1244b8;
  --bl: #3b82f6;
  --bxl: #60a5fa;
  --blk: #0f172a;
  --ink: #1e293b;
  --ink2: #334155;
  --m: #64748b;
  --m2: #94a3b8;
  --bdr: #e2e8f0;
  --bdr2: #cbd5e1;
  --sh: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shm: 0 4px 16px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
  --shl: 0 10px 40px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.06);
  --shb: 0 4px 20px rgba(26,86,214,.30);
  --r: 8px;
  --rl: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--w);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; line-height: 1.18; color: var(--blk); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25rem; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── NAVBAR ─── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--bdr);
  box-shadow: var(--sh);
  transition: box-shadow .3s;
}
#site-nav.stuck { box-shadow: var(--shm); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px; gap: 1.5rem;
}
.nav-logo a { display: block; }
.nav-logo img { height: 38px; width: auto; mix-blend-mode: multiply; }
.nav-menu { display: flex; gap: 1.75rem; align-items: center; list-style: none; }
.nav-menu li a {
  font-size: .875rem; font-weight: 500; color: var(--m);
  transition: color .2s; white-space: nowrap;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-menu li a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-menu li.menu-cta a {
  background: var(--blue); color: #fff !important;
  padding: .5rem 1.3rem; border-radius: var(--r);
  font-weight: 600; font-size: .875rem;
  border: none !important;
  box-shadow: var(--shb);
  transition: background .2s, transform .15s !important;
}
.nav-menu li.menu-cta a:hover { background: var(--bm); transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; border: none; background: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .25s;
}

/* ─── HERO ─── */
#hero {
  padding: 6.5rem 0 5rem;
  background: linear-gradient(160deg, #fff 55%, var(--b50) 100%);
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
}
#hero::after {
  content: ''; position: absolute;
  top: -120px; right: -180px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,214,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--b50); color: var(--blue);
  border: 1px solid var(--b200);
  padding: .35rem .95rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-kicker-dot {
  width: 6px; height: 6px; background: var(--bl);
  border-radius: 50%; animation: blink 2s infinite; flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }
h1.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.07; margin-bottom: 1.3rem;
}
h1.hero-title em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 1rem; color: var(--m);
  max-width: 470px; margin-bottom: 2.25rem; line-height: 1.8;
}
.hero-btns { display: flex; gap: .875rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--blue); color: #fff;
  padding: .875rem 1.75rem; border-radius: var(--r);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem;
  box-shadow: var(--shb);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--bm); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,86,214,.38); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: var(--ink2);
  border: 1.5px solid var(--bdr2);
  padding: .875rem 1.75rem; border-radius: var(--r);
  font-weight: 600; font-size: .9rem;
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--b50); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 2.25rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--bdr);
}
.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--blue); line-height: 1;
}
.hero-stat-lbl { font-size: .72rem; color: var(--m2); text-transform: uppercase; letter-spacing: .07em; margin-top: .2rem; }
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: 18px; padding: 1.75rem;
  box-shadow: var(--shl); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--bl), var(--bxl));
}
.pills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.pill {
  background: var(--off); border: 1px solid var(--bdr);
  border-radius: 10px; padding: .825rem .95rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--sh);
  transition: border-color .2s, box-shadow .2s, transform .2s; cursor: default;
}
.pill:hover { border-color: var(--b200); box-shadow: var(--shm); transform: translateY(-2px); }
.pill-icon { font-size: 1.25rem; flex-shrink: 0; }
.pill-text { font-size: .8rem; font-weight: 600; color: var(--ink2); font-family: 'Montserrat', sans-serif; }
.sla-badge {
  background: var(--b50); border: 1px solid var(--b200);
  border-radius: 10px; padding: 1rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
}
.sla-icon { font-size: 1.4rem; }
.sla-text strong { display: block; font-size: .875rem; font-weight: 700; color: var(--blue); font-family: 'Montserrat', sans-serif; }
.sla-text span { font-size: .76rem; color: var(--m); }

/* ─── SEKCJE ─── */
section { padding: 5.5rem 0; }
.divider { height: 1px; background: var(--bdr); }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--b50); color: var(--blue);
  border: 1px solid var(--b200);
  padding: .28rem .85rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.75px; margin-bottom: .75rem; }
.section-sub { color: var(--m); max-width: 580px; margin-bottom: 3rem; font-size: .95rem; line-height: 1.75; }

/* ─── USŁUGI ─── */
#services { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px,1fr)); gap: 1.25rem; }
.service-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--rl); padding: 1.75rem;
  position: relative; overflow: hidden;
  box-shadow: var(--sh);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.service-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--blue);
  border-radius: var(--rl) 0 0 var(--rl);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: var(--b200); transform: translateY(-4px); box-shadow: var(--shl); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; background: var(--b50);
  border: 1px solid var(--b100); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem;
}
.service-title { font-size: .975rem; font-weight: 700; margin-bottom: .45rem; color: var(--blk); }
.service-text { font-size: .845rem; color: var(--m); line-height: 1.7; margin-bottom: .875rem; }
.service-list { list-style: none; padding: 0; }
.service-list li {
  font-size: .8rem; color: var(--m2); padding: .27rem 0;
  display: flex; gap: .5rem; border-top: 1px solid var(--g100); align-items: flex-start;
}
.service-list li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; font-size: .75rem; margin-top: .12rem; }

/* ─── DLACZEGO MY ─── */
#why { background: #fff; }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: .875rem; }
.why-item {
  display: flex; gap: .95rem; align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--r); box-shadow: var(--sh);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.why-item:hover { border-color: var(--b200); box-shadow: var(--shm); transform: translateX(4px); }
.why-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--b50); border: 1px solid var(--b100);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.why-item h4 { font-size: .88rem; font-weight: 700; margin-bottom: .18rem; color: var(--blk); }
.why-item p { font-size: .81rem; color: var(--m); margin: 0; }
.metrics-box {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--rl); overflow: hidden; box-shadow: var(--shm);
}
.metrics-box-top {
  background: var(--blue); padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.metrics-logo-pill {
  background: #fff; border-radius: 6px;
  padding: 4px 10px; display: inline-flex; align-items: center;
}
.metrics-logo-pill img { height: 22px; width: auto; }
.metrics-box-top span { font-size: .78rem; color: rgba(255,255,255,.75); font-style: italic; }
.metrics-grid-inner { display: grid; grid-template-columns: 1fr 1fr; }
.metric-cell {
  padding: 1.35rem; text-align: center;
  border-right: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr);
}
.metric-cell:nth-child(even) { border-right: none; }
.metric-cell:nth-last-child(-n+2) { border-bottom: none; }
.metric-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem; font-weight: 900; color: var(--blue); line-height: 1; display: block;
}
.metric-lbl { font-size: .68rem; color: var(--m2); text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; display: block; }

/* ─── PROCES ─── */
#process { background: var(--off); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
.process-grid::before {
  content: ''; position: absolute;
  top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--b100), var(--blue), var(--b100)); z-index: 0;
}
.process-step {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--rl); padding: 1.75rem 1.25rem;
  text-align: center; position: relative; z-index: 1;
  box-shadow: var(--sh);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.process-step:hover { border-color: var(--b200); box-shadow: var(--shm); transform: translateY(-4px); }
.process-num {
  width: 68px; height: 68px; background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 900;
  margin: 0 auto 1rem; box-shadow: var(--shb);
}
.process-step h4 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; color: var(--blk); }
.process-step p { font-size: .8rem; color: var(--m); }

/* ─── SZKOLENIA ─── */
#trainings { background: #fff; }
.trainings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.25rem; }
.training-card {
  border: 1px solid var(--bdr); border-radius: var(--rl);
  overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  box-shadow: var(--sh);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.training-card:hover { border-color: var(--b200); box-shadow: var(--shl); transform: translateY(-4px); }
.training-head { padding: 1.4rem 1.6rem 1.2rem; border-bottom: 1px solid var(--bdr); background: linear-gradient(135deg, var(--b50), #fff); }
.training-tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; background: var(--blue); color: #fff; padding: .2rem .65rem; border-radius: 999px; display: inline-block; margin-bottom: .6rem; font-weight: 600; }
.training-title { font-size: .975rem; font-weight: 700; color: var(--blk); }
.training-body { padding: 1.2rem 1.6rem; flex: 1; }
.training-body ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.training-body ul li { font-size: .81rem; color: var(--m); display: flex; gap: .45rem; }
.training-body ul li::before { content: '›'; color: var(--blue); font-weight: 900; flex-shrink: 0; font-size: 1rem; line-height: 1.35; }
.training-footer { padding: .9rem 1.6rem; border-top: 1px solid var(--bdr); display: flex; align-items: center; justify-content: space-between; background: var(--off); }
.training-mode { font-size: .74rem; color: var(--m2); }
.training-link { font-size: .8rem; color: var(--blue); font-weight: 600; transition: color .2s; }
.training-link:hover { color: var(--bm); text-decoration: underline; }

/* ─── OPINIE ─── */
#testimonials { background: var(--off); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; }
.testimonial-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: var(--rl); padding: 1.75rem;
  box-shadow: var(--sh);
  transition: box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"'; position: absolute;
  top: -.75rem; right: 1rem;
  font-size: 7rem; color: var(--b100);
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  line-height: 1; pointer-events: none;
}
.testimonial-card:hover { box-shadow: var(--shm); transform: translateY(-3px); }
.testimonial-stars { color: #f59e0b; font-size: .875rem; letter-spacing: 2px; margin-bottom: .875rem; display: block; }
.testimonial-text { font-size: .865rem; color: var(--ink2); font-style: italic; line-height: 1.75; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--bdr); padding-top: 1rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--bl));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .78rem; color: #fff; flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-name { font-size: .875rem; font-weight: 700; color: var(--blk); font-family: 'Montserrat', sans-serif; }
.testimonial-role { font-size: .74rem; color: var(--m2); }

/* ─── CTA ─── */
#cta {
  background: var(--blue); padding: 5rem 0;
  text-align: center; position: relative; overflow: hidden;
}
#cta::before { content: ''; position: absolute; top: -60%; right: -8%; width: 550px; height: 550px; border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none; }
#cta::after { content: ''; position: absolute; bottom: -50%; left: -6%; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
#cta .section-title { color: #fff; position: relative; z-index: 1; margin-bottom: .875rem; }
#cta p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 2.5rem; position: relative; z-index: 1; font-size: .95rem; }
.btn-white {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; color: var(--blue);
  padding: .95rem 2.5rem; border-radius: var(--r);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .15s, box-shadow .2s, background .2s;
  position: relative; z-index: 1;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.25); background: var(--off); }

/* ─── KONTAKT ─── */
#contact { background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: flex-start; }
.contact-info-list { display: flex; flex-direction: column; gap: .875rem; margin-top: 1.5rem; }
.contact-info-item {
  display: flex; gap: .875rem; align-items: flex-start;
  padding: .95rem 1.1rem;
  border: 1px solid var(--bdr); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh);
  transition: border-color .2s, box-shadow .2s;
}
.contact-info-item:hover { border-color: var(--b200); box-shadow: var(--shm); }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.7; }
.contact-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--m2); margin-bottom: .1rem; font-weight: 500; }
.contact-value { font-size: .9rem; color: var(--ink); font-weight: 500; }
.contact-value a { color: var(--blue); }
.contact-value a:hover { color: var(--bm); text-decoration: underline; }
.contact-form-wrap {
  background: var(--off); border: 1px solid var(--bdr);
  border-radius: var(--rl); padding: 2.25rem; box-shadow: var(--shm);
}
.contact-form-wrap h3 { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--blk); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.form-group { margin-bottom: .875rem; }
.form-group label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--m); margin-bottom: .35rem; font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: #fff; border: 1.5px solid var(--bdr2);
  border-radius: var(--r); color: var(--ink);
  font-family: 'Inter', sans-serif; font-size: .875rem;
  padding: .7rem .9rem; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--m2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,214,.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: #fff; }
.btn-submit {
  width: 100%; background: var(--blue); color: #fff;
  border: none; border-radius: var(--r);
  padding: .9rem; font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; box-shadow: var(--shb);
  transition: background .2s, transform .15s, box-shadow .2s; margin-top: .25rem;
}
.btn-submit:hover { background: var(--bm); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,86,214,.38); }

/* ─── STOPKA ─── */
#site-footer { background: #0f172a; padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand-logo-pill {
  background: #fff; border-radius: 6px;
  padding: 5px 12px; display: inline-flex;
  align-items: center; margin-bottom: .5rem;
}
.footer-brand-logo-pill img { height: 28px; width: auto; }
.footer-tagline { font-size: .78rem; color: rgba(255,255,255,.3); font-style: italic; margin-bottom: .75rem; }
.footer-brand p { font-size: .835rem; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .835rem; color: rgba(255,255,255,.38); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a.legal-trigger { cursor: pointer; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.22); }
.footer-bottom a { color: rgba(255,255,255,.22); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .76rem; color: rgba(255,255,255,.32);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-socials a:hover { border-color: var(--bl); color: #fff; background: rgba(59,130,246,.2); }

/* ─── MODALS PRAWO ─── */
.legal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.legal-overlay.open { opacity: 1; pointer-events: all; }
.legal-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(680px, 100vw); background: #fff;
  box-shadow: -8px 0 48px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
  overflow-y: auto; z-index: 2001;
  display: flex; flex-direction: column;
}
.legal-overlay.open .legal-panel { transform: none; }
.legal-panel-header {
  position: sticky; top: 0; background: #fff;
  border-bottom: 1px solid var(--bdr);
  padding: 1.25rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; z-index: 10;
}
.legal-panel-header h2 { font-size: 1.15rem; font-weight: 800; color: var(--blk); }
.legal-close-btn {
  width: 36px; height: 36px; border: 1px solid var(--bdr2);
  border-radius: var(--r); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--m);
  transition: border-color .2s, color .2s; flex-shrink: 0;
}
.legal-close-btn:hover { border-color: var(--blue); color: var(--blue); }
.legal-panel-body { padding: 2rem 1.75rem; flex: 1; }
.legal-panel-body h3 { font-size: 1rem; font-weight: 700; color: var(--blk); margin: 1.5rem 0 .5rem; }
.legal-panel-body h3:first-child { margin-top: 0; }
.legal-panel-body p { font-size: .875rem; color: var(--ink2); line-height: 1.75; margin-bottom: .875rem; }
.legal-panel-body ul { list-style: none; padding: 0; margin-bottom: .875rem; }
.legal-panel-body ul li { font-size: .875rem; color: var(--ink2); line-height: 1.75; padding: .2rem 0 .2rem 1.25rem; position: relative; }
.legal-panel-body ul li::before { content: '–'; position: absolute; left: 0; color: var(--blue); }
.legal-info-box { background: var(--b50); border: 1px solid var(--b200); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.legal-info-box p { margin: 0; font-size: .845rem; color: var(--blue); }

/* ─── ANIMACJE ─── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ─── WORDPRESS CORE ─── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--m); text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .why-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--bdr); box-shadow: var(--shm); padding: .5rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: .75rem 1rem; border-bottom: 1px solid var(--bdr) !important; display: block; }
  .nav-menu li.menu-cta a { margin: .5rem 1rem; border-radius: var(--r); text-align: center; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  h1.hero-title { letter-spacing: -1px; }
}
