/* ============================================
   MIXBED — Unikalny design
   Koncepcja: "Precision Craft" — industrialne,
   precyzyjne, kontrastowe. Czerwień jak krew,
   beton jak tło, stal jak typografia.
   ============================================ */

:root {
  --red:       #D42B2B;
  --red-dark:  #AA1F1F;
  --white:     #FFFFFF;
  --off-white: #F7F6F4;
  --concrete:  #EDEBE8;
  --ink:       #141414;
  --ink-soft:  #2B2B2B;
  --muted:     #6E6A65;
  --border:    #E0DDD9;
  --font-main: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
p   { line-height: 1.75; }

/* Dzielenie wyrazów całkowicie wyłączone */
*, *::before, *::after {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}
body p, body li, body label {
  word-break: normal;
  overflow-wrap: break-word;
}

/* ==============================
   TYPOGRAPHY SYSTEM
   ============================== */

.t-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1;  letter-spacing: -0.03em; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

/* ==============================
   LAYOUT
   ============================== */

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

/* Very large screens — cap content at comfortable reading width */
@media (min-width: 1600px) {
  .nav__inner { max-width: 1600px; }
  .wrap        { max-width: 1600px; }
  h1 { font-size: clamp(2.4rem, 4vw, 6.5rem); }
  h2 { font-size: clamp(1.8rem, 3vw, 4.2rem); }
  .hero {
    min-height: 100vh;
    /* Ogranicz całe hero do rozsądnej szerokości */
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__text { padding: 8rem clamp(3rem, 4vw, 6rem) 8rem clamp(2rem, 5vw, 8rem); }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid      { grid-template-columns: repeat(4, 1fr); }
  .gallery__grid  { grid-template-rows: 380px 380px; }
}

/* ==============================
   NAV
   ============================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow .25s;
}
.nav.shadow { box-shadow: 0 2px 20px rgba(0,0,0,.07); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.nav__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links li { display: flex; align-items: center; }

.nav__links a {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color .18s;
  position: relative;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); }

.nav__links a.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.nav__cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212,43,43,.3);
}
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.nav__links.mobile-open {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--white);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1.5rem 2rem;
  border-top: 1.5px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  transform: translateY(0);
}

/* ==============================
   HERO — split layout
   ============================== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
}

/* Left: text panel */
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* usuwamy max-width i margin-left:auto – obie kolumny równe */
  padding: 6rem clamp(2rem, 5vw, 5rem) 6rem clamp(1.5rem, 4vw, 4rem);
  /* tekst wypełnia całą lewą połowę */
  width: 100%;
  min-width: 0;
}

.hero__text .t-eyebrow { margin-bottom: 1.5rem; }

.hero__text h1 {
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero__text h1 em {
  font-style: normal;
  color: var(--red);
  position: relative;
  display: inline-block;
}

/* underline accent */
.hero__text h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  opacity: .25;
  border-radius: 2px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 100%;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,43,43,.28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  letter-spacing: 0.02em;
  transition: border-color .2s, background .2s, transform .2s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* Right: photo panel */
.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}
.hero__photo:hover img { opacity: 0.9; }

/* Red stripe accent na zdjęciu */
.hero__photo::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  z-index: 2;
}

/* ==============================
   USŁUGI — horizontal scroll cards
   ============================== */

.services {
  background: var(--off-white);
  padding: 100px 0;
  overflow: hidden;
}

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.services__header-left .t-eyebrow { margin-bottom: .75rem; }
.services__header-left h2 { color: var(--ink); }
.services__see-all {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  transition: gap .2s;
  flex-shrink: 0;
}
.services__see-all:hover { gap: .75rem; }

/* Siatka kart — 3 kolumny */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.svc-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .25s;
  cursor: default;
}

/* Numer karty — duży watermark */
.svc-card__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--concrete);
  line-height: 1;
  transition: color .25s;
  pointer-events: none;
  user-select: none;
}

.svc-card:hover { background: var(--ink); }
.svc-card:hover .svc-card__num { color: rgba(255,255,255,.06); }

.svc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(212,43,43,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background .25s;
}
.svc-card__icon i { color: var(--red); font-size: 1.1rem; }
.svc-card:hover .svc-card__icon { background: var(--red); }
.svc-card:hover .svc-card__icon i { color: var(--white); }

.svc-card h3 {
  color: var(--ink);
  margin-bottom: .65rem;
  transition: color .25s;
}
.svc-card:hover h3 { color: var(--white); }

.svc-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  transition: color .25s;
}
.svc-card:hover p { color: rgba(255,255,255,.55); }

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .03em;
  transition: gap .2s, color .25s;
}
.svc-card:hover .svc-card__link { color: rgba(255,255,255,.7); }
.svc-card:hover .svc-card__link:hover { color: var(--white); gap: .75rem; }

/* ==============================
   O NAS — duże zdjęcie + tekst
   ============================== */

.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.1);
}

.about__img {
  position: relative;
  background: var(--ink);
}
.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
/* Czerwona ramka akcentowa */
.about__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 4px solid var(--red);
  pointer-events: none;
}

.about__content {
  background: var(--off-white);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__content .t-eyebrow { margin-bottom: .75rem; }
.about__content h2 { color: var(--ink); margin-bottom: 1.5rem; }
.about__content p {
  color: var(--muted);
  font-size: .97rem;
  margin-bottom: 1rem;
}

.about__list {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.about__list li::before {
  content: '';
  display: block;
  width: 20px;
  min-width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 0;
  flex-shrink: 0;
}

/* ==============================
   ATUTY — Dlaczego MIXBED
   ============================== */

.why {
  background: var(--ink);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* wielka litera tło */
.why::before {
  content: 'M';
  position: absolute;
  top: -0.2em;
  right: -0.05em;
  font-size: 40vw;
  font-weight: 900;
  color: rgba(255,255,255,.025);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.why__header {
  margin-bottom: 4rem;
}
.why__header .t-eyebrow { color: rgba(255,255,255,.4); margin-bottom: .75rem; }
.why__header h2 { color: var(--white); max-width: 520px; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  transition: border-color .25s, background .25s, transform .25s;
}
.why-item:hover {
  border-color: var(--red);
  background: rgba(212,43,43,.05);
  transform: translateY(-4px);
}

.why-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(212,43,43,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--red);
  transition: background .25s;
}
.why-item:hover .why-item__icon { background: var(--red); color: var(--white); }

.why-item h3 { color: var(--white); margin-bottom: .6rem; font-size: 1rem; }
.why-item p  { font-size: .87rem; color: rgba(255,255,255,.45); line-height: 1.72; }

/* ==============================
   REALIZACJE — galeria masonary-like
   ============================== */

.gallery {
  background: var(--white);
  padding: 100px 0;
}

.gallery__header { margin-bottom: 3rem; }
.gallery__header .t-eyebrow { margin-bottom: .75rem; }
.gallery__header h2 { color: var(--ink); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px;
  gap: 8px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--concrete);
  cursor: pointer;
}
/* Układ: zdjęcia nieregularne */
.gallery__item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 7; }
.gallery__item:nth-child(3) { grid-column: span 4; }
.gallery__item:nth-child(4) { grid-column: span 3; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }

.gallery__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .85rem 1rem;
  background: linear-gradient(to top, rgba(20,20,20,.75), transparent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.gallery__item:hover .gallery__label { transform: translateY(0); }

/* czerwona ramka na hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0px solid var(--red);
  border-radius: 8px;
  transition: border-width .25s;
  pointer-events: none;
}
.gallery__item:hover::after { border-width: 3px; }

/* ==============================
   OPINIE — lista / wąska
   ============================== */

.reviews {
  background: var(--off-white);
  padding: 100px 0;
}

.reviews__header { margin-bottom: 3.5rem; }
.reviews__header .t-eyebrow { margin-bottom: .75rem; }
.reviews__header h2 { color: var(--ink); }

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.review-item {
  background: var(--white);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 2rem;
  transition: background .2s;
}
.review-item:hover { background: var(--concrete); }

.review-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-item__body {}
.review-item__name {
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}
.review-item__service {
  font-size: .76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .85rem;
}
.review-item__text {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.75;
}

.review-item__stars {
  color: #E2A800;
  font-size: .78rem;
  letter-spacing: 2px;
  flex-shrink: 0;
  padding-top: .1rem;
}

/* ==============================
   KONTAKT — duże pola, jasne tło
   ============================== */

.contact {
  background: var(--white);
  padding: 100px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact__info .t-eyebrow { margin-bottom: .5rem; }
.contact__info h2 { color: var(--ink); margin-bottom: 1rem; }
.contact__info > p  { color: var(--muted); font-size: .93rem; margin-bottom: 2rem; line-height: 1.7; }

.contact__rows { display: flex; flex-direction: column; gap: .55rem; }
.contact__row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  transition: background .18s;
}
.contact__row:hover { background: var(--off-white); }
.contact__row-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212,43,43,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: .85rem;
  flex-shrink: 0;
  transition: background .2s;
}
.contact__row:hover .contact__row-icon { background: var(--red); color: var(--white); }
.contact__row-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .1rem;
  line-height: 1.2;
}
.contact__row-value {
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.contact__row-value a { color: var(--ink); transition: color .2s; }
.contact__row-value a:hover { color: var(--red); }

/* FORM */
.contact__form {
  background: var(--off-white);
  border-radius: 16px;
  padding: 3rem;
  border: 1.5px solid var(--border);
}

.form__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -.02em;
}
.form__title span { color: var(--red); }

.form__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__group { margin-bottom: 1.1rem; }
.form__group label {
  display: block;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .4rem;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .82rem 1rem;
  font-size: .93rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #B8B4AF; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212,43,43,.1);
}
.form__group textarea { resize: vertical; min-height: 110px; }

.form__submit { width: 100%; padding: 1rem; font-size: .97rem; margin-top: .5rem; }
.form__note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: .75rem; }

.form__success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form__success i { font-size: 2.5rem; color: #22c55e; display: block; margin-bottom: 1rem; }
.form__success h3 { color: var(--ink); margin-bottom: .5rem; font-size: 1.2rem; }
.form__success p  { color: var(--muted); font-size: .93rem; }

/* ==============================
   FOOTER
   ============================== */

.footer {
  background: var(--ink);
  padding: 2.75rem 0;
  border-top: 3px solid var(--red);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__logo img {
  height: 36px;
  width: auto;
  /* logo is already dark — no invert; add white bg pill for dark footer */
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  display: block;
}

.footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  transition: color .2s;
}
.footer__links a:hover { color: var(--red); }

/* ==============================
   PODSTRONA — PAGE HEADER
   ============================== */

.page-hero {
  background: var(--off-white);
  padding: 120px 0 64px;
  border-bottom: 1.5px solid var(--border);
}
.page-hero .t-eyebrow { margin-bottom: .75rem; }
.page-hero h1 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: .85rem; }
.page-hero p  { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: .55rem; }

/* ==============================
   USŁUGI PODSTRONA
   ============================== */

/* Sticky nav usług */
.svc-subnav {
  position: sticky;
  top: 64px;
  z-index: 80;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
}
.svc-subnav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.svc-subnav__inner::-webkit-scrollbar { display: none; }
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 1.1rem 1.25rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.svc-tab:hover { color: var(--red); border-bottom-color: var(--red); }
.svc-tab i { font-size: .72rem; color: var(--red); }

/* Sekcje usług */
.svc-section {
  padding: 80px 0;
  border-bottom: 1.5px solid var(--border);
}
.svc-section:nth-child(even) { background: var(--off-white); }
.svc-section:last-child { border-bottom: none; }

.svc-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.svc-section:nth-child(even) .svc-section__inner { direction: rtl; }
.svc-section:nth-child(even) .svc-section__inner > * { direction: ltr; }

.svc-section__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.svc-section__content .t-eyebrow { margin-bottom: .5rem; }
.svc-section__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.svc-section__content > p { color: var(--muted); line-height: 1.82; margin-bottom: 1.6rem; }

.feature-lines { margin-bottom: 2rem; }
.feature-line {
  display: flex;
  gap: .85rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-line:last-child { border-bottom: none; }
.feature-line i { color: var(--red); margin-top: .18rem; flex-shrink: 0; }
.feature-line > div strong { display: block; font-size: .93rem; color: var(--ink); margin-bottom: .2rem; }
.feature-line > div span  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* Proces kroki */
.process {
  background: var(--off-white);
  padding: 100px 0;
}
.process__header { margin-bottom: 4rem; }
.process__header .t-eyebrow { margin-bottom: .75rem; }
.process__header h2 { color: var(--ink); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.proc-step {
  position: relative;
  padding-top: 1.5rem;
}
/* linia łącząca */
.proc-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.15rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 1px;
  background: var(--border);
}

.proc-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.proc-step h3 { color: var(--ink); margin-bottom: .55rem; font-size: .97rem; }
.proc-step p  { color: var(--muted); font-size: .86rem; line-height: 1.7; }

/* CTA band */
.cta-band {
  background: var(--red);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-band::before { width: 600px; height: 600px; top: -300px; left: -100px; }
.cta-band::after  { width: 400px; height: 400px; bottom: -200px; right: -100px; }

.cta-band h2 { color: var(--white); margin-bottom: .75rem; position: relative; z-index: 1; }
.cta-band p  { color: rgba(255,255,255,.78); margin-bottom: 2.25rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-band__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==============================
   ANIMACJE
   ============================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1024px) {
  /* ── HERO MOBILE: zdjęcie jako tło, tekst na wierzchu ── */
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    position: relative;
  }

  /* Zdjęcie zajmuje CAŁE hero jako tło */
  .hero__photo {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
  }
  .hero__photo::before { display: none; }
  .hero__photo img {
    opacity: 1;
  }

  /* Ciemny gradient overlay — tekst czytelny */
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,.55) 0%,
      rgba(10,10,10,.70) 60%,
      rgba(10,10,10,.80) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  /* Tekst na wierzchu overlaya */
  .hero__text {
    position: relative;
    z-index: 2;
    padding: 8rem clamp(1.5rem, 5vw, 3rem) 5rem;
    min-height: 100svh;
    justify-content: flex-end;
  }

  /* Na ciemnym tle — zmień kolory tekstu */
  .hero__text .t-eyebrow { color: rgba(255,255,255,.6); }
  .hero__text h1         { color: var(--white); }
  .hero__desc            { color: rgba(255,255,255,.75); }

  /* Przyciski — ghost staje się biały na ciemnym tle */
  .hero__actions .btn-ghost {
    border-color: rgba(255,255,255,.5);
    color: var(--white);
    background: rgba(255,255,255,.08);
  }
  .hero__actions .btn-ghost:hover {
    background: rgba(255,255,255,.18);
    border-color: var(--white);
  }

  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .svc-section__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-section:nth-child(even) .svc-section__inner { direction: ltr; }

  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .proc-step::after { display: none; }

  .contact__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.mobile-open { display: flex; }
  .nav__burger { display: flex; }

  .nav__links.mobile-open li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.mobile-open li:last-child { border-bottom: none; }
  .nav__links.mobile-open li a {
    padding: .85rem 0;
    width: 100%;
    font-size: 1.05rem;
    color: var(--ink);
    display: block;
  }
  .nav__links.mobile-open li:last-child { border-bottom: none; margin-top: .5rem; }
  .nav__links.mobile-open .nav__cta {
    width: 100%;
    justify-content: center;
    padding: .85rem 1rem;
    border-radius: 8px;
  }

  .about__inner { grid-template-columns: 1fr; }
  .about__img { height: 280px; }
  .about__img::after { border-right: none; border-bottom: 4px solid var(--red); }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(2) { grid-column: span 1; }
  .gallery__item:nth-child(3) { grid-column: span 1; }
  .gallery__item:nth-child(4) { grid-column: span 2; }

  .why__grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn-red,
  .hero__actions .btn-ghost { width: 100%; justify-content: center; }

  .form__row-2 { grid-template-columns: 1fr; }

  .review-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .review-item__stars { grid-column: 2; grid-row: 1; text-align: right; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; flex-wrap: wrap; }

  .services__header { flex-direction: column; align-items: flex-start; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__form { padding: 2rem 1.5rem; }

  .process__steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 220px); }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(4) { grid-column: span 1; }
  .why__grid { grid-template-columns: 1fr; }
}
