/**************************************
  01. Tokens
**************************************/
:root {
	--bg: #f5f7fb;
	--panel: #ffffff;
	--text: #0b1220;
	--muted: #64748b;
	--line: rgba(15, 23, 42, 0.10);
	--shadow: 0 12px 30px rgba(2, 8, 23, 0.10);
	--shadow-soft: 0 10px 22px rgba(2, 8, 23, 0.08);
	--radius: 18px;
	--radius-lg: 26px;
	--navy: #0b1220;
	--navy-2: #111b2e;
	--blue: #2563eb;
	--blue-2: #1d4ed8;
	--pill: #f1f5ff;
}

/**************************************
  02. Base / Reset
**************************************/
* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.55;
	padding-top: 72px;
}

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

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

/**************************************
  03. Layout Helpers
**************************************/
.container {
	width: min(1280px, calc(100% - 40px));
	margin: 0 auto;
}

.section {
	padding: 54px 0;
}

.section--tight {
	padding: 20px 0 54px;
}

.grid-2 {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: start;
}

/**************************************
  04. Accessibility
**************************************/
.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	padding: 10px 12px;
	background: var(--panel);
	border-radius: 10px;
	box-shadow: var(--shadow-soft);
	z-index: 1000;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/**************************************
  05. Header / Navigation (Sticky)
**************************************/
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header.is-elevated {
	box-shadow: 0 8px 20px rgba(2, 8, 23, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}
.brand-mark {
	width: 160px;
	height: 40px;
	border-radius: 10px;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.brand-mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.brand-mark svg {
	width: 18px;
	height: 18px;
}

.brand-mark.small {
	width: 28px;
	height: 28px;
	border-radius: 9px;
}

.brand-text {
	font-size: 15px;
}

.nav {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.nav-menu {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

.nav-link {
	font-size: 14px;
	font-weight: 800;
	color: rgba(15, 23, 42, 0.82);
	padding: 8px 8px;
	border-radius: 10px;
}
.nav-link:hover {
	background: rgba(2, 8, 23, 0.04);
	text-decoration: none;
}
.nav-link.is-active {
	color: rgba(15, 23, 42, 1);
	background: rgba(2, 8, 23, 0.05);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--panel);
	cursor: pointer;
}
.hamburger {
	display: block;
	width: 18px;
	height: 2px;
	background: rgba(15, 23, 42, 0.75);
	margin: 0 auto;
	position: relative;
}
.hamburger::before,
.hamburger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: rgba(15, 23, 42, 0.75);
}
.hamburger::before {
	top: -6px;
}
.hamburger::after {
	top: 6px;
}

/**************************************
  06. Buttons
**************************************/
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	user-select: none;
}
.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--blue);
	color: #fff;
}
.btn-primary:hover {
	background: var(--blue-2);
}

.btn-secondary {
	background: #fff;
	border-color: var(--line);
	color: rgba(15, 23, 42, 0.92);
}
.btn-secondary:hover {
	background: rgba(2, 8, 23, 0.03);
}

/**************************************
  07. Hero / Slider (Top)
**************************************/
.hero {
	padding: 28px 0 0;
	background: transparent;
}

.hero-frame {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(2, 8, 23, 0.18);
}

.hero-slider {
	position: relative;
	height: 640px;
	background: #0b1220;
}
.hero-slider::after {
	content: none;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 360ms ease;
}
.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hero-bg {
	position: absolute;
	inset: 0;
}
.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.1);
}

/* Om du inte använder hero-text längre: påverkar inte men kan vara kvar */
.hero-content {
	position: relative;
	padding: 110px 0 78px;
	color: #fff;
}
.hero-content h1 {
	margin: 0 0 10px;
	font-size: clamp(30px, 4vw, 44px);
	letter-spacing: -0.02em;
}
.hero-content p {
	margin: 0;
	max-width: 640px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
}

.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(11, 18, 32, 0.35);
	cursor: pointer;
	z-index: 2;
}
.hero-arrow:hover {
	background: rgba(11, 18, 32, 0.55);
}
.hero-prev {
	left: 18px;
}
.hero-next {
	right: 18px;
}

.hero-arrow::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid rgba(255, 255, 255, 0.9);
	border-bottom: 2px solid rgba(255, 255, 255, 0.9);
	margin: 0 auto;
}
.hero-prev::before {
	transform: rotate(135deg);
}
.hero-next::before {
	transform: rotate(-45deg);
}

/* (Om du inte använder dots längre kan du radera detta block) */
.hero-dots {
	margin-top: 18px;
	display: inline-flex;
	gap: 8px;
}
.dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
}
.dot.is-active {
	background: rgba(255, 255, 255, 0.95);
}

/**************************************
  08. Section Headings / Icons / Typography
**************************************/
.section-head {
	margin-bottom: 10px;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(15, 23, 42, 0.78);
	font-weight: 600;
	font-size: 14px;
}

.icon-circle {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #eef2ff;
	color: #1e3a8a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.lead {
	font-size: 16px;
	margin-top: 6px;
}

.section-title {
	margin-bottom: 18px;
}

.section-title h2 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 22px;
	letter-spacing: -0.01em;
}

.section-title p {
	margin: 8px 0 0;
	color: var(--muted);
}

.icon-left {
	width: 22px;
	height: 22px;
	color: rgba(37, 99, 235, 0.95);
	display: inline-flex;
}
.icon-left svg {
	width: 22px;
	height: 22px;
}

/**************************************
  09. Pills (Om-sektion)
**************************************/
.pills {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 999px;
	background: var(--pill);
	border: 1px solid rgba(37, 99, 235, 0.12);
	color: rgba(15, 23, 42, 0.86);
	font-weight: 600;
	font-size: 13px;
}
.pill-icon {
	width: 18px;
	height: 18px;
	color: #1d4ed8;
}
.pill-icon svg {
	width: 18px;
	height: 18px;
}

/**************************************
  10. Media Card (Map/Image + Badge)
**************************************/
.media-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	background: #0b1220;
	min-height: 420px;
}

.media-img {
	position: absolute;
	inset: 0;
}

.media-img iframe,
.media-img img {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
}

.badge {
	position: absolute;
	right: 14px;
	bottom: 14px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 14px;
	padding: 12px 14px;
	box-shadow: 0 10px 22px rgba(2, 8, 23, 0.16);
}
.badge-number {
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.02em;
}
.badge-sub {
	font-size: 12px;
	color: rgba(15, 23, 42, 0.7);
	margin-top: -2px;
}

/**************************************
  11. Cards / Documents
**************************************/
.cards {
	display: grid;
	gap: 14px;
}

.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgba(2, 8, 23, 0.06);
}

/* Dokument-grid: default två kolumner (kan användas på andra sidor) */
.docs-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Tre kolumner för dokument på startsidan */
.docs-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 18px;
}

.doc-ico {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(37, 99, 235, 0.10);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.doc-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.doc-title {
	font-weight: 800;
	font-size: 18px;
}
.doc-sub {
	font-size: 14px;
	color: var(--muted);
	margin-top: 2px;
}

.doc-link {
	margin-top: auto;
	align-self: flex-end;
	font-weight: 800;
	background: rgba(37, 99, 235, 0.08);
	color: rgba(37, 99, 235, 0.95);
	padding: 8px 10px;
	border-radius: 10px;
}
.doc-link:hover {
	background: rgba(37, 99, 235, 0.18);
	text-decoration: none;
}

/**************************************
  12. Board (Styrelse)
**************************************/
.board-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 10px;
	justify-content: center;
	justify-items: center;
}

.board-card {
	text-align: center;
	padding: 18px 14px;
	background: transparent;
	width: 100%;
	max-width: 240px;
}

.avatar {
	display: block;
	width: 88px;
	height: 88px;
	margin: 0 auto 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background:
		radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.14), transparent 55%),
		radial-gradient(circle at 70% 70%, rgba(2, 8, 23, 0.10), transparent 52%),
		#fff;
}

.board-name {
	font-weight: 800;
	font-size: 20px;
}
.board-role {
	font-size: 16px;
	color: var(--muted);
	margin-top: 2px;
}

/**************************************
  13. Contact (Footer panel)
**************************************/
.contact {
	padding-bottom: 0;
}

.contact-panel {
	background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
	border-radius: 26px;
	padding: 26px;
	color: #fff;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 18px;
	box-shadow: var(--shadow);
}

/* Desktop: gör högerkolumnen (de två boxarna) bredare */
@media (min-width: 981px) {
	.contact-panel {
		grid-template-columns: 0.8fr 1.2fr;
	}
}

.contact-left h3 {
	margin: 0 0 6px;
	font-size: 20px;
}

/* Utility: muted (dubbeldefinition, men avsiktligt för kontaktpanelen) */
.muted {
	color: rgba(100, 116, 139, 1);
}
.contact .muted {
	color: rgba(255, 255, 255, 0.72);
}

.contact-list {
	margin-top: 18px;
	display: grid;
	gap: 12px;
}

.contact-item {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 12px;
	align-items: start;
}

.contact-ico {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.10);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.9);
}
.contact-ico svg {
	width: 18px;
	height: 18px;
}

.label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 2px;
}

.contact-right {
	display: flex;
	align-items: stretch;
	gap: 18px;
}

.contact-box {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 20px;
	padding: 18px;
}

.contact-box h4 {
	margin: 0 0 12px;
	font-size: 16px;
}

.contact-subbox {
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.contact-subbox:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.subhead {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.70);
	margin-bottom: 6px;
}

.subbody {
	color: rgba(255, 255, 255, 0.92);
}
.tiny {
	font-size: 12px;
}

/* Mobil/tablet: stapla de två boxarna i högerspalten */
@media (max-width: 980px) {
	.contact-right {
		flex-direction: column;
	}
	.contact-box {
		width: 100%;
	}
}

/**************************************
  14. Site Footer (copyright)
**************************************/
.site-footer {
	margin-top: 22px;
	padding: 24px 0 26px;
	color: rgba(15, 23, 42, 0.65);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.footer-copy {
	font-size: 13px;
}

/**************************************
  15. Inner Pages (Page hero / content)
**************************************/
.page-hero {
	padding: 44px 0 0;
}
.page-hero h1 {
	margin: 0 0 6px;
	letter-spacing: -0.02em;
	font-size: 32px;
}
.page-hero p {
	margin: 0;
	color: var(--muted);
	max-width: 720px;
}

.content {
	padding-top: 0;
}

/* Notice box */
.notice {
	border-radius: 14px;
	padding: 18px 22px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.6;
}
.notice strong {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}
.notice p {
	margin: 0 0 8px;
}
.notice p:last-child {
	margin-bottom: 0;
}
.notice--info {
	background: #fff8e6;
	border: 1px solid #f5c842;
	color: #5a4200;
}

.content-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 20px;
	box-shadow: 0 8px 22px rgba(2, 8, 23, 0.07);
}

.content-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.divider {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 16px 0;
}

.content-card h2 {
	margin: 14px 0 6px;
	font-size: 18px;
}

/**************************************
  16. Entreprenad Table
**************************************/
.entreprenad-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.entreprenad-table th,
.entreprenad-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.entreprenad-table th {
	font-weight: 800;
	background: #eef2ff;
}
.entreprenad-table a {
	font-weight: 600;
}
.entreprenad-table tbody tr:nth-child(even) {
	background: rgba(238, 242, 255, 0.199);
}

/**************************************
  17. Felanmälan Form
**************************************/
.report-form {
	display: grid;
	gap: 16px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.form-field--quarter {
	grid-column: span 1;
}

.form-field--third {
	grid-column: span 2;
}

.form-field--half {
	grid-column: span 3;
}

.form-field {
	display: grid;
	gap: 8px;
}

.form-field span {
	font-size: 14px;
	font-weight: 700;
}

.form-field .req {
	color: #c0392b;
	font-weight: 700;
}

.form-required-note {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 14px;
}

.form-required-note span {
	color: #c0392b;
	font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 12px;
	font: inherit;
	color: var(--text);
	background: #fff;
}

.form-field textarea {
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: 2px solid rgba(37, 99, 235, 0.35);
	outline-offset: 1px;
}

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

.form-help {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.form-actions {
	display: flex;
	justify-content: flex-end;
}

.report-honey {
	display: none !important;
}

.form-error {
	font-size: 13px;
	color: #dc2626;
	margin-top: -4px;
}

/**************************************
  18. Responsive (Global)
**************************************/
@media (max-width: 980px) {
	.grid-2 {
		grid-template-columns: 1fr;
	}
	.contact-panel {
		grid-template-columns: 1fr;
	}

	.hero-content {
		padding: 96px 0 68px;
	}
	.hero-slider {
		height: 520px;
	}

	.docs-grid {
		grid-template-columns: 1fr;
	}

	.board-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.nav-menu {
		position: absolute;
		right: 20px;
		top: 64px;
		width: min(320px, calc(100vw - 40px));
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding: 12px;
		background: var(--panel);
		border: 1px solid var(--line);
		border-radius: 16px;
		box-shadow: var(--shadow-soft);
		display: none;
	}
	.nav-menu.is-open {
		display: flex;
	}
	.nav-link {
		padding: 10px 12px;
	}

	.hero-slider {
		height: 420px;
	}
	.hero-prev {
		left: 12px;
	}
	.hero-next {
		right: 12px;
	}

	.board-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/**************************************
  18. Responsive (Documents only)
**************************************/
@media (max-width: 980px) {
	.docs-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-field--quarter,
	.form-field--third,
	.form-field--half {
		grid-column: span 1;
	}

	.form-actions .btn {
		width: 100%;
	}

	.docs-grid--three {
		grid-template-columns: 1fr;
	}
}
