/*
 * incentro.dk — a static copy of the 2021 WordPress/Elementor site.
 * Values (fonts, sizes, colours) were read from the live site on 2026-10-07.
 * Own layout on purpose: this site does not use the ELG design system in sites/shared.
 */

:root {
  --brand: #886761;
  --text: #54595f;
  --muted: #9a9a9a;
  --grey-bg: #ededed;
  --dark-bg: #444444;
  --white: #ffffff;
  --divider-on-white: #eaeaea;
  --divider-on-grey: #ffffff;
  --container: 1140px;
  --header-h: 125px;
  --serif: "Crimson Pro", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --button: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --system: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.site-logo img {
  width: 230px;
}

.site-nav ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 13px 20px;
  border-bottom: 3px solid transparent;
  color: var(--brand);
  font-family: var(--system);
  font-size: 16px;
  line-height: 20px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--brand);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ── Shared type ────────────────────────────────────────── */

.heading {
  margin: 0;
  color: var(--brand);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.heading--serif {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.heading--sans {
  font-family: var(--sans);
  font-size: 30px;
  line-height: 1;
}

.heading--lg {
  font-size: 35px;
}

.divider {
  width: 130px;
  height: 0;
  margin: 30px 0;
  border: 0;
  border-top: 3px solid var(--divider-on-white);
}

.section--grey .divider {
  border-top-color: var(--divider-on-grey);
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Sections ───────────────────────────────────────────── */

.section {
  padding: 70px 0;
}

.section--grey {
  background: var(--grey-bg);
}

.section--center {
  text-align: center;
}

.lead {
  max-width: 900px;
  margin: 0 auto;
}

/* Heading on the left, text on the right (two rows per section are common). */
.row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.row + .row {
  margin-top: 60px;
}

.row__head {
  padding-right: 20px;
}

/* ── Heroes ─────────────────────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
}

.hero--home {
  min-height: 447px;
  text-align: center;
}

.hero--home .heading {
  color: var(--white);
  font-size: 35px;
}

.hero--home .divider {
  width: 157px;
  border-top-color: var(--white);
}

.hero--home p {
  max-width: 1000px;
  margin: 0 auto;
}

.hero--image {
  min-height: 300px;
  justify-content: center;
  background-color: #6d6460;
}

.hero--pension {
  background-image: url("/assets/img/hero-pension.jpg");
}

.hero--sundhed {
  background-image: url("/assets/img/hero-sundhed.jpg");
}

.hero--contact {
  min-height: 350px;
}

.hero__title {
  margin: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: 51px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hero--image .hero__title {
  text-align: center;
}

/* ── Customer logos (home) ──────────────────────────────── */

.logos {
  margin-top: 40px;
}

.logos__viewport {
  overflow: hidden;
}

.logos__track {
  display: flex;
  transition: transform 0.6s ease;
}

.logos__slide {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 0 20px;
}

.logos__slide img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}

.logos__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.logos__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;
}

.logos__dots button[aria-current="true"] {
  background: #000000;
}

/* ── About photos (home) ────────────────────────────────── */

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #dcdcdc;
}

/* ── Call to action band ───────────────────────────────── */

.cta {
  position: relative;
  padding: 90px 0;
  color: var(--white);
  text-align: center;
  background: var(--dark-bg);
}

.cta--image {
  background: #1d1d1d url("/assets/img/cta-bg.jpg") center / cover no-repeat;
}

.cta--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.cta > .container {
  position: relative;
}

.cta__title {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 51px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.cta--image .cta__title {
  font-family: var(--sans);
  line-height: 0.8;
}

.cta__text {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #dddddd;
  font-size: 17px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--white);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--button);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--dark-bg);
}

/* ── Contact details + map (home) ───────────────────────── */

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 950px;
  margin: 0 auto;
  align-items: center;
}

.contact-block .heading {
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1.15;
  letter-spacing: 0;
}

.icon-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
}

.icon-list svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.icon-list a {
  text-decoration: none;
}

.map {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ── Kontakt page ───────────────────────────────────────── */

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

.contact-columns > div:nth-child(2) {
  text-align: center;
}

.contact-columns > div:nth-child(3) {
  text-align: right;
}

.contact-columns h2 {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.contact-columns a {
  text-decoration: none;
}

.contact-intro {
  max-width: 1000px;
  margin: 0 auto 60px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.contact-intro p {
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--brand);
  border-radius: 0;
  background: var(--white);
  color: #333333;
  font-family: var(--sans);
  font-size: 14px;
}

.contact-form input {
  height: 40px;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7a7a7a;
}

.contact-form .honey {
  display: none;
}

.contact-form .actions {
  grid-column: 1 / -1;
  text-align: center;
}

.btn-solid {
  min-width: 124px;
  padding: 18px 40px;
  border: 0;
  border-radius: 50px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #6f524d;
}

.btn-solid:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: 15px;
}

.form-status--ok {
  color: #1f7a1f;
}

.form-status--error {
  color: #b42318;
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 40px;
  text-align: center;
}

.team img {
  margin: 0 auto 24px;
}

.team__name {
  margin: 0;
  color: var(--brand);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.team__role {
  margin: 4px 0 14px;
  color: #c4c4c4;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.team__lines {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.team__lines a {
  text-decoration: none;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  padding: 45px 0;
  background: var(--grey-bg);
  color: #000000;
  font-family: var(--button);
  font-size: 16px;
  text-align: center;
}

/* ── Phones and small tablets ───────────────────────────── */

@media (max-width: 1024px) {
  .logos__slide {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 90px;
  }

  .site-logo img {
    width: 170px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--divider-on-white);
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--divider-on-white);
    font-weight: 600;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  .row,
  .contact-block,
  .contact-columns,
  .team,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .row + .row {
    margin-top: 40px;
  }

  .contact-columns > div:nth-child(2),
  .contact-columns > div:nth-child(3) {
    text-align: left;
  }

  .hero--home {
    min-height: 380px;
  }

  .hero__title,
  .cta__title {
    font-size: 36px;
  }

  .contact-block .heading {
    font-size: 36px;
  }

  .logos__slide {
    flex-basis: 100%;
  }
}

/* ── Small helpers (kept out of inline styles so the CSP needs no 'unsafe-inline') ── */

.subtitle {
  margin-top: 20px;
}

.divider--short {
  width: 55px;
}

.container--full {
  width: 100%;
}

.section--flush-top {
  padding-top: 0;
}
