.contact {
  padding: 20px;
}

/* Photo is full-bleed on the rounded card; title+form+stats cap at 1600px. */
.contact-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0;
  border-radius: var(--r-section);
  color: var(--white);
}

.contact-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% 70%;
}

.contact-tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  opacity: 0.4;
  pointer-events: none;
}

.contact-grid,
.contact-stats {
  position: relative;
  z-index: 1;
  width: min(1600px, 100%);
  padding-inline: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 80px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-copy .h2 {
  max-width: 570px;
  color: var(--white);
}

.contact-pitch {
  max-width: 520px;
  margin: 0;
  font: 600 20px/1.35 var(--font-display);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.9);
}

.contact-pitch .dim {
  color: rgba(255, 255, 255, 0.65);
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 15px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
}

.contact-point-icon {
  flex: none;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: min(472px, 100%);
  margin: auto 0 0 17px;
  margin-top: auto;
  color: var(--white);
}

.contact-quote blockquote {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.contact-quote .eksempel {
  top: auto;
  right: 10px;
  left: auto;
  bottom: 6px;
}

.contact-quote .person {
  padding-right: 78px;
}

.contact-quote .avatar {
  width: 42px;
  height: 42px;
}

.contact-quote .person b {
  font-size: 15px;
}

.contact-quote .person .fine {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
  margin: 0;
  padding: 32px;
  gap: 20px;
  border-radius: 30px;
  background: rgba(227, 227, 227, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
}

.contact-form .lead {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
}

.contact-form .fine {
  color: var(--muted);
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-field-error {
  min-height: 1.2em;
  margin-top: 4px;
  font-size: 12px;
  color: #8b1e1e;
}

.contact-form-status {
  min-height: 1.3em;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.contact-form-status[data-tone="error"] {
  color: #8b1e1e;
}

.contact-form-status[data-tone="ok"] {
  color: var(--green);
}

.contact-form-status[data-tone="busy"] {
  color: var(--muted);
}

.contact-success[hidden] {
  display: none;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.contact-success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cta);
  color: var(--green);
}

.contact-success-icon svg {
  width: 22px;
  height: 22px;
}

.contact-success-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.contact-success-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.contact-form.is-sent {
  justify-content: flex-start;
  min-height: 280px;
}

.contact-form.is-sent > :not(.logo):not(.contact-success) {
  display: none;
}

.contact-action:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.contact-terms {
  display: inline-flex;
  align-items: center;
}

.contact-terms a {
  text-decoration: underline;
}

.terms-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cta);
  flex: none;
  margin-right: 8px;
}

.contact-divider {
  height: 1px;
  background: rgba(36, 36, 36, 0.18);
  margin: -4px -32px 0;
}

.contact-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.contact-cta-row .fine {
  max-width: 220px;
  color: var(--muted);
}

.contact-cta-row .btn {
  min-width: 204px;
  justify-content: center;
}

.contact-cta-row .btn i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.contact-action {
  position: relative;
  overflow: hidden;
}

.action-orbit {
  position: absolute;
  right: 15px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  opacity: 0;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: var(--r-chip);
  padding: 12px 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.chip-group {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-group legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--muted);
}

.chip-choice {
  position: relative;
}

.chip-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

.chip-choice span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
}

.chip-choice input:checked + span {
  background: var(--green);
  color: var(--cta);
}

.chip-choice input:checked + span::before {
  background: var(--cta);
}

.chip-choice.is-selected span {
  background: var(--green);
  color: var(--cta);
}

.chip-choice.is-selected span::before {
  background: var(--cta);
}

.chip-choice input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.contact-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 80px;
  margin-top: 80px;
}

.contact-stats-row {
  grid-column: 2;
  display: flex;
  gap: 50px;
}

.contact-stats > div {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-stats > div .eksempel {
  top: -24px;
  left: 10px;
  right: auto;
}

.contact-stat-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.contact-stats b {
  font: 600 60px/1 var(--font-display);
  letter-spacing: -.04em;
  color: var(--white);
}

.contact-stats [data-count] {
  color: var(--white);
  opacity: 1;
}

.contact-stats .stat-unit {
  color: var(--white);
  opacity: 1;
  margin-left: 2px;
}

.contact-stats .fine {
  color: rgba(255, 255, 255, 0.92);
  max-width: 105px;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .contact-action:hover .swap > span {
    opacity: 0;
    transform: translateY(-110%) rotate(-30deg);
  }

  .contact-action:hover .swap::after {
    opacity: 1;
    transform: none;
  }

  .contact-action:hover i {
    opacity: 0;
  }

  .contact-action:hover .action-orbit {
    opacity: 1;
    animation: contact-action-spin .8s linear infinite;
  }
}

@keyframes contact-action-spin {
  to { transform: rotate(1turn); }
}

@media (max-width: 850px) {
  .contact {
    padding: 10px;
  }

  .contact-inner {
    min-height: auto;
    padding: 64px 0 48px;
  }

  .contact-grid,
  .contact-stats {
    padding-inline: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: 0;
  }

  .contact-copy {
    gap: 36px;
  }

  .contact-copy .h2 {
    font-size: 40px;
  }

  .contact-right {
    gap: 36px;
  }

  .contact-form {
    max-width: none;
    padding: 24px;
  }

  .contact-divider {
    margin-inline: -24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-quote {
    width: 100%;
    gap: 18px;
    margin: 42px 0 0;
  }

  .contact-quote blockquote {
    max-width: 300px;
    font-size: 18px;
    line-height: 1.45;
  }

  .contact-quote .person {
    padding-right: 76px;
  }

  .contact-quote .eksempel {
    right: 4px;
    bottom: 8px;
  }

  .contact-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-cta-row .btn {
    width: 100%;
  }

  .contact-stats {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 46px;
  }

  .contact-stats-row {
    grid-column: 1;
    flex-wrap: wrap;
    gap: 32px;
  }

  .contact-stats b {
    font-size: 48px;
  }
}
