/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== VARIABLES ===== */
:root {
  --dark:      #111111;
  --dark-2:    #1e1e1e;
  --mid:       #555555;
  --light:     #999999;
  --cream:     #F8F5F0;
  --cream-2:   #EDE8E0;
  --white:     #ffffff;
  --terra:     #C07A5E;
  --terra-2:   #D4937A;
  --terra-pale:#F5EAE4;
  --purple:    #9B5CF6;
  --purple-pale:#F3EEFF;
  --radius:    16px;
  --radius-sm: 10px;
  --ff-head:   'DM Serif Display', Georgia, serif;
  --ff-body:   'DM Sans', system-ui, sans-serif;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2 { font-family: var(--ff-head); line-height: 1.1; font-weight: 400; }
h3 { font-family: var(--ff-body); font-weight: 600; }
h4 { font-family: var(--ff-body); font-weight: 600; font-size: 0.95rem; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: 1.05rem; }
p  { color: var(--mid); line-height: 1.75; text-align: justify; hyphens: none; -webkit-hyphens: none; overflow-wrap: break-word; }
a  { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--terra); }
h2 em { color: var(--terra); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

.label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.9rem;
}

.center { text-align: center; }
.section-sub { max-width: 560px; margin: 0.8rem auto 0; font-size: 1rem; color: var(--mid); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-large { padding: 1rem 2.2rem; font-size: 0.95rem; }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1.5px solid rgba(0,0,0,0.2); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 400;
  color: white;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color 0.35s ease;
}
nav.scrolled .nav-logo { color: var(--dark); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-link:hover { color: white; }
nav.scrolled .nav-link { color: var(--mid); }
nav.scrolled .nav-link:hover { color: var(--dark); }

.nav-cta {
  background: rgba(255,255,255,0.2);
  color: var(--white) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: rgba(255,255,255,0.3) !important; }
nav.scrolled .nav-cta { background: var(--dark) !important; border-color: transparent; }
nav.scrolled .nav-cta:hover { background: var(--dark-2) !important; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
nav.scrolled .nav-burger span { background: var(--dark); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.05) 75%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.28) 50%, rgba(0,0,0,0.6) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, rgba(248,245,240,0.4) 60%, var(--cream) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 8rem) 2rem 5rem;
  width: 100%;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.hero h1 { color: white; margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero h1 em { color: var(--terra-2); font-style: italic; }

.hero-tagline {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.hero-desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.2rem;
  line-height: 1.75;
}
.hero-zdalne { display: none; }

.hero-btns {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  transform: translateY(-2px);
}

/* AI tools tags */
.hero-tools {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-tool {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ===== USŁUGI ===== */
.uslugi { padding: 6rem 0 5rem; background: var(--cream); }
.uslugi .container { padding-top: 0; }
.uslugi h2 { margin-bottom: 2.8rem; }

.uslugi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  border: none;
  background: none;
  border-radius: 0;
  overflow: visible;
}

.uslugi-card {
  background: var(--white);
  padding: 2.8rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.055);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.uslugi-card:hover {
  box-shadow: 0 10px 44px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.uslugi-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--terra);
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.uslugi-card:hover .uslugi-cta {
  opacity: 1;
}

.uslugi-card--purple,
.uslugi-card--warm,
.uslugi-card--rose,
.uslugi-card--sage { background: var(--white); }

.uslugi-icon {
  color: var(--terra);
  margin-bottom: 1.6rem;
  display: flex;
}

.uslugi-body { flex: 1; }
.uslugi-num {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.7rem;
}
.uslugi-card h3 { margin-bottom: 0.8rem; color: var(--dark); font-size: 1.08rem; font-weight: 700; }
.uslugi-card p  { font-size: 0.9rem; line-height: 1.78; color: var(--mid); }

.uslugi-tools {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--cream-2);
}

/* Process steps */
.kroki-section {
  margin-top: 4.5rem;
  padding: 3.5rem;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--cream-2);
}

.kroki-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.kroki-heading .label { text-align: center; }

.kroki {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  align-items: start;
  gap: 0;
}

.krok {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 0 0.5rem;
}

.krok-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.krok-badge--2 { background: var(--mid); }
.krok-badge--3 { background: var(--terra); box-shadow: 0 4px 14px rgba(192,122,94,0.25); }

.krok-num {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  color: white;
  line-height: 1;
}

.krok-emoji { display: none; }

.krok h4 {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.krok p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.65;
  text-align: center;
  max-width: 220px;
}

.krok-cta {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--purple);
  border-bottom: 1.5px solid rgba(155,92,246,0.35);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.krok-cta:hover { color: #7c3ae0; border-color: #7c3ae0; }

.krok-line {
  width: 100%;
  padding-top: 28px; /* center with badges */
}
.krok-line svg { width: 100%; height: 16px; display: block; }

.krok-arrow { display: none; }

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 6rem 0 3rem;
  background: #1e0f08;
  border-top: none;
  overflow: hidden;
  position: relative;
}
.portfolio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--cream), transparent);
  z-index: 1;
  pointer-events: none;
}
.portfolio::after { display: none; }
.portfolio .container { position: relative; z-index: 2; }
.portfolio-scroll-wrap { position: relative; z-index: 2; }
.portfolio .label { color: var(--terra-2); opacity: 1; }
.portfolio h2 { color: var(--white); }
.portfolio-hint { color: rgba(255,255,255,0.4); }
.portfolio .container { margin-bottom: 2rem; }
.portfolio h2 { margin-bottom: 0.4rem; }

.portfolio-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.5rem 2rem 2rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
  user-select: none;
}
.portfolio-scroll-wrap:active { cursor: grabbing; }
.portfolio-scroll-wrap::-webkit-scrollbar { height: 3px; }
.portfolio-scroll-wrap::-webkit-scrollbar-track { background: #f5f5f5; }
.portfolio-scroll-wrap::-webkit-scrollbar-thumb { background: #ddd; border-radius: 100px; }

.portfolio-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-bottom: 0.5rem;
}

.portfolio-card {
  width: 220px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.portfolio-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.1); transform: translateY(-3px); }

/* Video card — cursor pointer */
.video-card { cursor: pointer; }
.video-card:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.portfolio-thumb {
  aspect-ratio: 9/16;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.portfolio-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Play overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.2s;
}
.video-card:hover .play-overlay { background: rgba(0,0,0,0.25); }
.play-btn {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
  padding-left: 3px;
}
.video-card:hover .play-btn { opacity: 1; transform: scale(1); }

/* Coming soon / YT card */
.portfolio-card--soon { width: 260px; cursor: default; }
.portfolio-card--yt { cursor: pointer; text-decoration: none; }
.portfolio-card--yt:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.18); }
.portfolio-thumb--soon {
  aspect-ratio: unset;
  min-height: 320px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; padding: 1rem; }
.soon-icon { font-size: 2.5rem; }
.soon-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #C580FF; }
.soon-title { font-family: var(--ff-head); font-size: 1.15rem; color: white; font-style: italic; }

.portfolio-info { padding: 1rem 1.1rem; }
.portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terra);
  background: var(--terra-pale);
  padding: 0.18rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.45rem;
}
.portfolio-info h3 { font-size: 0.88rem; font-weight: 600; color: var(--dark); margin-bottom: 0.25rem; }
.portfolio-info p  { font-size: 0.8rem; line-height: 1.5; color: var(--mid); }

/* IG card */
.portfolio-ig-card {
  min-width: 220px;
  width: 220px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #FFF0F9 0%, #F5EEFF 55%, #EEF2FF 100%);
  border: 1.5px solid rgba(197,128,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 1.5rem;
}
.portfolio-ig-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(155,92,246,0.18); }
.portfolio-ig-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem 1.5rem; text-align: center; }
.portfolio-ig-icon { width: 56px; height: 56px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(197,128,255,0.2); margin-bottom: 0.25rem; }
.portfolio-ig-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); }
.portfolio-ig-handle { font-family: var(--ff-head); font-size: 1.05rem; color: var(--dark); font-style: italic; }
.portfolio-ig-btn { margin-top: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--purple); border: 1.5px solid rgba(155,92,246,0.3); border-radius: 100px; padding: 0.4rem 1rem; transition: background 0.2s; }
.portfolio-ig-card:hover .portfolio-ig-btn { background: rgba(155,92,246,0.08); }

/* ===== PORTFOLIO ACCORDION ===== */
.pf-accordion {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pf-item {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pf-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pf-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-family: var(--ff-body);
  transition: opacity 0.2s;
}
.pf-header:hover { opacity: 0.75; }

.pf-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.pf-num {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  color: var(--terra-2);
  font-style: italic;
  min-width: 32px;
  text-align: right;
  padding-top: 0.2rem;
}

.pf-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.pf-count {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.1rem;
}

.pf-arrow {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.pf-item.open .pf-arrow {
  transform: rotate(180deg);
}

.pf-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
}
.pf-item.open .pf-body {
  grid-template-rows: 1fr;
}

.pf-body > * {
  overflow: hidden;
}

.pf-body-inner {
  overflow: hidden;
}

.pf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
}

.pf-grid .portfolio-card {
  width: 180px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.pf-grid .portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}
.pf-grid .portfolio-card--yt {
  width: 260px;
  text-decoration: none;
  cursor: pointer;
}
.pf-grid .portfolio-info {
  padding: 0.8rem 1rem;
}
.pf-grid .portfolio-info h3 { color: var(--white); }
.pf-grid .portfolio-info p { color: rgba(255,255,255,0.5); }

.pf-sliders-row {
  display: flex;
  gap: 0;
  justify-content: center;
  padding: 2rem 1rem 2.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pf-sliders-row .pf-slider:first-child {
  padding-right: 3rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.pf-sliders-row .pf-slider:last-child {
  padding-left: 3rem;
}

.pf-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-slider-viewport {
  width: 320px;
  overflow: hidden;
  border-radius: 12px;
}

.pf-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.pf-slide-img {
  height: 320px;
  width: 320px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  user-select: none;
  pointer-events: none;
}

.pf-slider-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pf-slider-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}
.pf-slider-btn:hover { background: rgba(255,255,255,0.2); }

.pf-slider-counter {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  min-width: 36px;
  text-align: center;
}

@media (max-width: 768px) {
  .pf-sliders-row { gap: 1.5rem; }
  .pf-slide-img { height: 260px; width: 260px; }
  .pf-slider-viewport { width: 260px; }
}

.pf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 3rem;
  gap: 0.6rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
}
.pf-empty span { font-size: 2rem; }
.pf-empty p { color: rgba(255,255,255,0.3); text-align: center; }

/* ===== O MNIE ===== */
.o-mnie {
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(192,122,94,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 80% 35% at 15% 100%, rgba(192,122,94,0.26) 0%, transparent 55%),
    linear-gradient(to bottom, #1e0f08 0%, #1e0f08 100%);
  overflow: hidden;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.o-mnie-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.o-mnie-text {
  padding: 6rem 4rem 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}
.o-mnie-text h2 { margin-bottom: 1.4rem; color: var(--white); }
.o-mnie-text h2 em { color: var(--terra-2); }
.o-mnie-text p  { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.75rem; color: rgba(255,255,255,0.55); text-align: left; hyphens: none; }
.o-mnie-psst { color: rgba(255,255,255,0.25) !important; font-size: 0.8rem !important; font-style: italic; margin-top: 0.75rem !important; }

.o-mnie-intro {
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.65 !important;
  margin-bottom: 1.25rem !important;
}

.o-mnie-pull {
  border-left: 2px solid var(--terra-2);
  padding: 0.6rem 1.1rem;
  margin: 0 0 1.1rem;
  background: rgba(212,147,122,0.07);
  border-radius: 0 8px 8px 0;
}
.o-mnie-pull span {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-style: italic;
}

.o-mnie-stats {
  display: flex;
  gap: 2rem;
  margin: 1.4rem 0 1.25rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.o-mnie-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.o-mnie-stat-num {
  font-family: var(--ff-head);
  font-size: 1.9rem;
  color: var(--terra-2);
  line-height: 1;
}
.o-mnie-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.o-mnie-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.o-mnie-tags span {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.32rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Photo side */
.o-mnie-img {
  position: relative;
  background: url('Rapanui.JPG') center 30% / cover no-repeat;
  /* Fade only the left edge so photo bleeds into dark text background naturally */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%);
}

/* Dark overlay — fades photo into dark background at bottom */
.o-mnie-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,5,2,0.1) 0%,
    rgba(10,5,2,0.3) 40%,
    rgba(10,5,2,0.82) 80%,
    rgba(10,5,2,0.97) 100%
  );
}

.o-mnie-img-content {
  position: absolute;
  bottom: 3.5rem;
  left: 3rem;
  right: 3rem;
  z-index: 2;
}
.o-mnie-quote {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.o-mnie-quote em { color: var(--terra-2); font-style: italic; }

.o-mnie-img-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.o-mnie-img-tags span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Force identical colour at o-mnie/kontakt boundary */
.o-mnie::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, #1e0f08, transparent);
  pointer-events: none;
  z-index: 5;
}

/* ===== KONTAKT ===== */
.kontakt {
  padding: 6rem 0;
  margin-top: -2px;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(192,122,94,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(160,80,40,0.18) 0%, transparent 55%),
    linear-gradient(to bottom, #1e0f08 0%, #130a05 50%, #0f0a07 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.kontakt-info .label { color: var(--terra-2); }
.kontakt-info h2 { color: var(--white); margin-bottom: 1.2rem; line-height: 1.15; }
.kontakt-info h2 em { color: var(--terra-2); }
.kontakt-desc { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.7; }

.kontakt-direct { display: flex; flex-direction: column; gap: 0.6rem; }
.kontakt-direct-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem 0.55rem 0.6rem;
  background: rgba(192,122,94,0.1);
  border: 1px solid rgba(192,122,94,0.22);
  border-radius: 100px;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.kontakt-direct-link:hover { background: rgba(192,122,94,0.18); border-color: rgba(192,122,94,0.4); }
.kontakt-direct-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(192,122,94,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kontakt-direct-text { display: flex; flex-direction: column; gap: 1px; }
.kontakt-direct-link strong { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.45); line-height: 1; }
.kontakt-direct-val { font-size: 0.88rem; font-weight: 500; color: var(--white); line-height: 1.2; }

/* Form */
.kontakt-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.kontakt-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-2);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--purple); background: white; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-radio-group { display: flex; gap: 1.2rem; flex-wrap: wrap; padding-top: 0.2rem; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--dark);
  cursor: pointer;
}
.radio-label input[type="radio"] { accent-color: var(--purple); width: 20px; height: 20px; flex-shrink: 0; }

.form-submit {
  background: var(--dark);
  color: var(--white);
  justify-content: center;
  margin-top: 0.3rem;
}
.form-submit:hover { background: var(--dark-2); transform: translateY(-2px); }

.form-note {
  font-size: 0.78rem;
  color: var(--light);
  line-height: 1.55;
  text-align: center;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.form-success-icon { font-size: 3rem; }
.form-success h3 { color: var(--dark); font-size: 1.2rem; }
.form-success p { color: var(--mid); font-size: 0.92rem; max-width: 320px; line-height: 1.65; }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.82rem;
  color: var(--light);
  border-top: 1px solid var(--cream-2);
  background: var(--white);
}
.footer-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--purple); }

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.video-modal.open { opacity: 1; pointer-events: all; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}
.video-modal-content {
  position: relative;
  z-index: 2;
  width: min(380px, 92vw);
  max-height: 92vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
#modalVideo {
  width: 100%;
  display: block;
  max-height: 86vh;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(0,0,0,0.9); }

/* ===== SCROLL FADE ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-right: 0.5rem;
}
.lang-switch span { color: rgba(255,255,255,0.3); }
nav.scrolled .lang-switch span { color: rgba(0,0,0,0.2); }
.lang-btn {
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease, background 0.2s ease;
}
nav.scrolled .lang-btn { color: rgba(0,0,0,0.4); }
.lang-btn--active {
  color: #fff !important;
  background: rgba(255,255,255,0.15);
}
nav.scrolled .lang-btn--active {
  color: var(--dark) !important;
  background: rgba(0,0,0,0.08);
}
.lang-btn:hover { color: #fff; }
nav.scrolled .lang-btn:hover { color: var(--dark); }

/* ===== VIDEO ARROWS — hidden on desktop ===== */
.pf-video-arrows { display: none; }

/* ===== PF MORE LINK ===== */
.pf-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
  padding: 0.75rem 1.25rem;
  background: rgba(155,92,246,0.1);
  border: 1px solid rgba(155,92,246,0.25);
  border-radius: 100px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pf-more-link svg { opacity: 0.7; flex-shrink: 0; }
.pf-more-link strong { color: #C580FF; font-weight: 600; }
.pf-more-link:hover {
  background: rgba(155,92,246,0.18);
  border-color: rgba(155,92,246,0.5);
  color: rgba(255,255,255,0.95);
}

/* ===== HERO ENTRANCE ===== */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow   { animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.1s; }
.hero-content h1 { animation: heroIn 0.85s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.28s; }
.hero-tagline   { animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.48s; }
.hero-desc      { animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.58s; }
.hero-btns      { animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.72s; }
.hero-tools     { animation: heroIn 0.7s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.88s; }

/* ===== ACCORDION CONTENT FADE ===== */
.pf-grid,
.pf-sliders-row,
.pf-empty {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}
.pf-item.open .pf-grid,
.pf-item.open .pf-sliders-row,
.pf-item.open .pf-empty {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV LINK UNDERLINE SWEEP ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

/* ===== USLUGI CARD STAGGER ===== */
.uslugi-card { transition: box-shadow 0.25s ease, transform 0.25s ease, opacity 0.5s ease; }
.uslugi-card.stagger-hidden { opacity: 0; transform: translateY(20px); }
.uslugi-card.stagger-visible { opacity: 1; transform: translateY(0); }

/* ===== ACCORDION ROW HOVER ===== */
.pf-header {
  position: relative;
  overflow: hidden;
}
.pf-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.025);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pf-header:hover::before { opacity: 1; }

/* ===== FORM INPUT FOCUS ===== */
.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  border-color: var(--terra-2) !important;
  box-shadow: 0 0 0 3px rgba(212,147,122,0.15);
  outline: none;
}

/* ===== KROK BADGES PULSE ===== */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,122,94,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(192,122,94,0); }
}
.krok-badge { animation: badgePulse 3s ease-in-out infinite; }
.krok-badge--2 { animation-delay: 1s; }
.krok-badge--3 { animation-delay: 2s; }

/* ===== BUTTON HOVER POLISH ===== */
.btn { transition: all 0.22s cubic-bezier(0.22,1,0.36,1); }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(0.97) translateY(0) !important; filter: brightness(0.95); }

/* ===== SLIDER BUTTON HOVER ===== */
.pf-slider-btn {
  transition: background 0.2s ease, transform 0.15s ease;
}
.pf-slider-btn:hover { transform: scale(1.1); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--terra-2) 0%, var(--terra) 60%, #a85c3a 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(192,122,94,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 200;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTop:hover { filter: brightness(1.1); }

/* ===== RESPONSIVE — TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .hero-inner { padding: calc(var(--nav-h) + 5rem) 2rem 4rem; }

  .o-mnie-grid { grid-template-columns: 240px 1fr; gap: 3rem; }
  .o-mnie-sticker-border { max-width: 240px; }

  .kontakt-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .kontakt-form-wrap { max-width: 580px; }
}

/* ===== RESPONSIVE — MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {

  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    backdrop-filter: blur(16px);
    z-index: 190;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 1rem 1.5rem; font-size: 1rem; color: var(--dark); border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-cta { margin: 1rem 1.5rem 0; border-radius: 100px; text-align: center; display: block; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; background: #111; margin-top: 0; }
  body { background: #111; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; }
  .hero-inner { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .hero-btns .btn { text-align: center; justify-content: center; width: 100%; }
  .hero-tools { gap: 0.4rem; }
  .hero-tool { font-size: 0.68rem; padding: 0.25rem 0.7rem; }

  /* Usługi */
  .uslugi { padding: 3.5rem 0 3rem; }
  .uslugi h2 { margin-bottom: 1.8rem; }
  .uslugi-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .uslugi-card { padding: 1.6rem 1.4rem; border-radius: 16px; }
  .uslugi-card h3 { font-size: 1rem; }
  .uslugi-card p { font-size: 0.84rem; line-height: 1.65; text-align: left; }
  .uslugi-num { font-size: 0.58rem; }
  .uslugi-tools { font-size: 0.62rem; margin-top: 1.2rem; padding-top: 0.9rem; }
  .uslugi-cta { opacity: 1; font-size: 0.72rem; margin-top: 0.8rem; }

  /* Kroki */
  .kroki-section { padding: 1.4rem 1rem; margin-top: 2rem; border-radius: 14px; }
  .kroki-heading { margin-bottom: 1.2rem; }
  .kroki-heading h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .kroki { grid-template-columns: 1fr; gap: 0; }
  .krok-line { display: none; }
  .krok { display: grid; grid-template-columns: 36px 1fr; column-gap: 0.9rem; row-gap: 0.15rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--cream-2); text-align: left; }
  .krok:last-child { border-bottom: none; }
  .krok-badge { grid-column: 1; grid-row: 1 / span 3; width: 36px; height: 36px; margin-bottom: 0; box-shadow: none; align-self: start; }
  .krok-num { font-size: 0.85rem; }
  .krok-emoji { display: none; }
  .krok h4 { grid-column: 2; font-size: 0.88rem; font-weight: 700; margin-bottom: 0; padding-top: 0.1rem; text-align: left; line-height: 1.3; }
  .krok p { grid-column: 2; max-width: 100%; font-size: 0.8rem; text-align: left; line-height: 1.55; color: var(--mid); }
  .krok-cta { grid-column: 2; font-size: 0.75rem; margin-top: 0.2rem; }

  /* Portfolio accordion */
  .portfolio { padding: 3.5rem 0 2rem; }
  .pf-title { font-size: 1.05rem; }
  .pf-header { padding: 1.2rem 0; }
  .pf-num { font-size: 0.78rem; min-width: 28px; }
  .portfolio-card { width: 180px; }
  .portfolio-card--soon { width: 220px; }
  .portfolio-thumb--soon { min-height: 270px; }
  .portfolio-scroll-wrap { padding: 0.5rem 1rem 1.5rem; }

  /* Wideo AI — slider na mobile */
  .pf-video-slider-wrap {
    position: relative;
    padding-bottom: 2rem;
  }
  .pf-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1rem 1rem;
    gap: 0.75rem;
    scrollbar-width: none;
  }
  .pf-grid::-webkit-scrollbar { display: none; }
  .pf-grid .portfolio-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 72vw;
    max-width: 260px;
  }

  /* Karuzele na mobile — jedna pod drugą */
  .pf-sliders-row { flex-direction: column; align-items: center; gap: 0; padding: 1.5rem 0 2rem; }
  .pf-sliders-row .pf-slider { padding-right: 0 !important; padding-left: 0 !important; border-right: none !important; }
  .pf-sliders-row .pf-slider:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .pf-slide-img { height: 280px; width: 280px; }
  .pf-slider-viewport { width: 280px; }

  /* Strzałki wideo na mobile */
  .pf-video-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0 0.5rem;
  }

  /* pf-more-link na mobile */
  .pf-more-link { font-size: 0.8rem; padding: 0.65rem 1rem; margin: 0 0 1.5rem; border-radius: 12px; width: 100%; box-sizing: border-box; }

  /* O mnie tags na mobile */
  .o-mnie-tags span { font-size: 0.72rem; padding: 0.25rem 0.7rem; }

  /* O mnie stats na mobile */
  .o-mnie-stats { gap: 1.2rem; padding: 0.9rem 1rem; }
  .o-mnie-stat-num { font-size: 1.5rem; }
  .o-mnie-stat-label { font-size: 0.62rem; }
  .o-mnie-pull { padding: 0.5rem 0.9rem; }

  /* O mnie */
  .o-mnie { padding: 3.5rem 0; }
  .o-mnie-split { display: flex; flex-direction: column; min-height: unset; }
  .o-mnie-text { padding: 2.5rem 1.25rem 1.5rem; max-width: 100%; }
  .o-mnie-text p { text-align: left; }
  .o-mnie-img { min-height: 320px; width: 100%; }
  .o-mnie-grid { grid-template-columns: 1fr; gap: 3rem; }
  .o-mnie-photo-wrap { max-width: 260px; margin: 0 auto; }
  .o-mnie-sticker-border { max-width: 260px; }
  .o-mnie-float-card { right: -8px; bottom: -12px; }

  /* Kontakt */
  .kontakt { padding: 3.5rem 0; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-radio-group { gap: 0.8rem; }

  /* Global */
  .container { padding: 0 1.25rem; }
  p { text-align: left; }

  /* Scroll to top — niżej żeby nie zasłaniał */
  #scrollTop { bottom: 1.25rem; right: 1.25rem; width: 42px; height: 42px; font-size: 1rem; }
}

/* ===== RESPONSIVE — SMALL MOBILE (≤ 400px) ===== */
@media (max-width: 400px) {
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-sticker-wrap { max-width: 200px; }
  .portfolio-card { width: 155px; }
  .portfolio-card--soon { width: 190px; }
  .pf-slide-img { height: 240px; width: 240px; }
  .pf-slider-viewport { width: 240px; max-width: calc(100vw - 80px); }
  .pf-slide-img { max-width: calc(100vw - 80px); }
  .uslugi-card { padding: 1.4rem 1.2rem; }
}
