@import url('tokens.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400
}

h1,
h2,
h3,
h4,
.dsp {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--ink)
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px
}

.red {
  color: var(--red)
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--red);
  display: inline-block;
  margin-bottom: 14px
}

.redline {
  width: 54px;
  height: 4px;
  background: var(--red);
  border: 0;
  margin: 0 0 26px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 10px 32px;
  border-radius: 999px;
  transition: .18s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap
}

.btn-red {
  background: var(--red);
  color: #fff
}

.btn-red:hover {
  background: var(--red-d)
}

.btn-out {
  background: transparent;
  color: var(--ink);
  border-color: #d4dadd
}

.btn-out:hover {
  border-color: var(--ink)
}

.btn-out-l {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4)
}

.btn-out-l:hover {
  background: #fff;
  color: var(--dark)
}

.btn-dark {
  background: #0e1820;
  color: #fff
}

.btn-dark:hover {
  background: #000
}

.btn-gray {
  background: var(--ink);
  color: #fff
}

.btn-gray:hover {
  background: var(--dark)
}

section {
  position: relative
}

.pad {
  padding: 96px 0
}

.sec-head h2 {
  font-size: 40px;
  margin-bottom: 16px
}

.lead {
  font-size: 16px;
  color: var(--body)
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line)
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 26px
}

.brand {
  display: inline-flex;
  align-items: center
}

.brand img {
  height: 64px;
  width: auto
}

.f-logo img {
  height: 60px
}

header nav ul {
  display: flex;
  gap: 46px;
  list-style: none
}

header nav a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .8px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: .15s
}

header nav a:hover {
  color: var(--red);
  border-color: var(--red)
}

.h-right {
  display: flex;
  align-items: center;
  gap: 28px
}

.h-contact {
  display: flex;
  align-items: center
}

.h-phone,
.h-mail,
.h-loc {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  padding: 0 20px;
  border-left: 1px solid var(--line);
  line-height: 1;
  transition: color .15s
}

.h-contact>:first-child {
  padding-left: 0;
  border-left: 0
}

.h-phone:hover,
.h-mail:hover {
  color: var(--red)
}

.h-phone i,
.h-mail i,
.h-loc i {
  color: var(--red);
  font-size: 17px
}

.burger {
  display: none;
  font-size: 30px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 88px 0 0;
  background: #fff;
  z-index: 55;
  flex-direction: column;
  padding: 24px 28px;
  gap: 6px;
  overflow-y: auto;
  border-top: 1px solid var(--line)
}

.mobile-nav.open {
  display: flex
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%
}

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: block
}

.mobile-nav .m-contact {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  gap: 14px 26px
}

.mobile-nav .m-contact a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 11px
}

.mobile-nav .m-contact .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  padding: 13px 28px;
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  justify-content: center
}

.mobile-nav .m-contact i {
  color: var(--red)
}

body.nav-locked {
  overflow: hidden
}

/* HERO */
.hero {
  background: var(--soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line)
}

.hero-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .16;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, .35) 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgba(0, 0, 0, .35) 82%, transparent 100%)
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, rgba(45, 64, 76, .045) 0 1px, transparent 1px 38px)
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 246, 248, .45) 0%, rgba(244, 246, 248, .3) 50%, rgba(244, 246, 248, 0) 78%)
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 78px 28px 130px;
  position: relative;
  z-index: 4
}

.hero-orn {
  position: absolute;
  right: -80px;
  top: 45%;
  transform: translateY(-50%);
  width: 54%;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
  user-select: none
}

.hero h1 {
  font-size: 62px;
  margin: 6px 0 0
}

.hero .redline {
  margin: 24px 0 22px
}

.hero p {
  max-width: 460px;
  margin-bottom: 34px;
  font-size: 16px
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-img img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2
}

/* FEATURE BAR */
.features {
  position: relative;
  z-index: 20;
  margin: -94px auto
}

.features .box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 55px rgba(22, 35, 47, .16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 188px;
  overflow: hidden
}

.feat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: background .25s ease, border-color .25s ease
}

.feat:first-child {
  border-left: 0
}

.feat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease
}

.feat i {
  font-size: 26px;
  color: #fff;
  background: var(--red);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background .25s ease, color .25s ease, transform .25s ease
}

.feat b {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  display: block;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.1;
  margin-bottom: 6px;
  transition: color .25s ease
}

.feat span {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.45;
  display: block;
  transition: color .25s ease
}

.feat:hover {
  background: var(--dark);
  border-left-color: transparent
}

.feat:hover+.feat {
  border-left-color: transparent
}

.feat:hover:before {
  transform: scaleX(1)
}

.feat:hover i {
  background: #0e1a24;
  color: #fff;
  transform: translateY(-3px)
}

.feat:hover b {
  color: #fff
}

.feat:hover span {
  color: #c3cfd6
}

/* SERVICE */
.service {
  background: var(--dark);
  color: #aebcc5;
  overflow: hidden;
  padding-top: 132px
}

.service .wm {
  position: absolute;
  top: 12rem;
  right: -5rem;
  font-family: var(--font-head);
  font-size: 400px;
  color: rgba(255, 255, 255, .03);
  letter-spacing: 8px;
  pointer-events: none;
  line-height: .8;
}

.svc-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 50px;
  position: relative
}

.service h2 {
  color: #fff;
  font-size: 38px
}

.service .svc-head p {
  max-width: 430px;
  margin-top: 14px
}

.svc-head .endline {
  justify-self: end;
  align-self: center;
  width: 90px;
  height: 4px;
  background: var(--red)
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative
}

.svc {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  padding: 30px 28px;
  transition: .2s
}

.svc:hover {
  border-color: var(--hover);
  background: var(--hover)
}

.svc .top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px
}

.svc .top i {
  font-size: 40px;
  color: #fff;
  flex: none
}

.svc .num {
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--red);
  line-height: 1
}

.svc h3 {
  color: #fff;
  font-size: 23px;
  margin-top: 2px
}

.svc p {
  font-size: 14px;
  color: #93a2ab
}

/* PRODUCERS + ABOUT */
.prod,
.about {
  background: var(--soft);
  overflow: hidden
}

.prod:before,
.about:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, rgba(45, 64, 76, .045) 0 1px, transparent 1px 38px);
  background-attachment: fixed
}

.prod .wrap,
.about .wrap {
  position: relative;
  z-index: 1
}

.prod .wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
  align-items: center
}

.prod h2 {
  font-size: 34px;
  margin-bottom: 16px
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.pchip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, box-shadow .18s, transform .18s
}

.pchip:hover {
  border-color: var(--red);
  box-shadow: 0 12px 26px rgba(22, 35, 47, .10);
  transform: translateY(-3px)
}

.pchip img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .35s ease, opacity .35s ease
}

.pchip:hover img {
  filter: grayscale(0);
  opacity: 1
}

/* ABOUT */
.about {
  padding: 0
}

.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0
}

.about-img {
  min-height: 480px;
  background: linear-gradient(135deg, #2a3946, #19262f);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #516471;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600
}

.about-txt {
  padding: 90px 0 90px 64px
}

.about-txt h2 {
  font-size: 34px;
  margin-bottom: 18px
}

.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px
}

.af {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow: 0 6px 18px rgba(22, 35, 47, .05);
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.af:hover {
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(22, 35, 47, .10)
}

.af i {
  font-size: 22px;
  color: var(--red);
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 28, 36, .08);
  border-radius: 10px;
  transition: background .2s, color .2s
}

.af:hover i {
  background: var(--red);
  color: #fff
}

.af b {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55
}

/* CTA BAND */
.ctaband {
  background: var(--dark);
  color: #fff;
  overflow: hidden
}

.ctaband:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: repeating-linear-gradient(125deg, var(--red) 0 30px, transparent 30px 70px);
  opacity: .16;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%)
}

.ctaband .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 58px 28px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap
}

.ctaband h2 {
  color: #fff;
  font-size: 36px
}

.ctaband p {
  color: #c3cfd6;
  font-size: 16px;
  margin-top: 6px
}

.ctaband .acts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* OPINIE */
.opinie {
  background: var(--soft)
}

.opinie .wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  align-items: start
}

.opinie h2 {
  font-size: 34px;
  margin-bottom: 16px
}

.gbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 22px;
  transition: .18s
}

.gbtn:hover {
  border-color: var(--red)
}

.gbtn .g {
  font-family: var(--font-head);
  font-size: 18px
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.rev {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
  position: relative
}

.rev .stars {
  color: var(--red);
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 2px
}

.rev .q {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-head);
  font-size: 40px;
  color: #eceef0;
  line-height: 1
}

.rev p {
  font-size: 14px;
  color: var(--ink);
  min-height: 84px
}

.rev .who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px
}

.rev .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 20px
}

.rev .who b {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  display: block
}

.rev .who span {
  font-size: 12px;
  color: var(--muted)
}

/* KONTAKT */
.kontakt {
  overflow: hidden
}

.kontakt:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, rgba(45, 64, 76, .05) 0 1px, transparent 1px 38px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 50%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 50%)
}

.kontakt .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 30fr 25fr 45fr;
  gap: 44px;
  align-items: start
}

.kontakt-photo {
  align-self: stretch
}

.kontakt-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 14px
}

.kontakt h2 {
  font-size: 34px;
  margin-bottom: 16px
}

.cinfo {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px
}

.ci {
  display: flex;
  gap: 14px;
  align-items: center
}

.ci-ic {
  width: 46px;
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 17px
}

.ci a,
.ci span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink)
}

.ci span i {
  color: #fff;
}

.ci a {
  transition: color .15s
}

.ci a:hover {
  color: var(--red)
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

form .full {
  grid-column: 1/-1
}

form input,
form select,
form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  transition: .15s
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff
}

form textarea {
  min-height: 130px;
  resize: vertical
}

form .btn {
  justify-content: center
}

/* MAP */
.map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(.2)
}

/* FOOTER */
footer {
  position: relative;
  background: var(--dark);
  color: #9fb0b9;
  overflow: hidden
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  z-index: 0;
  pointer-events: none;
  background: url(https://www.dachspid.pl/wp-content/uploads/2026/06/2149343703-1.jpg) center center / cover no-repeat;
  filter: grayscale(1);
  opacity: .3;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .4) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .4) 55%, transparent 100%)
}

footer>.wrap,
footer .f-bar {
  position: relative;
  z-index: 1
}

/* --- Pasek info --- */
.f-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  padding: 40px 0;
  border-bottom: 1px solid var(--dark-line)
}

.f-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit
}

.f-info-ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 19px;
  transition: .2s
}

a.f-info-item:hover .f-info-ic {
  background: var(--red);
  color: #fff
}

.f-info-tx {
  display: flex;
  flex-direction: column;
  line-height: 1.35
}

.f-info-tx b {
  color: #fff;
  font-size: 16px;
  font-weight: 600
}

.f-info-tx small {
  color: #8ea0a9;
  font-size: 13px
}

/* --- 5 kolumn --- */
.f-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.3fr 1fr .9fr;
  gap: 40px;
  padding: 56px 0
}

.f-col-logo .f-logo img {
  height: 120px;
  width: auto
}

footer h4 {
  color: #fff;
  font-size: 21px;
  letter-spacing: 1px;
  margin-bottom: 14px
}

footer .desc {
  font-size: 14px;
  color: #8ea0a9;
  max-width: 340px
}

footer ul {
  list-style: none
}

footer ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  font-size: 14px
}

footer ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg)
}

footer ul a:hover {
  color: #fff
}

.f-ci {
  display: flex;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
  align-items: flex-start
}

.f-ci i {
  color: var(--red);
  width: 20px;
  flex: none;
  margin-top: 3px
}

/* --- Kolumna social --- */
.f-col-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: .2s
}

.socials a:hover {
  filter: brightness(1.12);
  transform: translateY(-2px)
}

/* --- Pasek dolny --- */
.f-bar {
  border-top: 1px solid var(--dark-line);
  padding: 22px 0;
  font-size: 14px;
  color: #7e909a
}

.f-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px
}

.f-copy a {
  color: #b7c4cc;
  transition: .18s
}

.f-copy a:hover {
  color: #fff
}

.f-bar-right {
  display: flex;
  align-items: center;
  gap: 7px
}

.f-top {
  width: 40px;
  height: 40px;
  flex: none;
  margin-left: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: .2s
}

.f-top:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px)
}

.f-credit {
  color: #b7c4cc;
  transition: .18s
}

.f-credit:hover {
  color: #fff
}

.svc .num,
.af b,
.gbtn .g,
.rev .q {
  font-weight: 600
}

/* ============================================================
   PODSTRONY
   ============================================================ */

/* --- Nagłówek podstrony --- */
.page-title {
  background: var(--dark);
  color: #fff;
  overflow: hidden
}

.page-title:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  z-index: 0;
  background: repeating-linear-gradient(125deg, #d81d27 0 30px, transparent 30px 70px);
  opacity: .8;
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%);
}

.page-title .wrap {
  position: relative;
  z-index: 2;
  padding: 56px 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 52px
}

.page-title .wrap:before {
  content: "";
  flex: none;
  width: 54px;
  height: 4px;
  background: var(--red)
}

.page-title--product .wrap {
  display: block
}

.page-title--product .wrap:before {
  display: none
}

.page-title--product .crumbs {
  margin-top: 18px
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px
}

.crumbs a {
  color: #b7c4cc;
  transition: .18s
}

.crumbs a:hover {
  color: #fff
}

.crumbs .sep {
  color: var(--red)
}

.crumbs .current {
  color: #fff
}

.page-title h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.02
}

.page-meta {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 4px;
  color: #c3cfd6;
  font-size: 14px
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.page-meta i {
  color: var(--red)
}

.page-meta a:hover {
  color: #fff
}

/* --- Kontener treści --- */
.page-wrapper {
  position: relative;
  padding: 72px 0 96px;
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
  overflow: hidden
}

.page-wrapper:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, rgba(45, 64, 76, .045) 0 1px, transparent 1px 38px);
  background-attachment: fixed
}

.page-wrapper .wrap {
  position: relative;
  z-index: 1
}

.entry-page {
  max-width: 1380px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 56px 64px
}

.entry-thumb {
  margin: 0 0 40px
}

.entry-thumb img {
  width: 100%;
  border-radius: 14px
}

/* --- Typografia treści --- */
.entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body)
}

.entry-content>*+* {
  margin-top: 1.15em
}

.entry-content h2 {
  font-size: 32px;
  margin: 2rem 0 .55em;
}

.entry-content h2:first-child,
.entry-content>h2:first-of-type {
  margin-top: 0
}

.entry-content h3 {
  font-size: 25px;
  margin: 1.5em 0 .5em
}

.entry-content h4 {
  font-size: 20px;
  margin: 1.4em 0 .45em
}

.entry-content p {
  margin: 0 0 1.5rem
}

.entry-content a:not(.btn) {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: .18s
}

.entry-content a:not(.btn):hover {
  color: var(--red-d)
}

.entry-content strong {
  color: var(--ink);
  font-weight: 700
}

.entry-content ul,
.entry-content ol {
  margin: 1.15em 0;
  padding: 0
}

.entry-content ul {
  list-style: none
}

.entry-content ul li {
  position: relative;
  padding-left: 28px
}

.entry-content ul li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 9px;
  height: 9px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg)
}

.entry-content ol {
  list-style: none;
  counter-reset: ds-ol
}

.entry-content ol li {
  position: relative;
  padding-left: 36px;
  counter-increment: ds-ol
}

.entry-content ol li:before {
  content: counter(ds-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--red);
  line-height: 1.55
}

.entry-content li {
  margin-top: .45em
}

.entry-content li ul,
.entry-content li ol {
  margin: .45em 0 0
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--red);
  color: var(--ink);
  font-size: 19px;
  font-style: italic
}

/* --- Tabele --- */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px
}

.entry-content th,
.entry-content td {
  padding: 13px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top
}

.entry-content thead th {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-color: var(--dark)
}

.entry-content tbody tr:nth-child(even) {
  background: var(--soft)
}

/* --- Pojedynczy obrazek --- */
.entry-content figure.wp-block-image {
  margin: 1.6em 0
}

.entry-content img,
.entry-content figure.wp-block-image img {
  border-radius: 12px
}

.entry-content figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center
}

/* --- Galeria Gutenberga --- */
.entry-content .wp-block-gallery.has-nested-images {
  display: block;
  columns: 3;
  column-gap: 16px
}

.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  width: auto !important;
  margin: 0 0 16px;
  break-inside: avoid
}

.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: 100%;
  height: auto;
  display: block
}

.entry-content .wp-block-gallery img {
  cursor: zoom-in
}

/* --- Lightbox --- */
.ds-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 24, .93);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px)
}

.ds-lightbox.open {
  display: flex
}

.ds-lb-img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55)
}

.ds-lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  transition: .18s;
  display: flex;
  align-items: center;
  justify-content: center
}

.ds-lightbox button:hover {
  background: var(--red);
  border-color: var(--red)
}

.ds-lb-close {
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  font-size: 26px;
  line-height: 1
}

.ds-lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 30px;
  line-height: 1
}

.ds-lb-prev {
  left: 28px
}

.ds-lb-next {
  right: 28px
}

/* ============================================================
   STRONA KONTAKT
   ============================================================ */

/* --- Dane kontaktowe --- */
#cols-kontakt {
  gap: 18px;
  flex-wrap: wrap;
  margin: 30px 0 46px
}

#cols-kontakt .wp-block-column {
  position: relative;
  flex-basis: 0;
  flex-grow: 1;
  min-width: 180px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px
}

#cols-kontakt .wp-block-column:before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 30px;
  height: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px
}

#cols-kontakt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body)
}

#cols-kontakt strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 12px
}

#cols-kontakt strong+br {
  display: none
}

#cols-kontakt a {
  color: var(--red);
  font-weight: 600;
  transition: .15s
}

#cols-kontakt a:hover {
  color: var(--red-d)
}

/* --- Formularz CF7 --- */
.wpcf7 {
  margin-top: 8px
}

.wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  align-items: start
}

.wpcf7-form .hidden-fields-container {
  display: none
}

.wpcf7-form>.cf7-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.wpcf7-form>p {
  margin: 0
}

.wpcf7-form>p:nth-of-type(3),
.wpcf7-form>p:nth-of-type(4),
.wpcf7-form>p:nth-of-type(5),
.wpcf7-form>.wpcf7-response-output {
  grid-column: 1 / -1
}

.wpcf7-form .cf7-row p {
  margin: 0
}

.wpcf7-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: .2px
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px
}

.wpcf7-form input:not([type=checkbox]):not([type=submit]),
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  transition: .15s
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, .1)
}

.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical
}

.wpcf7-form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 14px 22px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink)
}

.wpcf7-form .wpcf7-response-output[aria-hidden="true"] {
  display: none
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output {
  border-color: #f4b740;
  background: #fff8e8;
  color: #8a6400
}

.wpcf7-form.sent .wpcf7-response-output {
  border-color: #4caf50;
  background: #edf7ee;
  color: #2e7d32
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  border-color: var(--red);
  background: #fff1f1;
  color: var(--red-d)
}

.wpcf7-not-valid-tip {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px
}

.wpcf7-form .wpcf7-not-valid {
  border-color: var(--red) !important
}

.wpcf7 .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0
}

.wpcf7-spinner {
  margin: 0 0 0 14px
}

.wpcf7-form .cf7-consent {
  font-weight: 400;
  color: var(--body)
}

.wpcf7-form .cf7-consent>br {
  display: none
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0
}

.wpcf7-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.55;
  cursor: pointer
}

.wpcf7-form input[type=checkbox] {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--red);
  cursor: pointer
}

.wpcf7-form .wpcf7-submit {
  -webkit-appearance: none;
  appearance: none;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  transition: background .18s, opacity .18s
}

.wpcf7-form .wpcf7-submit:hover:not(:disabled) {
  background: var(--red-d)
}

.wpcf7-form .wpcf7-submit:disabled {
  background: var(--red);
  color: #fff;
  opacity: .55;
  cursor: not-allowed
}

.entry-content iframe {
  border-radius: 12px;
  border: 1px solid var(--line)
}

/* ============================================================
   OFERTA
   ============================================================ */
.offer-intro {
  max-width: 1380px;
  margin: 0 auto 48px;
  text-align: center
}

.offer-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.offer-grid--4 {
  grid-template-columns: repeat(4, 1fr)
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: .2s
}

.offer-card:hover {
  border-color: var(--hover);
  box-shadow: 0 18px 40px -22px rgba(22, 35, 47, .5)
}

.offer-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden
}

.offer-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s
}

.offer-card:hover .offer-card__thumb img {
  transform: scale(1.05)
}

.offer-card__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  color: var(--muted)
}

.offer-card__name {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
  padding: 20px 24px;
  transition: .18s
}

.offer-card:hover .offer-card__name {
  color: var(--red)
}

/* ============================================================
   ROTATOR (karuzela oferty na stronie głównej)
   ============================================================ */
.rotator {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.rotator-head {
  max-width: 1380px;
  margin: 0 auto 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px
}

.rotator-intro h2 {
  font-size: 40px;
  line-height: 1.05;
  max-width: 780px;
  margin: 0
}

.rotator-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none
}

.rotator-nav {
  display: flex;
  gap: 10px
}

.rotator-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #d4dadd;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .18s
}

.rotator-arrow:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff
}

.rotator-swiper {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 0 28px
}

.rotator-swiper .swiper-slide {
  height: auto;
  display: flex
}

.rotator-swiper .offer-card {
  width: 100%
}

/* ============================================================
   PRODUKT
   ============================================================ */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}

.product-media {
  aspect-ratio: 1 / 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.product-media__ph {
  font-size: 60px;
  color: var(--muted)
}

.product-name {
  font-family: var(--font-head);
  font-size: 46px;
  line-height: 1.04;
  color: var(--ink);
  margin: 0
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 16px 0 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.4;
  color: var(--ink)
}

.product-badge::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red)
}

.product-desc p:last-child {
  margin-bottom: 0
}

.product-gallery {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px
}

.product-gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: zoom-in
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease
}

.product-gallery__item:hover img {
  transform: scale(1.05)
}

.product-divider {
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 60px 0 44px
}

.related-title {
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--ink);
  margin-bottom: 28px
}

.product-tabs {
  margin-top: 52px
}

.tabs-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px
}

.tabs-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.tab-btn {
  font-family: var(--font-head);
  font-size: 23px;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 6px 15px;
  margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  transition: .18s
}

.tab-btn:hover {
  color: var(--ink)
}

.tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--red)
}

.tabs-nav .btn {
  margin-bottom: 11px
}

.tab-pane {
  display: none
}

.tab-pane.is-active {
  display: block
}

.tabs-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 1rem
}

.tabs-actions .btn {
  width: 100%;
  margin: 0;
  justify-content: center
}

/* MODAL (zapytanie o produkt) */
.ds-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.ds-modal.open {
  display: flex
}

.ds-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 32, .62)
}

.ds-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 42px;
  box-shadow: 0 30px 80px -20px rgba(14, 24, 32, .55)
}

.ds-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: .18s
}

.ds-modal__close:hover {
  background: var(--red);
  color: #fff
}

.ds-modal__title {
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0
}

.ds-modal__sub {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: 13px;
  color: var(--red);
  margin: 6px 0 22px
}

/* Modal otwarty — header chowamy pod overlay (wrap tworzy kontekst stackingu z-index:1) */
body.ds-modal-open header {
  z-index: -1
}

/* Formularz w modalu: jedna kolumna — pola spoza .cf7-row pełną szerokością */
.ds-modal .wpcf7-form {
  grid-template-columns: 1fr
}

/* Przycisk wysyłki w modalu — trzyma wygląd we wszystkich stanach (focus/active/disabled),
   żeby przy wysyłaniu nie wyłaził natywny pusty input */
.ds-modal .wpcf7-form .wpcf7-submit,
.ds-modal .wpcf7-form .wpcf7-submit:focus,
.ds-modal .wpcf7-form .wpcf7-submit:active,
.ds-modal .wpcf7-form .wpcf7-submit:disabled {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 44px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  opacity: 1
}

.ds-modal .wpcf7-form .wpcf7-submit:hover {
  background: var(--red-d)
}

.ds-modal .wpcf7-form .wpcf7-submit:disabled {
  opacity: .65;
  cursor: default
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px
}

.color-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff
}

.color-swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 120px;
  border-bottom: 1px solid rgba(22, 35, 47, .10)
}

.color-meta {
  display: block;
  padding: 11px 13px 13px;
  line-height: 1.3
}

.color-name {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px
}

.color-ral {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted)
}

.color-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted)
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.spec-table th {
  width: 42%;
  font-weight: 600;
  color: var(--ink);
  background: var(--soft)
}

.spec-table td {
  color: var(--body)
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0
}

/* ============================================================
   BLOG / ARCHIWUM (archive, category, search, index)
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s
}

.post-card:hover {
  border-color: var(--red);
  box-shadow: 0 16px 36px rgba(22, 35, 47, .10);
  transform: translateY(-3px)
}

.post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05)
}

.post-card__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--muted)
}

.post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px
}

.post-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted)
}

.post-card__date i {
  color: var(--red)
}

.post-card__title {
  font-size: 22px;
  line-height: 1.15
}

.post-card__title a:hover {
  color: var(--red)
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--body)
}

.post-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--red);
  transition: gap .18s
}

.post-card__more:hover {
  gap: 13px
}

.archive-intro {
  max-width: 760px;
  margin: 0 0 36px;
  color: var(--body);
  font-size: 16px
}

/* paginacja */
.pagination {
  margin-top: 44px
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center
}

.pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  color: var(--ink);
  transition: .15s
}

.pagination .page-numbers:hover {
  border-color: var(--red);
  color: var(--red)
}

.pagination .page-numbers.current {
  background: var(--red);
  border-color: var(--red);
  color: #fff
}

/* nawigacja wpisu (prev / next) */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line)
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s
}

.post-nav__link:hover {
  border-color: var(--red)
}

.post-nav__next {
  text-align: right;
  align-items: flex-end
}

.post-nav__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red)
}

.post-nav__title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.2
}

.search-again {
  margin-top: 24px;
  max-width: 480px
}