/* Orønyt – homepage layout */
.home-page {
	--home-max: 1100px;
	--shadow: 0 4px 24px rgba(14, 52, 80, 0.08);
}

/* ── Header ── */
.home-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 3px solid var(--brand);
	box-shadow: var(--shadow);
}

.home-header__inner {
	max-width: var(--home-max);
	margin: 0 auto;
	padding: 0.75rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.home-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.home-logo img {
	height: 48px;
	width: auto;
	border-radius: 4px;
}

.home-logo__text {
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--brand-dark);
	line-height: 1.2;
}

.home-logo__text small {
	display: block;
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--muted);
}

.home-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
}

.home-nav a {
	color: var(--brand);
	text-decoration: none;
}
.home-nav a:hover { color: var(--accent); }

.home-header__cta {
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	padding: 0.55rem 1.1rem;
	background: var(--accent);
	color: var(--white);
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
}
.home-header__cta:hover {
	background: #219a52;
	color: var(--white);
	text-decoration: none;
}

/* ── Hero ── */
.home-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	background:
		linear-gradient(135deg, rgba(14, 52, 80, 0.88) 0%, rgba(26, 82, 118, 0.75) 100%),
		url("/forside162.jpg") center/cover no-repeat;
	color: var(--white);
	padding: 4rem 1.5rem;
}

.home-hero__inner {
	max-width: var(--home-max);
	margin: 0 auto;
	width: 100%;
}

.home-hero h1 {
	font-family: Montserrat, sans-serif;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	margin: 0 0 1rem;
	line-height: 1.15;
	max-width: 18ch;
}

.home-hero__lead {
	font-size: 1.15rem;
	max-width: 520px;
	margin: 0 0 1.75rem;
	opacity: 0.92;
	line-height: 1.6;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.home-hero .btn-hero {
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	padding: 0.85rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.95rem;
}

.btn-hero--primary {
	background: var(--accent);
	color: var(--white);
}
.btn-hero--primary:hover {
	background: #219a52;
	color: var(--white);
	text-decoration: none;
}

.btn-hero--ghost {
	border: 2px solid rgba(255,255,255,0.7);
	color: var(--white);
}
.btn-hero--ghost:hover {
	background: rgba(255,255,255,0.12);
	color: var(--white);
	text-decoration: none;
}

/* ── Sections ── */
.home-section {
	max-width: var(--home-max);
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

.home-section--alt {
	background: var(--white);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.home-section__title {
	font-family: Montserrat, sans-serif;
	font-size: 1.65rem;
	color: var(--brand-dark);
	margin: 0 0 0.5rem;
}

.home-section__subtitle {
	color: var(--muted);
	margin: 0 0 1.75rem;
	font-size: 1rem;
}

.home-about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.home-about__img {
	border-radius: 10px;
	box-shadow: var(--shadow);
	width: 100%;
}

@media (max-width: 768px) {
	.home-about { grid-template-columns: 1fr; }
}

/* ── Content block ── */
.home-content p {
	margin: 0 0 1rem;
}

.home-content ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

/* ── Table ── */
.home-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.home-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.home-table th,
.home-table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.home-table th {
	background: var(--brand-dark);
	color: var(--white);
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.home-table tr:last-child td { border-bottom: none; }
.home-table tr:nth-child(even) td { background: #f0f5f9; }
.home-table a { font-weight: 600; }

/* ── Benefits ── */
.home-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.home-benefit {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
	transition: transform 0.2s;
}

.home-benefit:hover { transform: translateY(-3px); }

.home-benefit__icon {
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
}

.home-benefit h3 {
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	color: var(--brand);
	margin: 0 0 0.5rem;
}

.home-benefit p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--muted);
	line-height: 1.6;
}

/* ── Quotes ── */
.home-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.home-quote {
	background: #f0f5f9;
	border-left: 4px solid var(--accent);
	border-radius: 0 10px 10px 0;
	padding: 1.25rem 1.5rem;
	margin: 0;
}

.home-quote p {
	margin: 0 0 0.75rem;
	font-style: italic;
	color: var(--text);
}

.home-quote cite {
	font-family: Montserrat, sans-serif;
	font-size: 0.85rem;
	font-style: normal;
	color: var(--muted);
}

/* ── FAQ ── */
.home-faq {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.home-faq details {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
}

.home-faq summary {
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--brand-dark);
	padding: 1rem 1.25rem;
	cursor: pointer;
	list-style: none;
}

.home-faq summary::-webkit-details-marker { display: none; }

.home-faq details[open] summary {
	background: #f0f5f9;
	border-bottom: 1px solid var(--border);
}

.home-faq__body {
	padding: 1rem 1.25rem 1.25rem;
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.65;
}

/* ── Footer ── */
.home-footer {
	background: var(--brand-dark);
	color: rgba(255,255,255,0.85);
	padding: 2.5rem 1.5rem 1.5rem;
	font-family: Montserrat, sans-serif;
	font-size: 0.875rem;
}

.home-footer__grid {
	max-width: var(--home-max);
	margin: 0 auto 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.home-footer h4 {
	color: var(--white);
	font-size: 0.9rem;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.home-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-footer li { margin-bottom: 0.4rem; }
.home-footer a { color: #a9cce3; }
.home-footer a:hover { color: var(--white); }

.home-footer__bottom {
	max-width: var(--home-max);
	margin: 0 auto;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.15);
	text-align: center;
	color: rgba(255,255,255,0.6);
	font-size: 0.8rem;
}

@media (max-width: 640px) {
	.home-nav { display: none; }
	.home-hero { min-height: 340px; padding: 2.5rem 1.5rem; }
}
