:root {
  --blue: #4c7fb8;
  --dark: #2f3338;
  --muted: #6b737c;
  --soft-text: #59636f;
  --content-text-size: 16px;
  --content-text-line: 1.45;
  --green: #648979;
  --red: #ae313e;
  --orange: #c95b00;
  --shadow: 0 10px 24px rgba(80, 150, 140, 0.14);
  --page-gutter: clamp(24px, 7.65vw, 98px);
  --content-max: 1430px;
  --footer-max: 1240px;
  --related-max: 1180px;
}

@font-face {
  font-family: "Arial";
  src: url("assets/fonts/ArialCE.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("assets/fonts/ARIALBD.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("assets/fonts/ArialCEItalic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: url("assets/fonts/ArialCEBoldItalic.woff") format("woff");
  font-weight: 700 900;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.button--primary {
  width: 188px;
  background: var(--blue);
  color: #fff;
}

.button--outline {
  min-height: 56px;
  padding: 0 25px;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.button--related {
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.container {
  width: min(1240px, calc(100% - 196px));
  margin-inline: auto;
}

.section {
  padding: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 604px;
  min-height: 690px;
  overflow: hidden;
  background: #f4f4f4;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 63px 0 0;
  margin-left: max(98px, calc((100vw - 1240px) / 2));
  max-width: 720px;
  background: #f4f4f4;
}

.hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 -100vw;
  width: calc(100vw + 100%);
  background: #f4f4f4;
}

.hero__logo {
  width: 170px;
  height: auto;
  margin-bottom: 56px;
}

.hero h1 {
  margin: 0 0 27px;
  font-size: 54px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--dark);
}

.hero p {
  width: 640px;
  max-width: 100%;
  margin: 0 0 34px;
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero__badge {
  position: absolute;
  width: 118px;
  height: auto;
  left: 80%;
  top: 150px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(201, 91, 0, .86);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  font-style: italic;
}

.hero__actions .button--primary {
  background: var(--orange);
}

.hero__time img {
  width: 18px;
  height: 21px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  min-height: 690px;
  overflow: visible;
  background: var(--blue);
  border-bottom-left-radius: 76px;
}

.hero__person {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(790px, 58vw);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

.hero__icon {
  position: absolute;
  z-index: 2;
  width: 122px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
}

.hero__icon--search {
  left: 53px;
  top: 252px;
}

.hero__icon--stat {
  right: 95px;
  top: 244px;
}

.hero__icon--protect {
  left: -65px;
  bottom: 100px;
}

.copy-block h2,
.section-heading h2,
.info-card h2,
.about h2 {
  margin: 0;
  color: var(--dark);
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
}

.copy-block ul {
  margin: 64px 0 0;
  padding-left: 22px;
  color: var(--soft-text);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.copy-block--wide {
  max-width: 1210px;
}

.section-heading {
  margin-bottom: 53px;
}

.section-heading p {
  margin: 22px 0 0;
}

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

.card {
  min-height: 216px;
  padding: 34px 35px 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin: 0 auto 25px;
}

.card h3 {
  margin: 0 0 9px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

.card p {
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 524px 684px;
  gap: 35px;
}

.info-card {
  min-height: 562px;
  padding: 69px 70px 60px;
  border-radius: 13px;
  color: #fff;
}

.info-card--green {
  background: var(--green);
}

.info-card--red {
  background: var(--red);
}

.info-card h2 {
  margin-bottom: 71px;
  color: #fff;
}

.info-card h3 {
  margin: 0 0 27px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.info-card h3:not(:first-of-type) {
  margin-top: 45px;
}

.info-card ul {
  margin: 0;
  padding-left: 19px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}

.info-card li + li {
  margin-top: 4px;
}

.info-card__note {
  margin: 24px 0 0;
  font-weight: 700;
}

.about {
  padding: 138px 0 184px;
  background: #ececec;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 482px;
  align-items: center;
  gap: 225px;
}

.about__text p {
  margin: 60px 0 45px;
  max-width: 610px;
}

.related {
  position: relative;
  z-index: 2;
  margin-bottom: -139px;
  background: linear-gradient(to bottom, transparent 0 176px, var(--blue) 176px 100%);
}

.related--home {
  background: linear-gradient(to bottom, #ececec 0 176px, var(--blue) 176px 100%);
}

.related__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(970px, calc(100% - 96px));
  height: 315px;
  margin: 0 auto;
  padding: 51px 58px;
  overflow: visible;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
}

.related__text span {
  display: block;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
}

.related__text h2 {
  margin: 0 0 26px;
  font-size: 36px;
  line-height: 1.07;
  font-weight: 800;
}

.related__inner img {
  position: absolute;
  right: 43px;
  bottom: 0;
  width: 455px;
}

.footer {
  background: var(--blue);
  color: #fff;
  padding: 190px 0 44px;
}

.footer__office {
  width: min(1040px, calc(100% - 196px));
  margin: 0 auto;
}

.footer__office h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(280px, 340px) minmax(320px, 390px);
  gap: 22px;
  width: 100%;
  align-items: stretch;
}

.footer__brand img {
  width: min(210px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.footer p,
.footer address,
.social {
  margin: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.footer address strong,
.social strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
}

.office-card {
  min-height: 210px;
  padding: 28px 30px;
  border-radius: 16px;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 14px 36px rgba(28, 74, 126, .18);
}

.office-card strong {
  color: var(--red);
}

.footer__map {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  border-radius: 16px;
  background: #eef1e7;
  box-shadow: 0 14px 36px rgba(28, 74, 126, .18);
}

.footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 0;
  filter: saturate(.88) contrast(.98);
  pointer-events: none;
}

.footer__map span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(47, 51, 56, .18);
}

.pin {
  display: none;
}

.social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1040px, calc(100% - 196px));
  margin: 34px auto 0;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
}

.social div {
  display: flex;
  gap: 22px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.application-page {
  background: #f4f4f4;
}

.application-hero {
  min-height: 480px;
  padding-bottom: 68px;
  background: #ededed;
}

.application-hero__inner {
  width: min(1240px, calc(100% - 196px));
  margin-inline: auto;
  padding-top: 86px;
}

.application-hero__logo {
  display: inline-block;
  width: 283px;
}

.application-hero__content {
  max-width: 745px;
  margin: 92px auto 0;
  text-align: center;
}

.application-hero h1 {
  margin: 0 0 29px;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  color: var(--dark);
}

.application-hero p {
  margin: 0 auto 38px;
  max-width: 700px;
}

.application-hero strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.application-form-section {
  padding: 82px 0 96px;
}

.application-form {
  width: 840px;
  max-width: calc(100% - 60px);
  margin-inline: auto;
  padding: 42px;
  border: 1px solid rgba(76, 127, 184, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(76, 127, 184, .08);
  color: var(--blue);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.field {
  display: block;
  min-width: 0;
}

.field span {
  display: block;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  padding: 0 16px;
  outline: none;
}

.field .phone-field__control {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: 52px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 0;
}

.field .phone-field__prefix {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 0 0 16px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 0;
}

.phone-field__control input {
  height: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 6px;
}

.field .field-error {
  display: none;
  margin: 8px 0 0;
  color: var(--red);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.field.is-invalid > input,
.field.is-invalid > select,
.field.is-invalid .location-combobox > input {
  border-color: var(--red);
}

.field.is-invalid > .field-error,
.date-field.is-invalid > .field-error,
.question.is-invalid > .field-error,
.status-field.is-invalid > .field-error,
.consents label.is-invalid > .field-error {
  display: block;
}

.phone-field.is-invalid .phone-field__control {
  border-color: var(--red);
}

.phone-field.is-invalid .field-error {
  display: block;
}

.location-combobox {
  position: relative;
  display: block;
  margin-bottom: 0;
}

.location-combobox input {
  padding-right: 48px;
}

.location-combobox__arrow {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  margin: 0;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  pointer-events: none;
}

.location-combobox__list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  max-height: 260px;
  margin: 0;
  overflow-y: auto;
  border: 1.5px solid rgba(76, 127, 184, .35);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(47, 51, 56, .16);
}

.location-combobox:not(.is-open) .location-combobox__list {
  display: none !important;
}

.location-combobox.is-open .location-combobox__list {
  display: block;
}

.location-combobox__list::after {
  content: "Nema rezultata";
  display: none;
  padding: 14px 16px;
  color: var(--muted);
}

.location-combobox__list.is-empty::after {
  display: block;
}

.location-combobox__list button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.location-combobox__list button[hidden] {
  display: none !important;
}

.location-combobox__list button:hover,
.location-combobox__list button:focus {
  background: rgba(76, 127, 184, .09);
  color: var(--blue);
}

.custom-select {
  position: relative;
  display: block;
  margin-bottom: 0;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 52px;
  padding: 0 48px 0 16px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.custom-select__trigger.is-placeholder {
  color: rgba(47, 51, 56, .58);
}

.custom-select__arrow {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  margin: 0;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  pointer-events: none;
}

.custom-select__list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  max-height: 240px;
  margin: 0;
  overflow-y: auto;
  border: 1.5px solid rgba(76, 127, 184, .35);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(47, 51, 56, .16);
}

.custom-select:not(.is-open) .custom-select__list {
  display: none !important;
}

.custom-select.is-open .custom-select__list {
  display: block;
}

.custom-select__list button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.custom-select__list button:hover,
.custom-select__list button:focus {
  background: rgba(76, 127, 184, .09);
  color: var(--blue);
}

.custom-select--center .custom-select__trigger {
  justify-content: center;
  text-align: center;
}

.date-fields .custom-select {
  min-width: 0;
}

.date-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.date-field legend {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.form-grid > .field > span,
.date-field legend {
  min-height: 40px;
}

.date-fields {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 10px;
}

.form-alert {
  width: 840px;
  max-width: calc(100% - 60px);
  margin: 0 auto 28px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
}

.form-alert--success {
  border: 2px solid var(--green);
  color: var(--green);
}

.form-alert--error {
  border: 2px solid var(--red);
  color: var(--red);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position:
    calc(100% - 28px) 21px,
    calc(100% - 20px) 21px;
  background-size: 10px 10px, 10px 10px;
  background-repeat: no-repeat;
}

.field--full {
  grid-column: 1 / -1;
}

.question {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 42px auto 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid rgba(76, 127, 184, .18);
  text-align: left;
}

.question legend {
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}

.radio-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 94px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid rgba(76, 127, 184, .45);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.radio-row input {
  appearance: none;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.radio-row input:checked {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  background: var(--blue);
}

.consents input {
  appearance: none;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 2px solid var(--blue);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.consents input:checked {
  border-color: var(--blue);
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5L5 9.5L13 1.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

.radio-row label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(76, 127, 184, .1);
}

.status-field {
  width: 493px;
  max-width: 100%;
  margin: 42px auto 0;
  text-align: center;
}

.status-field span {
  margin-bottom: 24px;
}

.status-field select {
  cursor: pointer;
  text-align: center;
  text-align-last: center;
}

.custom-select.is-invalid .custom-select__trigger {
  border-color: var(--red);
}

.question.is-invalid .radio-row label {
  border-color: rgba(174, 49, 63, .72);
}

.question.is-invalid legend,
.consents label.is-invalid {
  color: var(--red);
}

.consents label.is-invalid input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(174, 49, 63, .12);
}

.consents {
  width: 100%;
  max-width: 100%;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(76, 127, 184, .18);
}

.consents label {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 12px;
  color: var(--blue);
}

.consents label + label {
  margin-top: 22px;
}

.privacy-note {
  width: 680px;
  max-width: 100%;
  margin: 36px auto 0;
  color: #111;
  text-align: center;
  font-weight: 500;
}

.privacy-note a {
  color: #111;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.application-submit {
  display: flex;
  width: 190px;
  margin: 34px auto 0;
  border: 0;
  cursor: pointer;
}

.related--application {
  margin-top: 0;
}

.footer--application {
  padding-bottom: 54px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  width: min(1040px, calc(100% - 196px));
  margin: 32px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.2;
}

.footer__bottom nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 22px;
  min-width: 0;
}

.footer__bottom a {
  white-space: nowrap;
}

.footer__bottom p {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    height: 82px;
    padding-inline: 30px;
    background: #ededed;
  }

  .brand img {
    width: 126px;
  }

  .hero__logo {
    display: none;
  }

  .hero h1 {
    margin-bottom: 14px;
  }

  .hero p {
    overflow-wrap: anywhere;
  }

  .copy-block h2,
  .section-heading h2,
  .info-card h2,
  .about h2 {
    font-size: 19px;
  }

  .copy-block ul {
    margin-top: 37px;
    padding-left: 17px;
  }

  .section-heading {
    margin-bottom: 39px;
    text-align: center;
  }

  .section-heading p {
    max-width: 270px;
    margin: 13px auto 0;
  }

  .card img {
    margin-bottom: 12px;
  }

  .card h3 {
    margin-bottom: 6px;
  }

  .info-grid {
    display: block;
    width: calc(100% - 38px);
    margin-inline: auto;
  }

  .info-card {
    border-radius: 14px;
  }

  .info-card + .info-card {
    margin-top: 23px;
  }

  .info-card h3 {
    margin-bottom: 22px;
  }

  .info-card h3:not(:first-of-type) {
    margin-top: 30px;
  }

  .info-card ul {
    padding-left: 13px;
  }

  .about__grid {
    display: block;
    text-align: center;
  }

  .about__text p {
    margin: 30px auto 25px;
  }

  .button--outline {
    padding: 0 17px;
    border-width: 1px;
  }

  .about__media {
    margin: 50px auto 0;
    border-radius: 5px;
  }

  .related__inner {
    border-radius: 4px;
  }

  .related__text h2 {
    margin-bottom: 8px;
  }

  .button--related {
    border-width: 1px;
  }

  .footer__brand img {
    margin-bottom: 18px;
  }

  .footer address strong,
  .social strong {
    margin-bottom: 11px;
    font-size: 16px;
  }

  .footer__map {
    border-radius: 11px;
  }

  .pin {
    left: 82px;
    top: 38px;
  }

  .social {
    margin-top: 28px;
  }

  .social div {
    gap: 12px;
  }

  .application-hero {
    min-height: 335px;
    overflow: hidden;
  }

  .application-hero__inner {
    padding-top: 31px;
  }

  .application-hero__logo {
    width: 126px;
  }

  .application-hero__content {
    width: calc(100vw - 60px);
    margin-top: 55px;
    max-width: 315px;
  }

  .application-hero h1 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.04;
  }

  .application-hero p {
    width: 100%;
    margin-bottom: 33px;
    overflow-wrap: anywhere;
  }

  .application-form-section {
    padding: 62px 0 70px;
    overflow: hidden;
  }

  .application-form {
    width: 315px;
    max-width: calc(100vw - 60px);
    margin-left: 30px;
    margin-right: 30px;
    overflow: hidden;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-width: 0;
  }

  .field span {
    margin-bottom: 9px;
  }

  .field input,
  .field select {
    min-width: 0;
    height: 42px;
    border-width: 1.5px;
    border-radius: 6px;
    padding: 0 10px;
  }

  .phone-field__control {
    height: 42px;
    border-width: 1.5px;
    border-radius: 6px;
  }

  .phone-field__prefix {
    padding-left: 10px;
  }

  .field select {
    background-position:
      calc(100% - 22px) 17px,
      calc(100% - 16px) 17px;
    background-size: 7px 7px, 7px 7px;
  }

  .question {
    width: 315px;
    max-width: 100%;
    margin-top: 54px;
  }

  .question legend {
    width: 315px;
    max-width: 100%;
    margin-bottom: 23px;
    overflow-wrap: anywhere;
  }

  .radio-row {
    gap: 36px;
  }

  .radio-row label {
    gap: 9px;
  }

  .radio-row input,
  .consents input {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }

  .consents input {
    border-radius: 4px;
  }

  .consents input:checked {
    background-size: 10px 8px;
  }

  .status-field {
    width: 315px;
    max-width: 100%;
    margin-top: 58px;
  }

  .consents {
    width: 315px;
    max-width: 100%;
    margin-top: 48px;
  }

  .consents label {
    grid-template-columns: 14px 1fr;
    gap: 9px;
  }

  .consents label + label {
    margin-top: 27px;
  }

  .privacy-note {
    margin-top: 42px;
  }

  .application-submit {
    width: 132px;
    margin-top: 32px;
  }

  .footer__bottom {
    display: block;
    width: calc(100% - 60px);
    margin-top: 46px;
  }

  .footer__bottom nav {
    gap: 10px 14px;
    margin-bottom: 22px;
  }

  .footer__bottom p {
    white-space: normal;
  }

  .copy-block ul,
  .info-card ul,
  .related__text span,
  .social {
    font-size: 16px;
    line-height: 1.45;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .container,
  .footer__inner {
    width: calc(100% - 90px);
  }

  .copy-block ul,
  .info-card ul,
  .related__text span,
  .social {
    font-size: 20px;
  }

  .button,
  .button--related {
    font-size: 20px;
  }

  .card {
    min-height: 250px;
  }

  .about__grid,
  .footer__inner {
    gap: 55px;
  }

  .info-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .application-hero__inner,
  .footer__bottom {
    width: calc(100% - 90px);
  }

  .application-form {
    width: min(760px, calc(100% - 90px));
  }

  .footer__bottom {
    display: block;
  }

  .footer__bottom nav {
    margin-bottom: 24px;
  }

  .footer__bottom p {
    white-space: normal;
  }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  .container,
  .footer__inner {
    width: calc(100% - 140px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 544px;
    column-gap: 24px;
  }

  .hero__content {
    margin-left: 70px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero p {
    width: 560px;
  }

  .hero__person {
    right: 8px;
    width: 650px;
  }

  .hero__icon {
    width: 106px;
  }

  .hero__icon--search {
    left: 50px;
  }

  .hero__icon--stat {
    right: 70px;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }

  .info-card {
    padding-inline: 52px;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 110px;
  }

  .footer__inner {
    gap: 48px;
  }

  .application-hero__inner,
  .footer__bottom {
    width: calc(100% - 140px);
  }
}

@media (max-width: 1180px) {
  body { overflow-x: hidden; }

  .container,
  .footer__inner,
  .application-hero__inner,
  .footer__bottom {
    width: min(1120px, calc(100% - 48px));
  }

  .about { padding: clamp(76px, 9vw, 120px) 0 clamp(115px, 12vw, 160px); }

  .copy-block h2,
  .section-heading h2,
  .info-card h2,
  .about h2 {
    font-size: clamp(30px, 4.2vw, 40px);
    line-height: 1.15;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 48%);
    column-gap: 24px;
    min-height: 560px;
  }

  .hero__content {
    margin-left: 24px;
    padding-top: 48px;
  }

  .hero__logo { margin-bottom: clamp(72px, 10vw, 116px); }
  .hero h1 { font-size: clamp(38px, 5.1vw, 28px); line-height: 1.03; }
  .hero p { width: auto; font-size: 18px; line-height: 1.35; }
  .hero__visual { min-height: 560px; }
        .hero__actions {
          padding-bottom: 30px;
        }
  .hero__person { right: -34px; width: min(62vw, 585px); }
  .hero__icon { width: clamp(76px, 9vw, 104px); }
  .hero__icon--search { left: 32px; top: 220px; }
  .hero__icon--stat { right: 54px; top: 205px; }
  .hero__icon--protect { left: -32px; bottom: 82px; }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .card { min-height: auto; padding: 28px; }
  .card h3 { font-size: 22px; line-height: 1.15; }
  .card p { font-size: 16px; line-height: 1.45; }

  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-card { min-height: auto; padding: clamp(38px, 6vw, 60px); }
  .info-card h2 { margin-bottom: 40px; }
  .info-card h3 { font-size: 18px; }
  .info-card ul { font-size: 16px; line-height: 1.45; }

  .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
    gap: clamp(36px, 6vw, 70px);
  }
  .about__text p { font-size: 18px; line-height: 1.45; }
  .about__media { width: 100%; height: auto; aspect-ratio: 1 / 1; }

  .related { margin-bottom: -96px; background: linear-gradient(to bottom, transparent 0 132px, var(--blue) 132px 100%); }
  .related--home { background: linear-gradient(to bottom, #ececec 0 132px, var(--blue) 132px 100%); }
  .related__inner {
    width: min(970px, calc(100% - 48px));
    min-height: 278px;
    height: auto;
    padding: clamp(34px, 5vw, 52px);
    overflow: hidden;
  }
  .related__text { position: relative; z-index: 2; max-width: 58%; }
  .related__text span { font-size: 18px; line-height: 1.2; margin-bottom: 18px; }
  .related__text h2 { font-size: clamp(30px, 4vw, 38px); line-height: 1.08; }
  .button--related { min-height: 48px; padding: 0 22px; font-size: 18px; }
  .related__inner img { right: 16px; width: min(42%, 395px); }

  .footer { padding-top: 160px; }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
  .footer__brand img { width: min(210px, 100%); }
  .footer p,
  .footer address,
  .social { font-size: 16px; line-height: 1.45; }
  .footer__map { width: min(273px, 100%); }
}

@media (max-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__content {
    width: min(720px, calc(100% - 48px));
    margin-left: 24px;
    margin-right: 0;
    padding: 42px 0 44px;
    text-align: left;
  }
  .hero__logo { margin-bottom: 54px; }
  .hero__visual { min-height: 430px; border-bottom-left-radius: 0; }
  .hero__person { right: 6%; width: min(620px, 82vw); }
  .hero__icon--search { left: 12%; top: 120px; }
  .hero__icon--stat { right: 16%; top: 96px; }
  .hero__icon--protect { left: 7%; bottom: 70px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 430px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container,
  .footer__inner,
  .application-hero__inner,
  .footer__bottom { width: calc(100% - 32px); }

  .hero__content { width: calc(100% - 32px); margin-left: 16px; margin-right: 0; padding: 34px 0 36px; text-align: left; }
  .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .hero p { width: auto; max-width: 520px; margin-left: 0; margin-right: 0; }
  .button { min-height: 46px; border-radius: 7px; font-size: 16px; }
  .button--primary { width: auto; padding: 0 22px; }
  .hero__visual { min-height: 350px; height: auto; }
  .hero__person { right: -18px; width: min(560px, 112vw); }
  .hero__icon { width: 68px; }

  .copy-block ul,
  .info-card ul { font-size: 16px; line-height: 1.45; }
  .copy-block ul { margin-top: 28px; }

  .cards { grid-template-columns: 1fr; width: 100%; gap: 18px; }
  .card { padding: 24px; border-radius: 12px; }
  .card img { width: 38px; height: 38px; }
  .card h3 { font-size: 22px; }
  .info-grid { width: 100%; }
  .info-card { padding: 30px 24px; }
  .info-card h3 { font-size: 16px; line-height: 1.45; }

  .related,
  .related--home { margin-bottom: -70px; background: linear-gradient(to bottom, transparent 0 92px, var(--blue) 92px 100%); }
  .related--home { background: linear-gradient(to bottom, #ececec 0 92px, var(--blue) 92px 100%); }
  .related__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);
    min-height: 0;
    padding: 28px 22px 0;
    overflow: hidden;
  }
  .related__text { max-width: 100%; }
  .related__text span { font-size: 16px; margin-bottom: 12px; }
  .related__text h2 { font-size: clamp(26px, 7.8vw, 34px); line-height: 1.08; }
  .button--related { min-height: 44px; padding: 0 18px; font-size: 16px; }
  .related__inner img { position: relative; right: auto; bottom: auto; align-self: center; width: min(88%, 360px); margin-top: 18px; }

  .footer { padding: 120px 0 38px; }
  .footer__inner { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .footer__brand img { width: 190px; }
  .footer address { margin-top: 0; }
  .footer__map { width: min(273px, 100%); height: 151px; margin: 0; }

  .application-form { width: calc(100% - 32px); max-width: 520px; margin-inline: auto; }
}

/* Job details layout */
.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
  padding-top: 145px;
}

.job-layout .details,
.job-layout .process,
.job-layout .info {
  padding-top: 0;
}

.requirements-copy {
  margin-top: clamp(78px, 10vw, 150px);
}

.job-layout .process {
  margin-top: clamp(78px, 10vw, 140px);
}

.job-layout .info {
  margin-top: clamp(84px, 10vw, 150px);
}

.job-layout .copy-block--wide {
  max-width: 760px;
}

.job-layout .copy-block ul {
  margin-top: 34px;
  color: var(--soft-text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
}

.job-layout__aside {
  align-self: stretch;
}

.sticky-ad {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
}

.sticky-ad .button {
  justify-self: start;
}

.job-layout .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.job-layout .card {
  min-height: 238px;
  padding: 28px 24px 26px;
}

.job-layout .card h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.18;
}

.job-layout .info-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.job-layout .info-card {
  min-height: auto;
  padding: clamp(34px, 5vw, 52px);
}

.job-layout .info-card h2 {
  margin-bottom: 34px;
}

/* Full-width Manpower BiH visual */
.about__media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: auto;
  background: transparent;
  overflow: visible;
}

.about__media img {
  width: min(520px, 100%);
  height: auto;
  max-width: 100%;
}

.about__grid.container {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  max-width: var(--content-max);
  margin-inline: auto;
  padding-left: 0;
  grid-template-columns: minmax(0, 610px) minmax(360px, 1fr);
  gap: clamp(54px, 8vw, 116px);
}

@media (max-width: 1180px) {
  .hero__badge { width: 104px; right: 0; top: 140px; }

  .about__grid.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
    padding-left: 0;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
    gap: clamp(36px, 6vw, 70px);
  }

  .about__media img {
    width: min(100%, 520px);
  }

  .job-layout {
    width: min(1120px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) minmax(250px, 32%);
    gap: 34px;
    padding-top: clamp(72px, 9vw, 115px);
  }

  .job-layout .cards {
    gap: 18px;
  }

  .job-layout .card {
    padding: 24px 20px;
  }
}

@media (max-width: 960px) {
  .hero__badge { position: static; width: 96px; margin: -8px 0 22px; }
  .hero__actions { justify-content: flex-start; }

  .about__grid.container {
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .about__media {
    justify-content: center;
  }

  .job-layout {
    grid-template-columns: 1fr;
  }

  .job-layout__aside {
    order: -1;
  }

  .sticky-ad {
    position: static;
    max-width: 620px;
    margin: 0 auto 18px;
  }

  .sticky-ad .button {
    display: none;
  }

  .job-layout .copy-block--wide {
    max-width: none;
  }

}

@media (max-width: 767px) {
  .hero__eyebrow { font-size: 11px; }
  .hero__badge { margin-left: 0; margin-right: 0; }
  .hero__actions { justify-content: flex-start; gap: 14px; }
  .hero__time { font-size: 13px; justify-content: flex-start; }

  .about__grid.container {
    width: calc(100% - 32px);
  }

  .job-layout {
    width: calc(100% - 32px);
    padding-top: 54px;
    gap: 42px;
  }

  .job-layout .copy-block ul {
    font-size: 16px;
    line-height: 1.45;
  }

  .job-layout .cards {
    grid-template-columns: 1fr;
  }

  .job-layout .card {
    min-height: 0;
  }

  .job-layout .card p {
    font-size: 16px;
  }

}

/* Polished sticky visual card in the second section */
.sticky-ad--visual {
  min-height: clamp(250px, 28vw, 360px);
  border-radius: 18px;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.72) 100%), url("assets/pozadina-sticky-oglasa.webp");
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
  display: flex;
  align-items: flex-end;
  padding: clamp(26px, 3vw, 38px);
}
.sticky-ad--visual .sticky-ad__content {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.sticky-ad--visual h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}
.sticky-ad--visual .button {
  justify-self: start;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .sticky-ad--visual {
    min-height: clamp(220px, 30vw, 300px);
    padding: 28px;
  }
  .sticky-ad--visual h2 { font-size: clamp(24px, 3.1vw, 34px); }
}

@media (max-width: 960px) {

  .job-layout__aside {
    order: -1;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0 14px calc(12px + env(safe-area-inset-bottom));
    pointer-events: none;
    visibility: hidden;
    transform: translateY(24px);
    opacity: 0;
    transition: transform .26s ease, opacity .26s ease, visibility .26s ease;
  }

  .mobile-cta-visible .job-layout__aside {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .sticky-ad--visual {
    position: relative;
    top: auto;
    max-width: 720px;
    width: 100%;
    min-height: 70px;
    margin: 0 auto;
    border-radius: 16px;
    background: rgba(76, 127, 184, .96);
    box-shadow: 0 14px 36px rgba(27, 53, 84, .22);
    padding: 10px 12px 10px 18px;
    align-items: center;
    pointer-events: auto;
    backdrop-filter: blur(10px);
  }

  .sticky-ad--visual .sticky-ad__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .sticky-ad--visual .button {
    display: inline-flex;
    width: auto;
    min-width: 104px;
    min-height: 34px;
    padding: 0 18px;
    border-radius: 5px;
    background: var(--orange);
    font-size: 13px;
    white-space: nowrap;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(17px, 4.6vw, 22px);
    line-height: 1.02;
  }
}

@media (max-width: 767px) {
  .sticky-ad--visual {
    min-height: 66px;
    padding: 9px 9px 9px 14px;
  }

  .sticky-ad--visual .sticky-ad__content {
    gap: 10px;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(15px, 4.5vw, 18px);
  }
}

.hero p,
.copy-block li,
.section-heading p,
.card p,
.job-layout .card p,
.info-card li,
.about__text p,
.footer p,
.footer address,
.footer__bottom,
.application-hero p,
.application-hero strong,
.application-form,
.question legend,
.consents label,
.privacy-note {
  font-size: var(--content-text-size);
  line-height: var(--content-text-line);
  font-weight: 400;
}

.hero p,
.copy-block li,
.section-heading p,
.card p,
.job-layout .card p,
.about__text p,
.application-hero p {
  color: var(--soft-text);
}

.info-card strong {
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hero p strong {
  color: inherit;
  font-weight: 700;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.info-card strong.highlight {
  padding-inline: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
}

.application-hero strong,
.footer address strong,
.social strong {
  font-weight: 700;
}

@media (min-width: 1181px) {
  .container {
    width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  }

  .hero__content {
    margin-left: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  }

  .related {
    margin-bottom: -128px;
    background: linear-gradient(to bottom, transparent 0 49%, var(--blue) 49% 100%);
  }

  .related--home {
    background: linear-gradient(to bottom, #ececec 0 49%, var(--blue) 49% 100%);
  }

  .related__inner {
    width: min(var(--related-max), calc(100% - (var(--page-gutter) * 2)));
    height: 330px;
    min-height: 330px;
    padding: 54px 68px;
    border-radius: 22px;
    overflow: visible;
  }

  .related__text {
    position: relative;
    z-index: 2;
    max-width: 58%;
  }

  .related__text span {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 300;
  }

  .related__text h2 {
    max-width: 610px;
    margin-bottom: 28px;
    font-size: clamp(34px, 3.45vw, 44px);
    line-height: 1.08;
    font-weight: 900;
  }

  .button--related {
    min-height: 58px;
    padding: 0 28px;
    border-width: 2px;
    border-radius: 10px;
    font-size: 18px;
  }

  .related__inner img {
    right: -42px;
    bottom: 0;
    width: auto;
    height: 124%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  .footer__office,
  .social,
  .footer__bottom {
    width: min(var(--footer-max), calc(100% - (var(--page-gutter) * 2)));
  }

  .footer__inner {
    width: 100%;
    grid-template-columns: minmax(190px, 260px) minmax(260px, 320px) minmax(340px, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  .footer {
    padding-top: 166px;
    padding-bottom: 58px;
  }

  .footer__office h2 {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .footer__brand img {
    width: 210px;
    margin-bottom: 16px;
  }

  .footer p,
  .footer address,
  .social {
    font-size: 14px;
    line-height: 1.38;
  }

  .office-card {
    min-height: 188px;
    padding: 24px 26px;
  }

  .footer__map,
  .footer__map iframe {
    min-height: 188px;
  }

  .social {
    min-height: 54px;
    margin-top: 28px;
    padding: 14px 24px;
    border-radius: 12px;
  }

  .social strong {
    margin-bottom: 0;
    font-size: 14px;
  }

  .social a {
    width: 20px;
    height: 20px;
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    font-size: 10.5px;
  }

  .footer__bottom nav {
    flex-wrap: nowrap;
    gap: clamp(8px, 1vw, 18px);
    min-width: 0;
    overflow: hidden;
  }

  .footer__bottom p {
    font-size: 10.5px;
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .footer__office,
  .social,
  .footer__bottom {
    width: min(1040px, calc(100% - 48px));
  }

  .footer__inner {
    width: 100%;
    grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
    gap: 22px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .office-card,
  .footer__map,
  .footer__map iframe {
    min-height: 200px;
  }

  .footer__bottom {
    flex-wrap: wrap;
  }

  .footer__bottom nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 112px 0 34px;
  }

  .footer__office,
  .social,
  .footer__bottom {
    width: calc(100% - 32px);
  }

  .footer__office h2 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__brand img {
    width: 185px;
  }

  .office-card,
  .footer__map,
  .footer__map iframe {
    min-height: 190px;
  }

  .office-card {
    padding: 24px;
  }

  .social {
    margin-top: 24px;
    padding: 16px 18px;
  }

  .footer__bottom {
    display: flex;
    margin-top: 24px;
    gap: 18px;
  }

  .footer__bottom nav {
    gap: 12px 16px;
    margin-bottom: 0;
  }

  .application-form-section {
    padding: 50px 0 66px;
  }

  .application-form {
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 24px 18px;
    margin-inline: auto;
    overflow: visible;
  }

  .form-grid {
    gap: 22px;
  }

  .field input,
  .field select,
  .field .phone-field__control,
  .custom-select__trigger {
    height: 46px;
  }

  .location-combobox__arrow,
  .custom-select__arrow {
    top: 18px;
  }

  .location-combobox__list,
  .custom-select__list {
    max-height: 220px;
  }

  .form-grid > .field > span,
  .date-field legend {
    min-height: 0;
  }

  .date-fields {
    grid-template-columns: 1fr;
  }

  .question {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
  }

  .question legend {
    width: 100%;
    margin-bottom: 14px;
  }

  .radio-row {
    gap: 10px;
  }

  .radio-row label {
    min-width: 0;
    flex: 1 1 120px;
    justify-content: center;
    min-height: 42px;
  }

  .status-field,
  .consents {
    width: 100%;
    margin-top: 30px;
  }

  .consents {
    padding-top: 22px;
  }

  .privacy-note,
  .application-submit {
    margin-top: 28px;
  }
}

/* Final spacing and side ad tuning */
.copy-block li + li,
.job-layout .copy-block li + li,
.info-card li + li {
  margin-top: 14px;
}

.job-layout .copy-block ul {
  line-height: 1.62;
}

.sticky-ad--visual {
  min-height: clamp(270px, 27vw, 330px);
  padding: clamp(30px, 3.4vw, 46px);
}

.sticky-ad--visual .sticky-ad__content {
  max-width: 100%;
  gap: 16px;
}

.sticky-ad--visual h2 {
  font-size: clamp(23px, 2.15vw, 31px);
  line-height: 1.08;
  font-weight: 850;
}

.sticky-ad--visual .button {
  min-height: 48px;
  width: auto;
  min-width: 150px;
  padding: 0 24px;
  font-size: 16px;
}

@media (min-width: 1181px) {
  .job-layout {
    grid-template-columns: minmax(0, 1fr) minmax(450px, 520px);
    gap: clamp(34px, 4.2vw, 58px);
    padding-bottom: clamp(84px, 8vw, 132px);
  }

  .job-layout .details,
  .job-layout .process,
  .job-layout .info {
    padding-bottom: 18px;
  }

  .sticky-ad--visual {
    min-height: clamp(330px, 29vw, 390px);
    padding: clamp(26px, 2.5vw, 36px);
  }

  .sticky-ad--visual .sticky-ad__content {
    max-width: 100%;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(30px, 2.65vw, 43px);
    line-height: 1.04;
  }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  .job-layout {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 450px);
    gap: 38px;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(28px, 2.7vw, 36px);
  }
}

@media (max-width: 960px) {
  .sticky-ad--visual .sticky-ad__content {
    max-width: none;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(22px, 5.4vw, 26px);
  }
}

@media (max-width: 1180px) {
  .job-layout {
    padding-bottom: clamp(68px, 8vw, 104px);
  }
}

.application-hero strong {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

@media (max-width: 767px) {
  .site-header {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #f4f4f4;
  }

  .hero__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 58px 24px 68px;
    text-align: center;
  }

  .hero__logo {
    display: block;
    width: min(250px, 66vw);
    margin: 0 auto 70px;
  }

  .hero__eyebrow,
  .hero__badge,
  .hero__time {
    display: none;
  }

  .hero h1 {
    max-width: 680px;
    margin: 0 auto 26px;
    color: #000;
    font-size: clamp(34px, 9.8vw, 52px);
    line-height: 1.05;
    text-align: center;
  }

  .hero p {
    max-width: 620px;
    margin: 0 auto 38px;
    color: #111;
    font-size: clamp(15px, 4.1vw, 18px);
    line-height: 1.32;
    text-align: center;
  }

  .hero p strong {
    display: inline;
    color: inherit;
    font-weight: 400;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .button--primary {
    min-width: min(224px, 72vw);
    min-height: 60px;
    border-radius: 12px;
    padding: 0 28px;
    background: var(--blue);
    font-size: 23px;
  }

  .hero__visual {
    width: 100%;
    min-height: clamp(420px, 92vw, 560px);
    border-radius: 0;
    overflow: hidden;
  }

  .hero__person {
    right: 50%;
    bottom: 0;
    width: min(126vw, 620px);
    transform: translateX(58%);
  }

  .hero__icon {
    width: clamp(70px, 16vw, 104px);
  }

  .hero__icon--search {
    left: 16%;
    top: 19%;
  }

  .hero__icon--stat {
    right: 9%;
    top: 15%;
  }

  .hero__icon--protect {
    left: 7%;
    bottom: 10%;
  }

  .related,
  .related--home {
    margin-bottom: -82px;
    background: linear-gradient(to bottom, transparent 0 112px, var(--blue) 112px 100%);
  }

  .related--home {
    background: linear-gradient(to bottom, #ececec 0 112px, var(--blue) 112px 100%);
  }

  .related__inner {
    width: calc(100% - 32px);
    min-height: 276px;
    padding: 22px 18px 0;
    border-radius: 6px;
  }

  .related__text span {
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.15;
  }

  .related__text h2 {
    max-width: 275px;
    margin-bottom: 12px;
    font-size: clamp(22px, 7vw, 29px);
    line-height: 1.05;
  }

  .button--related {
    min-height: 34px;
    padding: 0 13px;
    border-width: 1.5px;
    border-radius: 4px;
    font-size: 12px;
  }

  .related__inner img {
    width: min(64%, 230px);
    margin: 8px auto 0;
  }

  .about {
    padding: 76px 0 104px;
  }

  .about__media {
    width: min(280px, 100%);
    max-width: 280px;
    margin: 42px auto 0;
    aspect-ratio: auto;
  }

  .about__media img {
    width: 100%;
    max-width: 100%;
  }

  .footer {
    padding: 114px 0 38px;
  }

  .footer__office,
  .social,
  .footer__bottom {
    width: calc(100% - 32px);
  }

  .footer__inner {
    gap: 14px;
  }

  .office-card,
  .footer__map {
    width: 100%;
    border-radius: 12px;
  }

  .footer__map,
  .footer__map iframe {
    min-height: 220px;
  }

  .social {
    align-items: center;
    min-height: 50px;
    margin-top: 22px;
    padding: 13px 16px;
    border-radius: 10px;
  }

  .footer__bottom {
    display: block;
    margin-top: 28px;
    font-size: 12px;
  }

  .footer__bottom nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .job-layout__aside {
    height: auto;
    min-height: 0;
  }

  .sticky-ad--visual {
    min-height: 66px;
    max-height: 84px;
    padding: 9px 9px 9px 14px;
    border-radius: 16px;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(15px, 4.5vw, 18px);
    line-height: 1.02;
  }

  .sticky-ad--visual .button {
    min-width: 116px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .hero__content {
    padding: 54px 28px 66px;
  }

  .hero__logo {
    width: min(230px, 64vw);
    margin-bottom: 66px;
  }

  .hero h1 {
    max-width: 320px;
    font-size: clamp(33px, 9.2vw, 40px);
    line-height: 1.06;
  }

  .hero p {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.31;
  }

  .hero__actions .button--primary {
    min-width: 224px;
    min-height: 58px;
    font-size: 22px;
  }
}

/* Final compact hero tuning for mobile and tablet */
@media (min-width: 768px) and (max-width: 960px) {
  .hero {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero__content {
    width: min(620px, calc(100% - 64px));
    margin: 0 auto;
    padding: 52px 0 50px;
    text-align: center;
  }

  .hero__logo {
    display: block;
    width: 188px;
    margin: 0 auto 46px;
  }

  .hero__eyebrow,
  .hero__badge,
  .hero__time {
    display: none;
  }

  .hero h1 {
    max-width: 520px;
    margin: 0 auto 22px;
    font-size: clamp(38px, 5.4vw, 46px);
    line-height: 1.05;
    text-align: center;
  }

  .hero p {
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.34;
    text-align: center;
  }

  .hero p strong {
    display: inline;
    color: inherit;
    font-weight: 400;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .button--primary {
    min-width: 184px;
    min-height: 54px;
    border-radius: 10px;
    background: var(--blue);
    font-size: 19px;
  }

  .hero__visual {
    min-height: clamp(360px, 58vw, 520px);
    margin-top: 52px;
    overflow: visible;
    border-radius: 0;
  }

  .hero__person {
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(86vw, 640px);
    transform: translateX(-50%);
  }

  .hero__icon {
    width: clamp(74px, 10vw, 104px);
  }

  .hero__icon--search {
    left: max(52px, calc(50% - 260px));
    top: 24%;
  }

  .hero__icon--stat {
    right: max(52px, calc(50% - 260px));
    top: 18%;
  }

  .hero__icon--protect {
    left: max(42px, calc(50% - 300px));
    bottom: 18%;
  }
}

@media (max-width: 767px) {
  .hero {
    overflow: hidden;
  }

  .hero__content {
    padding: 38px 30px 44px;
  }

  .hero__logo {
    width: min(150px, 42vw);
    margin-bottom: 36px;
  }

  .hero h1 {
    max-width: 310px;
    margin-bottom: 18px;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.04;
  }

  .hero p {
    max-width: 340px;
    margin-bottom: 28px;
    font-size: clamp(13px, 3.75vw, 15px);
    line-height: 1.28;
  }

  .hero__actions .button--primary {
    min-width: 160px;
    min-height: 46px;
    border-radius: 7px;
    font-size: 16px;
  }

  .hero__visual {
    min-height: clamp(230px, 64vw, 390px);
    margin-top: 34px;
    overflow: visible;
  }

  .hero__person {
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(96vw, 455px);
    transform: translateX(-50%);
  }

  .hero__icon {
    width: clamp(42px, 11vw, 66px);
  }

  .hero__icon--search {
    left: max(28px, calc(50% - 156px));
    top: 21%;
  }

  .hero__icon--stat {
    right: max(28px, calc(50% - 156px));
    top: 14%;
  }

  .hero__icon--protect {
    left: max(22px, calc(50% - 176px));
    bottom: 17%;
  }
}

@media (max-width: 430px) {
  .hero__content {
    padding: 36px 30px 0px;
  }

  .hero__logo {
    width: min(136px, 40vw);
    margin-bottom: 34px;
  }

  .hero h1 {
    max-width: 285px;
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .hero p {
    max-width: 312px;
    font-size: 13px;
    line-height: 1.27;
  }

  .hero__actions .button--primary {
    min-width: 152px;
    min-height: 44px;
    font-size: 15px;
  }
}

/* Mobile/tablet hero background and visual balance */
@media (max-width: 960px) {
  body,
  .job-layout,
  .job-layout__main,
  .details,
  .process,
  .info {
    background: #fff;
  }

  .hero__content {
    background: linear-gradient(to bottom, #ededed 0 116px, #fff 116px 100%);
  }

  .hero__visual {
    background: var(--blue);
  }

  .card {
    background: #fff;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .hero__content {
    width: 100%;
    padding: 50px max(32px, calc((100vw - 620px) / 2)) 46px;
    padding-bottom: 46px;
    background: linear-gradient(to bottom, #ededed 0 132px, #fff 132px 100%);
  }

  .hero__logo {
    margin-bottom: 66px;
  }

  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(620px, 78vw)) * .69);
    margin-top: 124px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(620px, 78vw);
  }

  .hero__icon--search {
    left: max(46px, calc(50% - 292px));
  }

  .hero__icon--stat {
    right: max(46px, calc(50% - 292px));
  }

  .hero__icon--protect {
    left: max(32px, calc(50% - 332px));
  }
}

@media (min-width: 900px) and (max-width: 960px) {
  .hero__person {
    --hero-composite-size: min(680px, 78vw);
  }

  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(680px, 78vw)) * .69);
  }
}

@media (max-width: 767px) {
  .hero__content {
    padding-top: 36px;
    background: linear-gradient(to bottom, #ededed 0 94px, #fff 94px 100%);
  }

  .hero__logo {
    margin-bottom: 46px;
  }

  .hero__visual {
    min-height: clamp(270px, 76vw, 440px);
    margin-top: 118px;
  }

  .hero__person {
    width: min(116vw, 520px);
  }

  .hero__icon--search {
    left: max(26px, calc(50% - 174px));
    top: 20%;
  }

  .hero__icon--stat {
    right: max(26px, calc(50% - 174px));
    top: 14%;
  }

  .hero__icon--protect {
    left: max(20px, calc(50% - 198px));
    bottom: 14%;
  }
}

@media (max-width: 430px) {
  .hero__content {
    background: linear-gradient(to bottom, #ededed 0 92px, #fff 92px 100%);
  }

  .hero__logo {
    margin-bottom: 44px;
  }

  .hero__visual {
    min-height: clamp(292px, 78vw, 380px);
    margin-top: 118px;
  }

  .hero__person {
    width: min(118vw, 480px);
  }
}

/* Composite hero image: fixed overflow ratio, scalable size */
.hero__visual {
  overflow: visible;
}

.hero__person {
  left: 50%;
  right: auto;
  bottom: 0;
  width: var(--hero-composite-size, min(790px, 58vw));
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

.hero__icon {
  display: none;
}

@media (min-width: 1181px) {
  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(790px, 58vw)) * .73);
  }

  .hero__person {
    --hero-composite-size: min(820px, 58vw);
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(760px, 88vw)) * .72);
  }

  .hero__person {
    --hero-composite-size: min(760px, 90vw);
  }
}

@media (max-width: 767px) {
  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(500px, 120vw)) * .69);
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(470px, 104vw);
  }
}

@media (max-width: 430px) {
  .hero__visual {
    min-height: calc(var(--hero-composite-size, min(470px, 120vw)) * .69);
  }

  .hero__person {
    --hero-composite-size: min(430px, 104vw);
  }
}

@media (max-width: 767px) {
  .footer,
  .footer__office,
  .footer__inner,
  .footer__brand,
  .office-card,
  .footer__bottom,
  .footer__bottom nav {
    text-align: left;
  }

  .footer__office h2 {
    text-align: left;
  }

  .footer__brand img {
    margin-left: 0;
    margin-right: auto;
  }

  .social {
    text-align: left;
  }
}

/* Bound the composite hero image across tablet and desktop widths */
@media (min-width: 1181px) {
  .hero__person {
    --hero-composite-size: min(760px, 52vw);
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  .hero__visual {
    overflow-x: visible;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(640px, 74vw);
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .hero__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(32px, calc((100vw - 620px) / 2));
    padding-right: max(32px, calc((100vw - 620px) / 2));
  }

  .hero__visual {
    margin-top: 172px;
    min-height: calc(var(--hero-composite-size, min(560px, 70vw)) * .69);
  }

  .hero__person {
    --hero-composite-size: min(560px, 70vw);
  }
}

@media (min-width: 900px) and (max-width: 960px) {
  .hero__person {
    --hero-composite-size: min(600px, 68vw);
  }
}

/* Final hero bounds after all legacy responsive rules */
@media (min-width: 1181px) {
  .hero__visual {
    overflow-x: visible;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(600px, 42.5vw);
  }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .hero__visual {
    overflow-x: visible;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(560px, 64vw);
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .hero__visual {
    margin-top: 188px;
  }

  .hero__person {
    --hero-composite-size: min(540px, 66vw);
  }
}

/* Sleeker compact mobile copy and sticky CTA */
@media (max-width: 767px) {
  .hero h1 {
    max-width: min(360px, calc(100vw - 48px));
    font-size: clamp(25px, 6.8vw, 32px);
    line-height: 1.06;
  }

  .hero p {
    max-width: min(360px, calc(100vw - 56px));
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.32;
  }

  .sticky-ad--visual {
    min-height: 58px;
    max-height: 68px;
    padding: 8px 8px 8px 12px;
    border-radius: 12px;
  }

  .sticky-ad--visual .sticky-ad__content {
    gap: 8px;
  }

  .sticky-ad--visual h2 {
    font-size: clamp(12px, 3.45vw, 15px);
    line-height: 1.04;
  }

  .sticky-ad--visual .button {
    min-width: 94px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 12px;
  }
}

/* Restore unified desktop hero split */
@media (min-width: 1181px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 42vw);
    column-gap: 0;
  }

  .hero__content {
    max-width: none;
    margin-left: 0;
    padding-left: max(98px, calc((90vw - 1240px) / 2));
    padding-right: clamp(44px, 5vw, 86px);
  }

  .hero__content::before {
    left: -100vw;
    width: 200vw;
  }

  .hero__visual {
    width: 100%;
    min-height: 690px;
    overflow-x: visible;
    overflow-y: visible;
  }

  .hero__person {
    --hero-composite-size: min(760px, 51vw);
    left: 52%;
  }
}

/* JD2 visual differentiation */
.hero__visual {
  background: var(--orange);
}

.hero__visual > .hero__person {
  height: auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.hero__actions .button--primary {
  background: var(--blue);
}

.sticky-ad--visual {
  background-image:
    linear-gradient(180deg, rgba(201, 91, 0, 0.18) 0%, rgba(86, 38, 0, 0.78) 100%),
    url("assets/pozadina-sticky-oglasa.webp");
}

.sticky-ad--visual .button {
  background: var(--orange);
}

.related,
.related--home {
  background: linear-gradient(to bottom, transparent 0 49%, var(--orange) 49% 100%);
}

.related--home {
  background: linear-gradient(to bottom, #ececec 0 49%, var(--orange) 49% 100%);
}

.related__inner {
  background: var(--blue);
}

@media (max-width: 1180px) {
  .related,
  .related--home {
    background: linear-gradient(to bottom, transparent 0 112px, var(--orange) 112px 100%);
  }

  .related--home {
    background: linear-gradient(to bottom, #ececec 0 112px, var(--orange) 112px 100%);
  }
}

.footer {
  background: var(--orange);
}

.social {
  background: var(--red);
  width: min(var(--footer-max), calc(100% - (var(--page-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-content: space-between;
}

.privacy-note a {
  color: #111;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .social {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

.consents label > .field-error {
  grid-column: 2;
  margin-top: 4px;
  max-width: 100%;
}
