*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1330px) {
  .container {
    max-width: 1250px;
  }
}

@font-face {
  font-family: formaOffice;
  src: url(fonts/HPFormaDJRCyrlOffice-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: formaOffice;
  src: url(fonts/HPFormaDJRCyrlOffice-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: formaOffice;
  src: url(fonts/HPFormaDJRCyrlOffice-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: formaOfficeMedium;
  src: url(fonts/HPFormaDJRCyrlOffice-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  overflow-x: hidden;
}

.gambit-lp-body {
  background-color: #fff;
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: #000;
  overflow-x: hidden;
}

.gambit-lp-body h1,
.gambit-lp-body h2,
.gambit-lp-body h3,
.gambit-lp-body h4 {
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.gambit-lp-body p,
.gambit-lp-body ul li,
.gambit-lp-body span {
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.gambit-lp-body ul {
  padding-bottom: 30px;
  padding-left: 55px;
  padding-right: 20px;
  margin-top: -15px;
}

.gambit-lp-body ul li {
  font-size: 17px;
  line-height: 24px;
  position: relative;
  list-style: none;
  margin-left: -5px;
  padding-left: 15px;
}

.gambit-lp-body ul li::after {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: -17px;
  width: 5px;
  height: 5px;
  background: #000;
  border-radius: 50%;
}

.gambit-lp-body h3.gambit-lp-border-h3 {
  font-size: 22px;
  padding-top: 10px;
  padding-left: 10px;
  font-weight: 500;
  margin-bottom: 8px;
}

.gambit-lp-body h3.gambit-lp-currency-header {
  padding-top: 0;
  padding-left: 0;
  padding-bottom: 0;
  margin-left: 10px;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 2px;
  font-weight: 500;
}

.gambit-lp-body .gambit-lp-currency {
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 500;
}

.gambit-lp-currency-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.gambit-lp-laptop-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 0;
  margin-top: 50px;
}

.gambit-lp-laptop-list .gambit-lp-laptop-wrapper {
  width: calc(100% / 3);
  display: flex;
  flex-direction: column;
}

.gambit-lp-laptop-mid {
  position: relative;
}

.gambit-lp-laptop-header {
  position: relative;
  background: #fff;
  padding: 0 20px;
  margin-top: -20px;
  min-height: 0;
  display: block;
  align-items: center;
}

.gambit-lp-laptop-header h3 {
  position: relative;
  z-index: 9;
  margin-bottom: 0;
}

.gambit-lp-laptop-header h3.gambit-lp-border-h3:first-child {
  min-height: 2.6em;
}

.gambit-lp-laptop-body > .gambit-lp-laptop-header + ul {
  margin-top: -28px;
}

.gambit-lp-laptop-body {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.slikePadding {
  padding: 0 10px 20px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}

.slikePadding img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* Desktop / tower u istom redu s laptopima – donji rub u ravnini */
.slikePadding--desktop {
  align-items: flex-end;
  padding-bottom: 20px;
}

.slikePadding--desktop:has(.img-desktop) {
  padding-left: 0;
  padding-right: 0;
}

.slikePadding--bag,
.slikePadding--accessory {
  align-items: flex-end;
  min-height: 340px;
  padding-bottom: 10px;
}

.slikePadding .img-tower,
.slikePadding .img-desktop,
.slikePadding .img-bag,
.slikePadding .img-backpack,
.slikePadding .img-keyboard,
.slikePadding .img-dock,
.slikePadding .img-monitor {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

/* Veličine kao u business-notebooks_com */
.img-desktop {
  max-height: 110px;
}

.img-tower {
  max-height: 280px;
}

.img-monitor {
  max-height: 260px;
}

.img-dock {
  max-height: 240px;
}

.img-bag {
  max-height: 240px;
  transform: translateY(-15px);
}

.img-backpack {
  max-height: 280px;
  transform: translateY(-10px);
}

.img-keyboard {
  max-height: 200px;
  transform: translateY(-10px);
}

.gambit-lp-laptop-accessories .slikePadding {
  min-height: 300px;
  align-items: flex-end;
}

.gambit-lp-laptop-accessories .slikePadding--bag,
.gambit-lp-laptop-accessories .slikePadding--accessory {
  align-items: flex-end;
  min-height: 340px;
}

.gambit-lp-laptop-dock {
  margin-top: -20px;
}

.gambit-lp-laptop-dock .slikePadding {
  min-height: 300px;
  align-items: flex-end;
  justify-content: center;
}

.gambit-lp-laptop-dock .slikePadding--bag,
.gambit-lp-laptop-dock .slikePadding--accessory {
  justify-content: center;
  min-height: 300px;
  align-items: flex-end;
}

.hp-hero {
  background: #fff;
  overflow: hidden;
  padding-top: 50px;
}

.hp-hero__inner {
  display: flex;
  align-items: stretch;
  min-height: 560px;
  position: relative;
}

.hp-hero__content {
  flex: 1 1 52%;
  max-width: 700px;
  padding: 0 clamp(12px, 2vw, 28px) 0 clamp(16px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  overflow: visible;
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
}

.hp-hero__title {
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  overflow: visible;
}

.hp-hero__title span {
  display: block;
  white-space: nowrap;
  font-family: "formaOffice", Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.hp-hero__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 22px 0 18px;
  flex-wrap: wrap;
}

.hp-hero__logos-also {
  display: block;
  width: 200px;
  height: auto;
  max-width: 100%;
}

.hp-hero__logos-avtera {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
}

.hp-hero__lead {
  font-size: clamp(25px, 2.35vw, 35px);
  margin: 0 0 18px;
  line-height: 1.12;
  font-weight: 500;
  max-width: 680px;
}

.hp-hero__lead span {
  display: block;
  white-space: nowrap;
}

.hp-hero__fineprint {
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0;
  line-height: 1.28;
  font-weight: 400;
  max-width: 680px;
}

.hp-hero__fineprint span {
  display: block;
  white-space: nowrap;
}

.hp-hero__media {
  flex: 1 1 70%;
  min-height: 520px;
  position: relative;
  z-index: 3;
  background: url("images/Layer 972 copy.png") center center / cover no-repeat;
  margin-left: -120px;
  margin-right: -10vw;
}

.hp-section-hr {
  border: 0;
  height: 1px;
  background: #eaeaea;
  margin: 28px 0 0;
}

.hp-partners {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.hp-partners::before {
  content: "";
  position: absolute;
  top: 300px;
  bottom: 220px;
  right: 25vw;
  width: clamp(100px, 1.2vw, 28px);
  background: #0b57d0;
  transform: skewX(-16deg);
  border-radius: 2px;
  pointer-events: none;
}

.hp-partners::after {
  content: "";
  position: absolute;
  top: 500px;
  bottom: 0;
  right: 3vw;
  width: clamp(100px, 1.2vw, 28px);
  background: #0b57d0;
  transform: skewX(-16deg);
  border-radius: 2px;
  pointer-events: none;
}

.gambit-lp-body h2.hp-partners__title {
  font-family: "formaOfficeMedium", "formaOffice", Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(28px, 4.8vw, 48px);
  margin: 0 0 14px;
  padding-top: 80px;
  padding-bottom: 10px;
}

.gambit-lp-footer-p-contact {
  font-family: "formaOffice", Arial, Helvetica, sans-serif !important;
  color: #2c2e35;
  font-size: 18px;
  line-height: 1.2;
}

.hp-partners__list .gambit-lp-footer-p-contact {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.4;
  margin: 0;
}

.hp-partners__list strong {
  font-weight: 700;
}

.gambit-lp-footer-shop {
  color: #707176;
  font-weight: 400;
}

.gambit-lp-footer-shop strong {
  color: #2c2e35;
}

.gambit-lp-footer-p-contact .gambit-lp-footer-shop {
  display: inline-block;
  margin-bottom: 5px;
}

.hp-partners__logos {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 20px;
}

.hp-partners__logos img {
  max-height: 72px;
  width: auto;
  height: auto;
  margin-top: 20px;
}

.hp-partners__hp-logo {
  max-height: 72px;
  width: auto;
  height: auto;
}

.hp-page-footer-hr {
  border: 0;
  height: 1px;
  background: #eaeaea;
  margin: 0;
  position: relative;
  z-index: 2;
}

.hp-page-footer {
  padding: 28px 12px 60px;
}

.hp-page-footer p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 1100px;
}

/* Manji desktop / landscape tablet: side-by-side bez jakog overlapa */
@media (min-width: 993px) and (max-width: 1399px) {
  .hp-hero {
    padding-top: 36px;
  }

  .hp-hero__inner {
    min-height: 500px;
    align-items: stretch;
  }

  .hp-hero__content {
    flex: 0 1 48%;
    max-width: 520px;
    z-index: 4;
    padding-right: 16px;
  }

  .hp-hero__title {
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: 1.02;
  }

  .hp-hero__title span,
  .hp-hero__lead span,
  .hp-hero__fineprint span {
    white-space: normal;
  }

  .hp-hero__logos {
    margin: 18px 0 14px;
    gap: 20px;
  }

  .hp-hero__logos-also {
    width: 150px;
  }

  .hp-hero__logos-avtera {
    width: 130px;
  }

  .hp-hero__lead {
    font-size: clamp(18px, 1.7vw, 24px);
    max-width: 100%;
  }

  .hp-hero__fineprint {
    font-size: clamp(15px, 1.3vw, 18px);
    max-width: 100%;
  }

  .hp-hero__media {
    flex: 1 1 52%;
    margin-left: -48px;
    margin-right: -6vw;
    min-height: 500px;
    z-index: 2;
    background-position: 50% center;
  }
}

/* Portrait tablet i manje: stacked, pravokutna slika, puni tekst */
@media (max-width: 992px) {
  .hp-hero {
    padding-top: 0;
  }

  .hp-hero__inner {
    flex-direction: column;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100%;
  }

  .hp-hero__media {
    order: -1;
    width: 100%;
    flex: none;
    min-height: 280px;
    height: 32vh;
    max-height: 380px;
    margin-left: 0;
    margin-right: 0;
    z-index: 1;
    background-position: 60% 35%;
    background-size: cover;
    /* sakrij dijagonalni rub PNG-a na stacked layoutu */
    clip-path: inset(0 0 0 0);
  }

  .hp-hero__content {
    max-width: none !important;
    width: 100%;
    flex: 1 1 auto;
    padding: 32px 32px 40px;
    z-index: 2;
  }

  .hp-hero__title {
    width: 100%;
    font-size: clamp(42px, 7.5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hp-hero__title span,
  .hp-hero__lead span,
  .hp-hero__fineprint span {
    display: block;
    white-space: normal;
  }

  .hp-hero__lead {
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.3;
    max-width: 100%;
  }

  .hp-hero__fineprint {
    font-size: clamp(16px, 1.9vw, 20px);
    line-height: 1.4;
    max-width: 100%;
  }

  .hp-hero__logos {
    margin: 20px 0 16px;
    gap: 28px;
  }

  .hp-hero__logos-also {
    width: min(180px, 40%);
  }

  .hp-hero__logos-avtera {
    width: min(160px, 36%);
  }

  .gambit-lp-laptop-list {
    flex-direction: column;
    margin-top: 24px;
  }

  .gambit-lp-laptop-list .gambit-lp-laptop-wrapper {
    width: 100%;
  }

  .gambit-lp-laptop-list .slikePadding,
  .gambit-lp-laptop-accessories .slikePadding,
  .gambit-lp-laptop-dock .slikePadding,
  .slikePadding--bag,
  .slikePadding--accessory,
  .slikePadding--desktop {
    min-height: 0;
    align-items: flex-end;
    padding: 20px 10px 30px;
  }

  .img-dock {
    max-height: 200px;
  }

  .img-tower {
    max-height: 240px;
  }

  .img-desktop {
    max-height: 140px;
  }

  .img-backpack {
    max-height: 260px;
  }

  .img-bag {
    max-height: 200px;
  }

  .img-keyboard {
    max-height: 180px;
  }

  .img-monitor {
    max-height: 220px;
  }

  .gambit-lp-body ul li {
    font-size: 15px;
  }

  .gambit-lp-body {
    font-size: 15px;
  }

  .hp-partners::before,
  .hp-partners::after {
    display: none;
  }

  .hp-partners {
    padding: 0;
  }

  .hp-section-hr {
    margin-top: 20px;
  }

  .hp-partners__title {
    padding-top: 56px;
  }

  .hp-partners__list .gambit-lp-footer-p-contact {
    font-size: 16px;
  }

  .hp-partners__logos {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .hp-hero__media {
    min-height: 220px;
    height: 28vh;
    max-height: 300px;
    background-position: 60% 30%;
  }

  .hp-hero__content {
    padding: 22px 16px 32px;
  }

  .hp-hero__title {
    width: 100%;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.1;
    margin-bottom: 0;
  }

  .hp-hero__title span {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .hp-hero__logos {
    margin: 20px 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hp-hero__logos-also,
  .hp-hero__logos-avtera {
    width: min(180px, 55%);
  }

  .hp-hero__lead {
    font-size: 21px;
    line-height: 1.25;
  }

  .hp-hero__fineprint {
    font-size: 17px;
  }

  .hp-page-footer {
    padding: 24px 16px 40px;
  }

  .hp-page-footer p {
    font-size: 14px;
  }

  .hp-partners__title {
    font-size: clamp(24px, 7vw, 36px);
  }
}

@media (max-width: 480px) {
  .hp-hero__media {
    min-height: 28vh;
  }

  .hp-hero__title {
    font-size: clamp(28px, 11vw, 40px);
  }

  .hp-hero__title span {
    white-space: normal;
  }
}

@media (max-width: 359px) {
  .hp-hero__title {
    font-size: clamp(26px, 11vw, 34px);
  }
}
