/* ══════════════════════════════════════════
   UPDOWN – Agencja Reklamowa
   style.css – wersja czysta, bez duplikatów
═══════════════════════════════════════════ */

/* ── ZMIENNE ── */
:root {
  --coral:      #D93E3E;
  --orange:     #EF5A22;
  --coral-soft: #FDEAEA;
  --dark:       #0F0F18;
  --text:       #16161E;
  --muted:      #858596;
  --light:      #F8F6F2;
  --white:      #FFFFFF;
  --border:     #E8E4DC;
  --border2:    #D8D4CC;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,.09);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.12);

  /* Sekcja medyczna */
  --med-bg:     #F0F9F6;
  --med-border: #B2DFDB;
  --med-text:   #00695C;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; }

/* ══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  background: var(--dark);
  padding: .7rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .4s;
}
.navbar.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.45); }

.navbar-brand { display: flex; align-items: center; text-decoration: none; }
.navbar-brand img { height: 38px; width: auto; display: block; }

.navbar-toggler { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: .3rem .55rem; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.75%29' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45) !important;
  padding: .45rem .9rem !important;
  transition: color .2s;
}
.nav-link:hover { color: rgba(255,255,255,.9) !important; }

.btn-nav {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 18px rgba(217,62,62,.38);
}
.btn-nav:hover { opacity: .88; transform: translateY(-1px); }

/* ══════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════ */
.sec-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--coral) 25%, var(--orange) 50%, var(--coral) 75%, transparent 100%);
  opacity: .55;
  border: none;
  margin: 0;
}
.sec-divider::after {
  content: '';
  display: block;
  height: 12px;
  background: linear-gradient(to bottom, rgba(239,90,34,.08), transparent);
}

/* ══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 2.5rem 0 3rem;
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 85% at 88% 30%, rgba(217,62,62,.28) 0%, transparent 58%),
    radial-gradient(ellipse 55% 65% at 10% 80%, rgba(239,90,34,.20) 0%, transparent 52%),
    radial-gradient(ellipse 45% 50% at 55% 95%, rgba(217,62,62,.13) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,90,34,.22) 0%, rgba(217,62,62,.12) 35%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* Odznaki hero */
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.2rem; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-badge-med {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, rgba(217,62,62,.10) 0%, rgba(239,90,34,.08) 100%);
  border: 1.5px solid rgba(217,62,62,.30);
  border-radius: 50px;
  padding: .32rem 1rem .32rem .55rem;
  font-family: 'Syne', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--coral);
  box-shadow: 0 2px 12px rgba(217,62,62,.12);
}
.hero-badge-med .badge-med-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(217,62,62,.35);
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

.hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
}
.hero-title .grad,
.med-title .grad {
  background: linear-gradient(100deg, var(--coral) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.75;
  max-width: 420px;
  margin: 1.1rem 0 1.8rem;
}

/* Przyciski */
.btn-primary-ud {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(217,62,62,.35);
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.btn-primary-ud:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(217,62,62,.48); color: #fff; }

.btn-ghost-ud {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--border2);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.btn-ghost-ud:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-soft); }

/* Statystyki hero */
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: 2rem; position: relative; z-index: 2; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--text); }
.hero-stat-num .acc { color: var(--coral); }
.hero-stat-label { font-size: .7rem; color: var(--muted); margin-top: .18rem; letter-spacing: .02em; }
.hero-divider { width: 1px; height: 30px; background: var(--border2); }

/* ── Telefon ── */
.hero-panel { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.phone-wrap { position: relative; display: inline-block; }

.phone-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .55rem .95rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .5rem;
  z-index: 10;
  animation: float-badge 4s ease-in-out infinite;
}
.phone-badge.badge-left  { left: -88px; top: 20%; animation-delay: 0s; }
.phone-badge.badge-right { right: -88px; top: 58%; animation-delay: 2s; }

@keyframes float-badge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.badge-icon { font-size: 1rem; flex-shrink: 0; }
.badge-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: .95rem; color: var(--text); line-height: 1; }
.badge-lbl { font-size: .62rem; color: var(--muted); margin-top: .1rem; }

.phone-shell {
  width: 280px;
  background: #1a1a22;
  border-radius: 46px;
  padding: 13px;
  box-shadow: 0 50px 100px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
}
.phone-shell::before {
  content: '';
  position: absolute;
  right: -3px; top: 90px;
  width: 3px; height: 55px;
  background: #2a2a35;
  border-radius: 0 4px 4px 0;
}
.phone-shell::after {
  content: '';
  position: absolute;
  left: -3px; top: 110px;
  width: 3px; height: 32px;
  background: #2a2a35;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 46px 0 #2a2a35, 0 -54px 0 #2a2a35;
}

.phone-screen { background: #000; border-radius: 34px; overflow: hidden; position: relative; aspect-ratio: 9/19.5; }
.phone-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #000; border-radius: 20px; z-index: 10; box-shadow: 0 0 0 2px rgba(255,255,255,.04); }
.phone-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.phone-socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; justify-content: center; }
.phone-social-pill {
  display: flex;
  align-items: center;
  gap: .38rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .3rem .85rem;
  font-family: 'Syne', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: color .2s, border-color .2s, box-shadow .2s;
  cursor: default;
}
.phone-social-pill:hover { color: var(--coral); border-color: rgba(217,62,62,.3); box-shadow: 0 4px 16px rgba(217,62,62,.12); }
.phone-social-pill i { font-size: .8rem; }

/* ══════════════════════════════════════════
   WSPÓLNE ELEMENTY SEKCJI
═══════════════════════════════════════════ */
section { padding: 5rem 0; }

.sec-label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: .55rem;
}
.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.sec-body {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.78;
}

.sec-header { margin-bottom: 2.5rem; }
.sec-header .sec-title { margin-bottom: .6rem; }
.sec-header .sec-body { max-width: 600px; }

/* Animacja wejścia */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   USŁUGI
═══════════════════════════════════════════ */
#uslugi { background: var(--white); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }

.svc-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, background .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); }
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  transform: scaleX(0);
  transition: transform .35s;
  transform-origin: left;
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(217,62,62,.28);
  flex-shrink: 0;
}
.svc-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); letter-spacing: -.01em; }
.svc-card p  { font-size: .84rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ══════════════════════════════════════════
   DLACZEGO MY
═══════════════════════════════════════════ */
#dlaczego { background: var(--light); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 1rem; }

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.9rem;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card::before {
  content: attr(data-n);
  position: absolute;
  right: 1rem; bottom: -.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 5rem; font-weight: 800;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
  transition: color .3s;
}
.why-card:hover::before { color: var(--coral-soft); }

.why-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem; font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
  position: relative;
}
.why-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .38rem; color: var(--text); letter-spacing: -.01em; position: relative; }
.why-card p  { font-size: .84rem; color: var(--muted); line-height: 1.65; margin: 0; position: relative; }

/* ══════════════════════════════════════════
   SEKCJA MEDYCZNA
═══════════════════════════════════════════ */
#medycyna { background: var(--light); }

.med-inner {
  background: var(--med-bg);
  border: 1.5px solid var(--med-border);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.med-inner::before {
  content: '+';
  position: absolute;
  font-size: 220px; font-weight: 800;
  color: rgba(0,150,136,.04);
  top: -40px; right: 20px;
  line-height: 1;
  pointer-events: none;
}

.med-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--med-border);
  border-radius: 50px;
  padding: .35rem 1.1rem;
  font-family: 'Syne', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--med-text);
  margin-bottom: 1.5rem;
}
.med-badge-icon { font-size: 1rem; }

.med-title { margin-bottom: 1.1rem; }

.med-body {
  max-width: 620px;
  margin: 0 auto 2rem;
}

.med-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.med-pill {
  background: var(--white);
  border: 1.5px solid var(--med-border);
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-family: 'Syne', sans-serif;
  font-size: .72rem; font-weight: 700;
  color: var(--med-text);
}

.med-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.med-stat { text-align: center; }

/* ══════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════ */
#realizacje { background: var(--white); }

/* Zakładki filtrów */
.port-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 2rem;
}
.port-tab {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .42rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s;
}
.port-tab:hover,
.port-tab.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
}

/* Siatka – social media */
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

/* Siatka – logo (osobna linia, 2 kolumny na desktop, inne proporcje) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.port-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--light);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.port-item:hover { transform: scale(1.025); box-shadow: var(--shadow-md); }

/* Wrapper dla logo */
.port-img-wrap {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--light);
}
.port-item .port-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s;
}
.port-item:hover .port-img-wrap img { transform: scale(1.04); }

/* Overlay z tytułem dla logo */
.port-cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,24,.82) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.port-item:hover .port-cap { opacity: 1; }
.port-cap span { color: var(--white); font-family: 'Syne', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }

/* ── Kafelki Social Media (fanpage) ── */
.port-item.fanpage-style { display: flex; flex-direction: column; }

.fanpage-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.fanpage-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s;
}
.port-item.fanpage-style:hover .fanpage-img-wrap img { transform: scale(1.06); }

/* Overlay z ikonkami platform */
.social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity .3s;
}
.port-item.fanpage-style:hover .social-overlay { opacity: 1; }

/* Przyciski platform */
.social-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 17px;
  transition: transform .2s;
}
.social-btn:hover { transform: scale(1.15); }

.social-btn.fb { background: #1877F2; }
.social-btn.ig { background: #E1306C; }
.social-btn.tt { background: #010101; }
.social-btn.yt { background: #FF0000; }

/* Pasek z linkami pod zdjęciem – widoczny tylko na mobile (touch) */
.social-links-bar {
  display: none; /* ukryty na desktopie – tam działa overlay */
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: .55rem .5rem .4rem;
  background: var(--light);
  border-top: 1px solid var(--border);
}

/* Podpis pod kafelkiem fanpage */
.port-cap-static {
  padding: .55rem .4rem .35rem;
  text-align: center;
}
.port-cap-static span {
  font-family: 'Syne', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  transition: color .2s;
}
.port-item.fanpage-style:hover .port-cap-static span { color: var(--coral); }


/* ══════════════════════════════════════════
   ZESPÓŁ
═══════════════════════════════════════════ */
#o-nas { background: var(--light); }

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.3rem 2rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  border: 3px solid var(--light);
}
.team-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: .15rem; letter-spacing: -.01em; }
.team-role { font-size: .67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: .9rem; }
.team-card p { font-size: .85rem; color: var(--muted); line-height: 1.72; margin-bottom: 1.1rem; }
.team-links a { display: inline-flex; align-items: center; gap: .3rem; font-size: .79rem; color: var(--muted); text-decoration: none; margin: .18rem .25rem; transition: color .2s; }
.team-links a:hover { color: var(--coral); }

.together-banner {
  background: var(--text);
  border-radius: 24px;
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.together-banner::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,62,62,.22), transparent 65%);
  top: -100px; right: -80px;
  pointer-events: none;
}
.together-banner::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,90,34,.14), transparent 65%);
  bottom: -60px; left: -40px;
  pointer-events: none;
}
.together-banner h4 { font-size: 1.6rem; font-weight: 800; margin-bottom: .7rem; position: relative; z-index: 1; letter-spacing: -.02em; }
.together-banner p  { color: rgba(255,255,255,.52); font-size: .9rem; line-height: 1.78; max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }



/* ══════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════ */
#kontakt { background: var(--white); }

.contact-hero {
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
  border-radius: 28px;
  padding: 3.8rem 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-50deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 38px);
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  top: -180px; right: -130px;
  pointer-events: none;
}
.contact-hero h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: .65rem; position: relative; z-index: 1; letter-spacing: -.02em; }
.contact-hero > p { font-size: .97rem; color: rgba(255,255,255,.72); max-width: 480px; margin: 0 auto 2.2rem; line-height: 1.75; position: relative; z-index: 1; }

.contact-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; position: relative; z-index: 1; }
.contact-card {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  min-width: 200px;
  transition: background .22s, transform .22s;
  text-decoration: none;
  color: var(--white);
}
.contact-card:hover { background: rgba(255,255,255,.22); transform: translateY(-4px); color: var(--white); }
.contact-card-icon  { font-size: 1.5rem; margin-bottom: .5rem; display: block; }
.contact-card-label { font-family: 'Syne', sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-bottom: .3rem; }
.contact-card-val   { font-size: .95rem; font-weight: 600; letter-spacing: .01em; }

.contact-strip { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; justify-content: center; }
.contact-strip-item { display: flex; align-items: center; gap: .55rem; background: var(--light); border: 1px solid var(--border); border-radius: 50px; padding: .55rem 1.2rem; font-size: .83rem; color: var(--text); }
.contact-strip-item i { color: var(--coral); font-size: .95rem; }

/* Klikalny element strip (link do mapy) */
a.contact-strip-item--link {
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
a.contact-strip-item--link:hover {
  background: var(--coral-soft);
  border-color: rgba(217,62,62,.35);
  color: var(--coral);
}
a.contact-strip-item--link:hover i { color: var(--coral); }

/* ══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--text);
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem; }
.footer-brand { display: flex; align-items: center; text-decoration: none; }
.footer-brand img { height: 33px; width: auto; display: block; }
.footer-copy { font-size: .77rem; color: rgba(255,255,255,.32); }
.footer-copy strong { color: rgba(255,255,255,.52); }

/* ══════════════════════════════════════════
   RESPONSYWNOŚĆ
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .phone-badge.badge-left  { left: -64px; }
  .phone-badge.badge-right { right: -64px; }
}

@media (max-width: 991px) {
  .hero { padding: 2.5rem 0 3rem; min-height: auto; }
  .hero::after { display: none; }
  .hero .row { flex-direction: column; }
  .hero .col-lg-6,
  .hero .col-lg-5 { width: 100%; max-width: 100%; flex: 0 0 100%; padding: 0; }
  .hero .offset-lg-1 { margin-left: 0; }
  .hero-title { font-size: clamp(2rem, 5.5vw, 3rem); }
  .phone-badge { display: none; }
  .hero-panel { margin-top: 2.5rem; align-items: center; }
  .phone-shell { width: 220px; }
  .svc-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid  { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .together-banner { padding: 2.2rem 2rem; }
  .contact-hero { padding: 2.5rem 2rem; }
}

@media (max-width: 767px) {
  section { padding: 3rem 0; }
  .navbar { padding: .6rem 0; }
  .navbar-brand img { height: 32px; }
  #navMenu { padding: 1rem 0 .5rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: .6rem; }
  .nav-link { padding: .55rem .2rem !important; font-size: .82rem; }
  .btn-nav  { margin-top: .3rem; display: inline-block; text-align: center; }

  .hero { padding: 2rem 0 2.5rem; text-align: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-title { font-size: clamp(1.85rem, 9vw, 2.5rem); letter-spacing: -.025em; }
  .hero-sub { font-size: .93rem; margin: .9rem auto 1.6rem; max-width: 100%; }
  .hero .d-flex.flex-wrap { justify-content: center; }
  .btn-primary-ud, .btn-ghost-ud { width: auto; padding: .7rem 1.4rem; font-size: .8rem; justify-content: center; }
  .hero-stats { justify-content: center; gap: 1.1rem; margin-top: 1.6rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-panel { margin-top: 2.2rem; }
  .phone-shell { width: 200px; border-radius: 38px; }
  .phone-screen { border-radius: 28px; }
  .phone-island { width: 76px; height: 22px; }
  .phone-socials { gap: .4rem; }
  .phone-social-pill { font-size: .65rem; padding: .28rem .7rem; }

  .sec-title { font-size: clamp(1.55rem, 6vw, 2rem); }
  .sec-body  { font-size: .92rem; }

  .svc-grid { grid-template-columns: 1fr; gap: .8rem; }
  .svc-card { padding: 1.4rem; }
  .why-grid { grid-template-columns: 1fr; gap: .8rem; }
  .why-card { padding: 1.4rem; }
  .why-num  { font-size: 1.6rem; }

  .med-inner { padding: 36px 24px; }
  .med-stats { gap: 1.2rem; }
  .hero-divider { display: none; }

  .port-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .logo-grid  { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .port-tab  { font-size: .68rem; padding: .35rem .85rem; }
  .port-img-wrap { min-height: 130px; }

  /* Na mobile overlay hover nie działa – pokazuj pasek z linkami */


  .team-card { padding: 1.8rem 1.4rem; }
  .team-avatar { width: 110px; height: 110px; }
  .together-banner { padding: 2rem 1.4rem; border-radius: 18px; }
  .together-banner h4 { font-size: 1.3rem; }

  .contact-hero { padding: 2rem 1.2rem; border-radius: 20px; }
  .contact-hero h2 { font-size: 1.5rem; }
  .contact-hero > p { font-size: .88rem; margin-bottom: 1.6rem; }
  .contact-cards { flex-direction: column; align-items: stretch; }
  .contact-card { padding: 1.1rem 1.4rem; min-width: unset; }
  .contact-strip { flex-direction: column; align-items: center; gap: .6rem; }
  .contact-strip-item { font-size: .8rem; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(1.65rem, 10vw, 2.1rem); }
  .btn-primary-ud, .btn-ghost-ud { font-size: .78rem; padding: .65rem 1.2rem; }
  .svc-grid  { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-shell { width: 180px; border-radius: 34px; }
}