/* Flot Arbejde — visual mockup only. Not production CSS. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0e4b3a;
  --primary-dark: #0a3a2d;
  --primary-light: #e6efe9;
  --navy: #16325c;
  --gold: #c9971f;
  --gold-bg: #fbf3df;
  --silver: #7c8894;
  --silver-bg: #eef1f3;
  --bronze: #a9652f;
  --bronze-bg: #f6e9df;
  --unverified: #9aa0a6;
  --unverified-bg: #f0f1f2;
  --success: #1e8e5a;
  --bg: #f6f8f7;
  --card: #ffffff;
  --text: #1b2420;
  --text-muted: #5b6b63;
  --border: #e0e6e2;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 35, 25, 0.08), 0 1px 2px rgba(15, 35, 25, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 35, 25, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

img, svg { display: block; }

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 14px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name .brand-tagline {
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #081a15;
  color: #fff;
  padding: 64px 0 110px;
}

/* Full-bleed background image rotator */
.hero-rotator {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-rotator img.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,26,21,0.35) 0%, rgba(8,26,21,0.1) 30%, rgba(8,26,21,0.55) 100%),
    linear-gradient(90deg, rgba(8,26,21,0.96) 0%, rgba(8,26,21,0.82) 38%, rgba(8,26,21,0.4) 68%, rgba(8,26,21,0.12) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 40px;
  max-width: 680px;
  margin-bottom: 14px;
}
.hero .lede {
  font-size: 17.5px;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 34px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

/* Search card */
.search-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  max-width: 780px;
  margin-top: -6px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field select, .field input {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.search-card .btn { align-self: end; padding: 12px 26px; }

.hero-search-wrap { position: relative; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.section-head p { color: var(--text-muted); font-size: 15.5px; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Trust pillars grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.pillar h3 { font-size: 15.5px; margin-bottom: 6px; }
.pillar p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* Badge tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.tier-card.gold { border-top: 4px solid var(--gold); }
.tier-card.silver { border-top: 4px solid var(--silver); }
.tier-card.bronze { border-top: 4px solid var(--bronze); }
.tier-card ul { text-align: left; margin: 16px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--text-muted); }
.tier-card li { margin-bottom: 6px; }

/* Badge chip component (used across pages) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px 5px 8px;
  border-radius: 999px;
}
.badge svg { width: 14px; height: 14px; }
.badge-gold { background: var(--gold-bg); color: #8a6710; }
.badge-silver { background: var(--silver-bg); color: #4c5760; }
.badge-bronze { background: var(--bronze-bg); color: #7a4a20; }
.badge-unverified { background: var(--unverified-bg); color: #666b70; }
.badge-lg { font-size: 14.5px; padding: 9px 16px 9px 12px; }
.badge-lg svg { width: 18px; height: 18px; }

/* Rating stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.rating-line { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-muted); }
.rating-line strong { color: var(--text); font-size: 14.5px; }

/* Featured companies teaser on frontpage */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Company card (list) ---------- */
.company-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  align-items: start;
}
.company-logo {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em;
}
.company-card .name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.company-card h3 { margin: 0; font-size: 17px; }
.company-meta { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.trust-snippet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
}
.trust-snippet span { display: inline-flex; align-items: center; gap: 5px; }
.trust-snippet svg { width: 13px; height: 13px; color: var(--success); }
.company-card-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 140px; }

/* ---------- List page layout ---------- */
.list-page-head {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--primary); }
.list-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 0 72px;
  align-items: start;
}
.filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 12px;
}
.check-row { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 14px; }
.check-row label { flex: 1; }
.check-row .count { color: var(--text-muted); font-size: 12.5px; }
.reset-link { font-size: 13px; font-weight: 700; color: var(--primary); }

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.results-count { font-size: 14.5px; color: var(--text-muted); }
.results-count strong { color: var(--text); }
.sort-select select {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13.5px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.pagination a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Company detail page ---------- */
.company-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 32px 0 0;
}
.company-hero-top { display: grid; grid-template-columns: 88px 1fr auto; gap: 22px; align-items: start; padding-bottom: 28px; }
.company-hero .company-logo { width: 88px; height: 88px; font-size: 26px; border-radius: 16px; }
.company-hero h1 { font-size: 27px; margin-bottom: 6px; }
.specialty-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.tag { background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.hero-cta { display: flex; flex-direction: column; gap: 10px; min-width: 180px; }

.detail-tabs { display: flex; gap: 8px; border-bottom: none; margin-top: 4px; }
.detail-tabs a {
  padding: 14px 4px;
  font-size: 14.5px; font-weight: 700; color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-right: 28px;
}
.detail-tabs a.active, .detail-tabs a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 36px 0 80px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.panel h2 { font-size: 19px; }
.panel-sub { color: var(--text-muted); font-size: 13.5px; margin-top: -8px; margin-bottom: 18px; }

/* Trust checklist - the centerpiece */
.trust-panel { border: 2px solid var(--primary); }
.trust-score-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.trust-score-head .badge-lg { }
.trust-score-head .checked-date { font-size: 12.5px; color: var(--text-muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-icon {
  width: 22px; height: 22px; border-radius: 999px;
  background: #e5f3ec; color: var(--success);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 13px; height: 13px; }
.check-item strong { font-size: 14.5px; display: block; }
.check-item span.detail { font-size: 13px; color: var(--text-muted); }
.check-item .source { font-size: 11.5px; color: #8b968f; margin-top: 2px; }
.category-label {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--primary); margin: 20px 0 10px;
}
.category-label:first-child { margin-top: 0; }

/* Reviews */
.review-summary { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; }
.review-summary .big-score { font-size: 40px; font-weight: 800; }
.review-item { border-top: 1px solid var(--border); padding: 20px 0; }
.review-item:first-of-type { border-top: none; padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.avatar {
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.reviewer-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12.5px; color: var(--text-muted); }
.verified-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e5f3ec; color: var(--success);
  font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.verified-tag svg { width: 11px; height: 11px; }
.review-job { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; font-style: italic; }
.review-reply {
  background: var(--bg); border-radius: 8px; padding: 12px 14px; margin-top: 12px; font-size: 13.5px;
}
.review-reply .reply-label { font-weight: 700; font-size: 12px; color: var(--primary); margin-bottom: 4px; display: block; }

/* Write review form (mockup) */
.form-grid { display: grid; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px;
  font-family: inherit; font-size: 14px;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.star-input { display: flex; gap: 4px; }
.star-input svg { width: 24px; height: 24px; color: var(--border); cursor: pointer; }
.star-input svg:nth-child(-n+4) { color: var(--gold); }
.hint { font-size: 12px; color: var(--text-muted); }

/* Sidebar info panel */
.info-row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-muted); }
.map-placeholder {
  height: 140px; border-radius: 8px; background:
    repeating-linear-gradient(45deg, #eef2ef, #eef2ef 10px, #e6ece8 10px, #e6ece8 20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12.5px; margin-bottom: 14px; border: 1px solid var(--border);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h2 { margin-bottom: 6px; font-size: 23px; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.85); max-width: 480px; }
.cta-banner > div, .cta-banner > a { position: relative; z-index: 1; }
.cta-banner .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.12); }
.cta-decor {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 190px;
  height: 190px;
  color: rgba(255,255,255,0.06);
  z-index: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #353535;
  color: rgba(255,255,255,0.78);
  padding: 56px 0 26px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.65); max-width: 280px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pillars, .tier-grid, .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout, .detail-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .company-hero-top { grid-template-columns: 72px 1fr; }
  .hero-cta { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 640px) {
  .search-card { grid-template-columns: 1fr; }
  .pillars, .tier-grid, .teaser-grid, .footer-grid { grid-template-columns: 1fr; }
  .company-card { grid-template-columns: 48px 1fr; }
  .company-card-actions { grid-column: 1 / -1; flex-direction: row; margin-top: 12px; }
  .company-logo { width: 48px; height: 48px; font-size: 14px; }
  .hero h1 { font-size: 30px; }
  .main-nav { display: none; }
}
