/* Cognity — simplified static site */

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

:root {
  --navy: #16233a;
  --navy-deep: #152238;
  --orange: #d8613c;
  --sage: #d8e0d2;
  --gray-section: #808080;
  --bg: #f9f9f9;
  --text: #16233a;
  --muted: #5a6472;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header.site-header {
  background: var(--bg);
  padding: 28px 0;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo .c { color: var(--orange); }
.logo .rest { color: var(--navy); }

nav.site-nav {
  margin-top: 6px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  margin-right: 24px;
}

nav.site-nav a:hover { color: var(--navy); }

/* Hero (homepage) */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-top: 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,15,25,0.72) 0%, rgba(10,15,25,0.35) 55%, rgba(10,15,25,0.15) 100%);
}

.hero .wrap { position: relative; z-index: 1; width: 100%; }

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 2.4rem;
  line-height: 1.25;
  max-width: 620px;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Section variants */
section { padding: 64px 0; }

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

.section-intro p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--text);
}

.section-orange {
  background: var(--orange);
  color: #fff;
  text-align: center;
}

.section-orange h2 { margin-top: 0; font-weight: 500; }

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

.feature-card { text-align: center; }

.icon-tile {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-tile svg { width: 44px; height: 44px; stroke: #fff; }

.feature-card h3 {
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}

.feature-card p { margin: 0; font-size: 0.95rem; opacity: 0.92; }

.section-gray {
  background: var(--gray-section);
  color: #fff;
}

.section-gray h2 { text-align: center; font-weight: 500; margin-top: 0; margin-bottom: 48px; }

.solutions-table {
  display: grid;
  grid-template-columns: 1fr repeat(4, 1.4fr);
  gap: 14px;
}

.solutions-table .cell {
  background: transparent;
  padding: 20px;
}

.solutions-table .row-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,0.12);
}

.solutions-table .row-label .icon-tile {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 10px; background: rgba(255,255,255,0.15);
}
.solutions-table .row-label .icon-tile svg { width: 26px; height: 26px; }

.solutions-table .row-label span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.solutions-table .col-head {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.solutions-table .col-head .icon-tile {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 10px; background: transparent;
}
.solutions-table .col-head .icon-tile svg { width: 28px; height: 28px; }

.solutions-table .col-head span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.solutions-table .content-cell {
  background: rgba(255,255,255,0.94);
  color: var(--text);
  border-radius: 6px;
  font-size: 0.9rem;
}

.solutions-table .content-cell a { color: var(--orange); font-weight: 600; text-decoration: none; }
.solutions-table .content-cell a:hover { text-decoration: underline; }

/* Contact / talk section */
.section-contact {
  background: var(--sage);
}

.section-contact h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  margin-top: 0;
}

.contact-form {
  max-width: 640px;
  margin: 32px auto 0;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 20px;
}

.contact-form label .req { color: #c0392b; margin-left: 2px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9cfc4;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

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

.contact-form button {
  margin-top: 24px;
  background: #4a6fdc;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover { background: #3b5cc4; }

/* Footer */
footer.site-footer {
  background: var(--bg);
  padding: 48px 0;
}

footer.site-footer .footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .footer-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Mentor / sagsbehandling hero */
.mentor-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0;
}

.mentor-hero .kicker { color: #8fb0a0; font-size: 0.95rem; margin-bottom: 4px; }

.mentor-hero h1 {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 3.4rem;
  color: #8fb0a0;
  margin: 0 0 16px;
}

.mentor-hero .tagline { color: #a9b6c4; font-size: 1.1rem; max-width: 420px; }

.mentor-hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.mentor-hero ul.hero-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.mentor-hero ul.hero-nav li { margin-bottom: 18px; font-size: 1.05rem; }

.section-dark-gray {
  background: #808080;
  color: #fff;
}

.section-dark-gray p { max-width: 800px; }

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

.value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: #e2efe1;
  border: none;
  color: var(--text);
  padding: 24px;
  border-radius: 12px;
}

.value-card h3 { margin-top: 0; font-size: 1.05rem; }

.text-section {
  background: #f2f8f0;
}

.text-section p {
  max-width: 800px;
  font-size: 1.05rem;
}

.text-section h2 { margin-bottom: 16px; }

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.stakeholder-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  text-align: left;
  color: #111;
}

.stakeholder-card h3 {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--orange);
  margin-top: 0;
}

.stakeholder-card ul { padding-left: 18px; margin: 0; color: #111; }
.stakeholder-card li { margin-bottom: 8px; color: #111; }

.cta-block {
  text-align: center;
  padding: 72px 0;
}

.cta-block h2 { font-weight: 400; font-size: 2rem; }

.btn {
  display: inline-block;
  margin-top: 16px;
  background: var(--navy-deep);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
}

.btn:hover { background: var(--orange); }

/* Kontakt page */
.page-title {
  text-align: center;
  padding: 56px 0 0;
}

.page-title h1 { font-size: 2.4rem; font-weight: 500; }

@media (max-width: 900px) {
  .feature-grid, .value-cards, .stakeholder-grid { grid-template-columns: 1fr; }
  .solutions-table { grid-template-columns: 1fr; }
  .mentor-hero-flex { flex-direction: column; }
  .mentor-hero ul.hero-nav { text-align: left; }
  .hero h1 { font-size: 1.8rem; }
}
