/* =========================================================
   Verisure career page – design tokens
   ========================================================= */
:root {
  /* Colors */
  --primary-color: #ed002f;
  --primary-dark: #3f000b;
  --text-color: #262626;
  --black: #000000;
  --white: #ffffff;
  --grey-light: #dcddde;
  --grey-light-light: #f9f9f9;
  --footer-bg: #f1f1f1;

  /* Fonts */
  --font-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-heading: "Fira Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Type scale */
  --h1-size: 48px;
  --h2-size: 33px;
  --h3-size: 21px;
  --paragraph-size: 16px;
  --quote-size: 24px;
  --quote-size-sm: 18px;
  --button-size: 16px;

  /* Layout */
  --topbar-height: 72px;
  --radius-pill: 1000px;
  --radius-card: 30px;
}

/* =========================================================
   Base
   ========================================================= */
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: var(--paragraph-size);
  line-height: 1.4;
  color: var(--text-color);
  background-color: var(--white);
  padding-top: var(--topbar-height);
}

img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--primary-color);
}

.section {
  padding: 60px 0;
}
.bg-light-grey {
  background-color: var(--grey-light-light);
}
.text-primary-red {
  color: var(--primary-color);
}

.pos-rel-new {
  position: relative;
  z-index: 200;
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  background: var(--white);
  box-shadow: 0 15px 12.5px rgba(0, 0, 0, 0.12);
  z-index: 1030;
}
.topbar-inner {
  padding: 15px 40px;
  max-width: 100%;
}
@media (min-width: 992px) {
  .topbar-inner {
    padding: 15px 140px;
  }
}
.topbar-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

.verisure-pic-bg {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Buttons */
.btn-primary-pill,
.btn-secondary-pill,
.btn-cta-white,
.jix_onlineapplication_button .button,
.jobad-element-myjob a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--button-size);
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  line-height: 1;
}
.btn-primary-pill,
.jix_onlineapplication_button .button {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
}
.btn-primary-pill:hover,
.jix_onlineapplication_button .button:hover {
  opacity: 0.9;
  color: var(--white);
}

.btn-secondary-pill,
.jobad-element-myjob a {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--primary-color);
  padding: 11px 30px;
  font-weight: 500;
  text-decoration: none;
}
.btn-secondary-pill:hover,
.jobad-element-myjob a:hover {
  color: #fff;
  background: var(--primary-color);
}

.cta-section .jix_onlineapplication_button .button {
  background: var(--white);
  color: var(--primary-color);
}

.btn-cta-white {
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 40px;
  margin-top: 8px;
}
.btn-cta-white:hover {
  color: var(--primary-color);
  opacity: 0.9;
}
.jobad-element-myjob {
  list-style: none;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 600px;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/verisure-hero.jpg") top/cover no-repeat;
  color: var(--white);
  padding: 60px 20px;
}
.hero-overlay {
  display: none;
} /* baked into background */
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 5vw, var(--h1-size));
  line-height: 1.15;
  margin: 0;
}

/*-- location --*/
.location
{
    position: relative;
    padding: 0 0 0 30px;
}
.location p
{
    margin: 0 0 6px;
}
.location p:before {
  content: url(../img/geolocation.svg);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.location p:empty {
  display: none;
}

/* =========================================================
   Employment tags
   ========================================================= */
.employment-tags-section {
  background: var(--grey-light-light);
  padding: 44px 0;
}
.employment-tag {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--text-color);
  font-size: var(--paragraph-size);
  line-height: 1.4;
}
.employment-tag svg {
  flex-shrink: 0;
  color: var(--text-color);
}
.employment-tag strong {
  font-weight: 700;
  margin-right: 4px;
}
.divider {
  width: 1px;
  border: 1px solid;
  /*align-self: stretch;
  background: var(--grey-light);
  min-height: 32px;*/
}

/* =========================================================
   Typography blocks
   ========================================================= */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--h2-size);
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 24px;
}
.lead-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--h3-size);
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 20px;
}
.body-text {
  font-size: var(--paragraph-size);
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text-color);
}
.footer-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--h3-size);
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--black);
}

/* =========================================================
   Checklist
   ========================================================= */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: var(--paragraph-size);
  line-height: 1.4;
  color: var(--black);
}
.checklist li::before {
  /*content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 12px;
  background: none;
  border-left: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(-45deg);*/

  content: url(../img/checkmark.svg);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

/* =========================================================
   Quote blocks
   ========================================================= */
.red-gradient {
  background: linear-gradient(172deg, var(--primary-color) 30%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}
.rounded-pic {
  border-radius: var(--radius-card);
  object-fit: cover;
  width: 100%;
  max-height: 480px;
}
.quote-content {
  max-width: 640px;
}
.quote-icon {
  display: block;
  margin-bottom: 16px;
}
.quote-icon--sm {
  width: 30px;
  height: 26px;
}
.quote-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--quote-size);
  line-height: 1.28;
  margin-bottom: 20px;
}
.quote-text--sm {
  font-size: var(--quote-size-sm);
}
.quote-author {
  font-weight: 700;
  font-size: var(--paragraph-size);
  margin: 0;
}
.quote-author--sm {
  font-size: 14px;
}
.quote-content--light .quote-text,
.quote-content--light .quote-author {
  color: var(--text-color);
}

.quote-card {
  background: var(--white);
  box-shadow: 0 15px 12.5px rgba(0, 0, 0, 0.12);
  border-radius: 0;
  border-top-left-radius: var(--radius-card);
  border-bottom-right-radius: var(--radius-card);
  padding: 40px 60px;
  color: var(--text-color);
}
.quote-card--red {
  background: var(--primary-color);
  box-shadow: none;
  color: var(--white);
  padding: 45px 40px;
}
.quote-card--red .quote-text,
.quote-card--red .quote-author {
  color: var(--white);
}

/* =========================================================
   Requirement steps
   ========================================================= */
.requirement-row {
  margin-top: 24px;
}
.requirement-step {
  background: var(--grey-light);
  padding: 20px 24px;
  height: 100%;
  min-height: 216px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.requirement-step--first {
  border-top-left-radius: var(--radius-card);
}
.requirement-step--last {
  border-bottom-right-radius: var(--radius-card);
}
.step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--h2-size);
  color: var(--text-color);
  line-height: 1;
}
.requirement-step p {
  font-style: italic;
  font-weight: 500;
  font-size: var(--paragraph-size);
  line-height: 1.4;
  margin: 0;
  color: var(--black);
}

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
  background: var(--primary-color);
  color: var(--white);
  padding: 85px 0;
}
.cta-section .section-title {
  color: var(--white);
}
.cta-link {
  color: var(--white);
  text-decoration: underline;
}
.cta-link:hover {
  color: var(--white);
  opacity: 0.9;
}

/* =========================================================
   Pic collage
   ========================================================= */
.pic-collage {
  padding: 50px 0;
}
.pic-collage img {
  max-height: 340px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  padding: 80px 0;
  color: var(--black);
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 16px;
}
.footer-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  align-items: center;
}
.social-icons a {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: opacity 0.2s ease;
}
.social-icons a:hover {
  opacity: 0.8;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  :root {
    --h1-size: 34px;
    --h2-size: 26px;
    --h3-size: 18px;
    --quote-size: 20px;
    --topbar-height: 64px;
    --radius-card: 20px;
  }
  .hero {
    min-height: 500px;
  }
  .quote-card {
    padding: 30px;
  }
  .cta-section {
    padding: 60px 0;
  }
  .site-footer {
    padding: 60px 0;
  }
  .topbar-inner {
    padding: 12px 20px;
  }
  .red-gradient {
    padding: 40px 0;
  }
  .requirement-step {
    height: auto;
    min-height: auto;
    margin-bottom: 10px;
  }
}

@media (max-width: 575.98px) {
  .btn-primary-pill,
  .btn-secondary-pill,
  .btn-cta-white,
  .jix_onlineapplication_button .button,
  .jobad-element-myjob a {
    padding: 10px 22px;
    font-size: 14px;
  }
  .section {
    padding: 40px 0;
  }
  .rounded-pic {
    max-height: 240px;
  }
}
