/* BxM.pl — doświadczenie, nagrody i realizacje. Tylko strona główna. */

main.bxm-home-legacy-intro ~ #sekcjakolorystyka1,
main.bxm-home-legacy-intro ~ #bxm-nagrody,
main.bxm-home-legacy-intro ~ #formulae,
main.bxm-home-legacy-intro ~ .tworzenie-stron-warszawa-body #bxm-strona-3a {
  /* Ten sam żywszy błękit co w oryginalnym znaku BxM Multimedia. */
  --bxm-proof-blue: #3274d2;
  --bxm-proof-ink: #262626;
  --bxm-proof-copy: #676b6d;
  --bxm-proof-line: #d9e0e2;
  --bxm-proof-soft: #f4f6f7;
}

/* Doświadczenie: pełna szerokość i jedna skala typografii, bez kontenera Bootstrap. */
#sekcjakolorystyka1.bxm-home-experience {
  clear: both;
  padding: clamp(48px, 4vw, 80px) 0;
  background: #eef0f0;
  color: #262626;
  font-family: "Open Sans", sans-serif;
}
.bxm-home-experience *, .bxm-home-experience *::before, .bxm-home-experience *::after {
  box-sizing: border-box;
}
.bxm-home-experience__inner {
  width: 95%;
  margin: 0 auto;
}
.bxm-home-experience__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin: 0 0 clamp(32px, 3vw, 56px);
}
.bxm-home-experience__eyebrow {
  margin: 0 0 16px;
  color: #3274d2;
  font-size: clamp(13px, .9vw, 17px);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}
#bxm-experience-title {
  max-width: none;
  margin: 0;
  color: #262626;
  font: 300 clamp(40px, 3.6vw, 76px)/1.08 "Open Sans", sans-serif;
  letter-spacing: -.045em;
}
.bxm-home-experience__lead {
  max-width: 58ch;
  margin: 0 0 4px;
  color: #565e62;
  font-size: clamp(19px, 1.35vw, 25px);
  font-weight: 400;
  line-height: 1.55;
}
.bxm-home-experience__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 80px);
  width: 100%;
}
.bxm-home-experience__metric {
  min-width: 0;
  padding: clamp(24px, 2.3vw, 40px) 0 0;
  border: 0;
  border-top: 1px solid #ccd4d9;
  background: transparent;
  box-shadow: none;
}
.bxm-home-experience__visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: clamp(16px, 1.5vw, 26px);
}
.bxm-home-experience__number {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: #3274d2;
  font-size: clamp(68px, 7vw, 148px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
}
.bxm-home-experience__plus {
  margin-left: .08em;
  font-size: .55em;
  font-weight: 300;
}
.bxm-home-experience__icon {
  flex: 0 0 auto;
  width: clamp(32px, 3.2vw, 58px);
  height: clamp(32px, 3.2vw, 58px);
  fill: none;
  stroke: #3274d2;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bxm-home-experience__metric h3 {
  margin: 0;
  color: #262626;
  font-size: clamp(23px, 1.65vw, 34px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.bxm-home-experience__copy {
  max-width: 43ch;
  margin: 14px 0 0;
  color: #565e62;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 400;
  line-height: 1.55;
}
.bxm-home-experience__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .bxm-home-experience__heading { grid-template-columns: 1fr; gap: 20px; }
  .bxm-home-experience__lead { max-width: 65ch; }
}
@media (max-width: 700px) {
  .bxm-home-experience__inner { width: calc(100% - 40px); }
  .bxm-home-experience__metrics { grid-template-columns: 1fr; gap: 28px; }
  .bxm-home-experience__number { font-size: 88px; }
  .bxm-home-experience__icon { width: 42px; height: 42px; }
  .bxm-home-experience__visual { margin-bottom: 14px; }
  .bxm-home-experience__metric { padding-top: 24px; }
}

/* Pseudo-elementy Bootstrap nie mogą zajmować pierwszego pola siatki. */
main.bxm-home-legacy-intro ~ .tworzenie-stron-warszawa-body #bxm-strona-3a .row::before,
main.bxm-home-legacy-intro ~ .tworzenie-stron-warszawa-body #bxm-strona-3a .row::after {
  display: none !important;
  content: none !important;
}

#bxm-strona-3b-all {
  background-image: url('../gfx/bxm_2016/tworzenie-stron-czarny-01-2026.webp');
}

/* Nagrody: otwarty układ logo + opis, wspólne białe tło i szerokość strony. */
#bxm-nagrody.bxm-awards {
  clear: both;
  margin: 0 !important;
  padding: clamp(48px, 4vw, 80px) 0;
  background: #fff;
  color: #262626;
  font-family: "Open Sans", sans-serif;
  scroll-margin-top: 128px;
}
.bxm-awards *, .bxm-awards *::before, .bxm-awards *::after { box-sizing: border-box; }
.bxm-awards__inner { width: 95%; max-width: none; margin: 0 auto; }
.bxm-awards__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin: 0 0 clamp(40px, 4vw, 72px);
}
#bxm-awards-title {
  max-width: none;
  margin: 0;
  color: #262626;
  font: 300 clamp(40px, 3.6vw, 76px)/1.08 "Open Sans", sans-serif;
  letter-spacing: -.045em;
}
.bxm-awards__heading > p {
  margin: 0 0 4px;
  color: #565e62;
  font-size: clamp(19px, 1.35vw, 25px);
  font-weight: 400;
  line-height: 1.55;
}
.bxm-awards__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 3.8vw, 64px) clamp(28px, 3vw, 60px);
}
.bxm-awards__item {
  display: grid;
  grid-template-columns: clamp(96px, 7.3vw, 144px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 1.5vw, 28px);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bxm-awards__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: clamp(110px, 7.5vw, 146px);
}
#bxm-nagrody .bxm-awards__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.bxm-awards__details { min-width: 0; }
.bxm-awards__details h3 {
  margin: 0;
  color: #262626;
  font-size: clamp(23px, 1.5vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.bxm-awards__details > p {
  margin: 10px 0 0;
  color: #565e62;
  font-size: clamp(18px, 1.12vw, 22px);
  font-weight: 400;
  line-height: 1.55;
}
.bxm-awards__details > .bxm-awards__year {
  margin: 0 0 9px;
  color: #69757b;
  font-size: clamp(13px, .85vw, 16px);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.4;
}
.bxm-awards__certificates {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 4vw, 72px);
  padding-top: clamp(32px, 3vw, 56px);
  border: 0;
  border-top: 1px solid #e0e5e8;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bxm-awards__certificate-copy { min-width: 0; }
#bxm-certificates-title {
  margin: 0 0 16px;
  color: #262626;
  font: 300 clamp(30px, 2.4vw, 48px)/1.15 "Open Sans", sans-serif;
  letter-spacing: -.035em;
}
.bxm-awards__certificate-copy > p {
  max-width: none;
  margin: 0;
  color: #565e62;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 400;
  line-height: 1.55;
}
#bxm-nagrody.bxm-awards .bxm-awards__certificate-media {
  display: block;
  width: min(100%, 620px);
  min-height: 0;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
#bxm-nagrody.bxm-awards .bxm-awards__certificate-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .bxm-awards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .bxm-awards__heading { grid-template-columns: 1fr; gap: 20px; }
  .bxm-awards__certificates { grid-template-columns: 1fr; gap: 28px; }
  #bxm-nagrody.bxm-awards .bxm-awards__certificate-media { margin-inline: auto; }
}
@media (max-width: 700px) {
  .bxm-awards__inner { width: calc(100% - 40px); }
  .bxm-awards__list { grid-template-columns: 1fr; gap: 32px; }
  .bxm-awards__item { grid-template-columns: 84px minmax(0, 1fr); gap: 20px; }
  .bxm-awards__mark { height: 100px; }
  .bxm-awards__details h3 { font-size: 22px; }
  .bxm-awards__details > p { font-size: 18px; }
  .bxm-awards__details > .bxm-awards__year { font-size: 13px; }
  .bxm-awards__heading { margin-bottom: 36px; }
}

/* Panasonic: one unobscured image, with the story above rather than over it. */
main.bxm-home-legacy-intro ~ #formulae.bxm-brand-story {
  display: block !important;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin: 0;
  padding: clamp(36px, 3vw, 64px) 0 0;
  background: #fff !important;
  overflow: visible;
  color: #202629;
  font-family: "Open Sans", sans-serif;
}
.bxm-brand-story, .bxm-brand-story * { box-sizing: border-box; }
#formulae .bxm-brand-story__heading {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 24px clamp(32px, 5vw, 100px);
  width: 95%;
  margin: 0 auto clamp(24px, 2vw, 40px);
}
#formulae .bxm-brand-story__eyebrow {
  margin: 0 0 12px;
  color: #326dc5;
  font-size: clamp(12px, .8vw, 15px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#formulae.bxm-brand-story h2 {
  margin: 0;
  font: 300 clamp(36px, 3vw, 60px)/1.12 "Open Sans", sans-serif !important;
  letter-spacing: -.04em;
  color: #202629;
}
#formulae .bxm-brand-story__intro p {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(17px, 1.05vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  color: #596166;
}
#formulae .bxm-brand-story__intro a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 12px;
  color: #2865ba;
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 600;
  text-decoration: none;
}
.bxm-brand-story__intro a svg { width: 24px; height: 24px; transition: transform .2s; }
.bxm-brand-story__intro a:hover svg { transform: translate(3px,-3px); }
.bxm-brand-story__intro a:focus-visible { outline: 2px solid #2865ba; outline-offset: 4px; }
#formulae .bxm-brand-story__media {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0ebcd1;
}
/* Extend the original solid side colour, not the photograph. The original
   lower chevron stays in the image; this white baseline continues beside it. */
.bxm-brand-story__media::before { content: ""; position: absolute; inset: auto 0 0; height: 7.1%; background: #fff; }
.bxm-brand-story__media picture { position: relative; display: block; }
#formulae .bxm-brand-story__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}
@media (max-width: 700px) {
  #formulae .bxm-brand-story__heading {
    width: calc(100% - 40px);
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 24px;
  }
  #formulae.bxm-brand-story h2 { font-size: clamp(34px, 7.5vw, 46px) !important; }
  #formulae .bxm-brand-story__media img { aspect-ratio: 1400 / 708; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bxm-brand-story__intro a svg { transition: none; }
}

/* Keep three awards across on laptop screens. */
@media (min-width: 1101px) and (max-width: 1300px) {
  .bxm-awards__list { column-gap: 28px; row-gap: 40px; }
  .bxm-awards__item { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .bxm-awards__mark { height: 100px; }
  .bxm-awards__details h3 { font-size: 21px; }
  .bxm-awards__details > p { font-size: 17px; }
}
