/* =============================================
   O nas – dodatkowe style
   ============================================= */

/* ── ACTIVE NAV LINK ─────────────────────── */
.nav-links a.active { color: var(--blue); font-weight: 600; }

/* ── ABOUT HERO ──────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, #0A2A50 100%);
  padding: 148px 0 0;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 80% 40%, rgba(0,153,255,.16) 0%, transparent 65%),
    radial-gradient(ellipse 400px 300px at 5% 70%, rgba(0,153,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230099FF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  padding-bottom: 80px;
}
.about-hero-content h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.about-hero-content h1 em { font-style: normal; color: var(--blue); }
.about-hero-content .hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 480px;
}
/* ── ABOUT HERO TIMELINE ─────────────────── */
.about-hero-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}

.aht-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.aht-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: 4px;
}
.aht-dot-past { background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.3); }
.aht-dot-mid  { background: rgba(0,153,255,.4);   border: 2px solid rgba(0,153,255,.5); }
.aht-dot-now  { background: var(--blue);           border: 2px solid #33CCFF; box-shadow: 0 0 0 6px rgba(0,153,255,.2); }

.aht-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 20px;
  flex: 1;
  transition: background .2s;
}
.aht-card:hover { background: rgba(255,255,255,.1); }
.aht-card-now {
  background: rgba(0,153,255,.12);
  border-color: rgba(0,153,255,.35);
}

.aht-year {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.aht-year-now { color: #55CCFF; }

.aht-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.aht-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 12px;
}
.aht-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aht-tags span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border-radius: 50px;
  padding: 3px 10px;
}
.aht-tag-blue {
  background: rgba(0,153,255,.2) !important;
  color: #7DD3FF !important;
}

.aht-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 23px;
  gap: 2px;
  height: 36px;
}
.aht-line-inner {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.15) 0%, rgba(0,153,255,.4) 100%);
  border-radius: 2px;
}
.aht-line-arrow { line-height: 0; }

@media (max-width: 960px) {
  .about-hero-timeline { display: none; }
}

/* ── STORY ───────────────────────────────── */
.story {
  padding: 100px 0;
  background: linear-gradient(160deg, #EAF4FF 0%, #DFF0FF 60%, #E8F5FF 100%);
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,255,.07) 0%, transparent 70%);
  top: -100px; right: -80px;
  pointer-events: none;
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.story-text .section-tag { margin-bottom: 14px; }
.story-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.story-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.story-values { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.story-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.story-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.story-card-main {
  background: #fff;
  border: 1px solid rgba(0,153,255,.12);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  width: 280px;
}
.scm-icon {
  width: 80px; height: 80px;
  background: var(--blue-light);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.scm-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.scm-text strong { color: var(--text); }
.story-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: var(--shadow-xl);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}
.story-card-float.left  { bottom: 40px; left: -20px; }
.story-card-float.right { top: 40px; right: -20px; }

/* ── VALUES ──────────────────────────────── */
.values {
  padding: 100px 0;
  background: linear-gradient(160deg, #F0F7FF 0%, #E5F1FF 100%);
  position: relative;
  overflow: hidden;
}
.values::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,153,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(0,153,255,.1);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,100,200,.07);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00AAFF, #0055CC);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,120,200,.16); }
.value-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.value-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .22s;
}
.value-card:hover .value-icon { background: var(--blue); }
.value-card:hover .value-icon svg { stroke: #fff; }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW WE WORK ─────────────────────────── */
.how-we-work {
  background: linear-gradient(135deg, var(--navy) 0%, #0A2A50 100%);
  padding: 100px 0;
  position: relative;
}
.hww-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hww-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background .22s, transform .22s;
}
.hww-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.hww-step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hww-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.hww-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ── GUARANTEES ──────────────────────────── */
.guarantees {
  padding: 100px 0;
  background: linear-gradient(160deg, #EEF6FF 0%, #E5F1FF 100%);
  position: relative;
  overflow: hidden;
}
.guarantees::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,255,.06) 0%, transparent 65%);
  bottom: -200px; right: -150px;
  pointer-events: none;
}
.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.guarantee-item {
  background: #fff;
  border: 1px solid rgba(0,153,255,.1);
  border-radius: var(--radius);
  padding: 28px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,100,200,.07);
  transition: transform .22s, box-shadow .22s;
}
.guarantee-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gi-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gi-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.gi-text p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .about-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .about-hero-content .hero-sub { margin: 0 auto; }
  .about-hero-stats { max-width: 400px; margin: 0 auto; }
  .story-inner { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .hww-grid { grid-template-columns: 1fr 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about-hero { padding: 130px 0 0; }
  .about-hero-stats { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hww-grid { grid-template-columns: 1fr; }
  .story, .values, .how-we-work, .guarantees { padding: 70px 0; }
}
