/* ==========================================================================
   Variabler
   ========================================================================== */
:root {
	--blue:        #1756F5;
	--blue-dk:     #0F3DB5;
	--blue-deep:   #0D1F5E;
	--orange:      #E84E1A;
	--orange-dk:   #C03A10;
	--white:       #FFFFFF;
	--off-white:   #F8F6F3;
	--sand:        #EDE8E0;
	--text:        #111111;
	--text-mid:    #3D3D3D;
	--text-muted:  #666666;
	--border:      #E2DDD6;

	--font:        'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
	--wrap:        1200px;
	--gap:         2rem;
	--radius:      6px;
	--t:           0.22s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4rem; }

/* ==========================================================================
   Tillgänglighet
   ========================================================================== */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	background: var(--blue);
	color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: 0 0 var(--radius) var(--radius);
	font-weight: 700;
	z-index: 9999;
	transition: top var(--t);
}
.skip-link:focus { top: 0; }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.site { display: flex; flex-direction: column; min-height: 100vh; max-width: 1920px; margin-inline: auto; overflow-x: clip; }
.site-main { flex: 1; }

/* ==========================================================================
   Knappar
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.8rem 1.8rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background var(--t), border-color var(--t), color var(--t), transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); box-shadow: none; }

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

.btn--orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-dk); border-color: var(--orange-dk); color: #fff; }

.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding-block: 0;
	position: sticky;
	top: 0;
	z-index: 10000;
	transition: box-shadow var(--t);
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.header-inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1rem;
	min-height: 76px;
	padding-block: 0.9rem;
}

.site-branding {
	display: flex;
	align-items: center;
	padding-inline-end: 1.5rem;
}
.site-branding a {
	text-decoration: none;
	font-size: 1.3rem;
	font-weight: 900;
	color: var(--text);
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
}
.site-branding a em { font-style: normal; color: var(--blue); }
.site-branding .custom-logo {
	max-height: 60px; /* 164px × 0.6 ≈ 98px, men visuellt passar 60px bättre i headern */
	width: auto;
	display: block;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.875rem;
}
.header-contact > div { white-space: nowrap; }
.header-contact a { color: var(--text-mid); font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.header-contact a:hover { color: var(--blue); text-decoration: none; }
.header-contact .jour {
	display: block;
	color: var(--orange);
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
}

/* Nav */
.primary-nav {
	display: flex;
	align-items: stretch;
}
.primary-nav ul {
	list-style: none;
	padding: 0;
	display: flex;
	align-items: stretch;
	gap: 0;
}
.primary-nav li {
	display: flex;
	align-items: stretch;
	position: relative;
}
.primary-nav a {
	display: flex;
	align-items: center;
	padding: 0 0.65rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-mid);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: color var(--t), border-color var(--t);
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--blue); border-bottom-color: var(--blue); text-decoration: none; }

/* Dropdown */
.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--border);
	border-top: 3px solid var(--blue);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 8px 28px rgba(0,0,0,.1);
	min-width: 200px;
	padding: 0.4rem 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	z-index: 300;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.primary-nav .sub-menu li { display: block; }
.primary-nav .sub-menu a {
	padding: 0.6rem 1.25rem;
	border-bottom: none;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	display: block;
	width: 100%;
	transition: background var(--t), color var(--t);
}
.primary-nav .sub-menu a:hover {
	background: var(--off-white);
	color: var(--blue);
	border-bottom: none;
}
/* Pil-indikator på menyposten som har dropdown */
.primary-nav .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: 5px;
	opacity: 0.5;
	transition: transform var(--t);
}
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
	opacity: 1;
}


.menu-toggle {
	display: none;
	background: none;
	border: 2px solid var(--border);
	padding: 0.45rem 0.75rem;
	border-radius: var(--radius);
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text);
	align-self: center;
	transition: border-color var(--t);
}
.menu-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* ==========================================================================
   Hero (startsida)
   ========================================================================== */
.home-hero {
	background: var(--blue-deep); /* fallback */
	color: #fff;
	padding-block: 5rem 4rem;
	position: relative;
	overflow: hidden;
}

/* Bakgrundsbild — animeras av JS-parallax */
.hero-bg {
	position: absolute;
	inset: -22% 0;
	background: url('https://dev.fartoflakt.se/wp-content/uploads/boris-misevic-qkCx0zhBVFg-unsplash-scaled.jpg') center / cover no-repeat;
	will-change: transform;
	pointer-events: none;
	z-index: 0;
}

/* Blå gradient-overlay + subtil ljusglans */
.home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
		linear-gradient(135deg, rgba(13,31,94,0.82) 0%, rgba(18,68,204,0.74) 60%, rgba(23,86,245,0.66) 100%);
	pointer-events: none;
	z-index: 1;
}

/* Dekorativt diagonalt element */
.home-hero::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0; right: 0;
	height: 60px;
	background: var(--white);
	clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
	z-index: 3;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
	z-index: 2;
	gap: 3rem;
	align-items: center;
	position: relative;
}

.hero-content { }


.hero-content h1 {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin-bottom: 1.1rem;
}
.hero-content h1 span { color: #fff; }

.hero-content p {
	font-size: 1.1rem;
	color: rgba(255,255,255,0.8);
	margin-bottom: 2rem;
	line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-actions .btn { white-space: nowrap; }

.hero-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-trust-item { text-align: left; }
.hero-trust-item strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 900;
	color: #fff;
	line-height: 1;
}
.hero-trust-item span {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Hero card (höger kolumn) */
.hero-card {
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(8px);
	border: none;
	border-radius: 12px;
	padding: 2rem;
}

.hero-card h3 {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-mid);
	margin-bottom: 1.25rem;
}

.hero-services-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.hero-services-list li a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: var(--off-white);
	border-radius: var(--radius);
	color: var(--text);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--t), transform var(--t);
}

.hero-services-list li a:hover {
	background: var(--sand);
	transform: translateX(4px);
	text-decoration: none;
}

.hero-services-list .icon {
	width: 32px; height: 32px;
	background: #EEF2FF;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hero-services-list .icon svg {
	width: 16px; height: 16px;
	stroke: var(--blue);
}

/* ==========================================================================
   Delade sektionstilar
   ========================================================================== */
.section { padding-block: 5rem; }
.section--alt { background: var(--off-white); }
.section--sand { background: var(--sand); }

/* Parallax-bakgrund */
.section--parallax {
	position: relative;
	overflow: hidden;
	background: transparent;
}
.parallax-bg {
	position: absolute;
	inset: -28% 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
	pointer-events: none;
}
.parallax-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(248, 246, 243, 0.78);
}
.section--parallax > .container {
	position: relative;
	z-index: 1;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 0.6rem;
}
.section-header h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--text);
	margin-bottom: 0.75rem;
}
.section-header p {
	font-size: 1.05rem;
	color: var(--text-muted);
	max-width: 540px;
	margin-inline: auto;
	line-height: 1.7;
}

/* ==========================================================================
   Tjänstekort
   ========================================================================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.service-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0;
	transition: border-color var(--t), box-shadow var(--t), transform 0.2s ease;
	text-decoration: none;
	color: var(--text);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.service-card-img {
	height: 180px;
	overflow: hidden;
	flex-shrink: 0;
}
.service-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}
.service-card:hover .service-card-img img {
	transform: scale(1.06);
}

.service-card-body {
	padding: 1.5rem 1.75rem 1.75rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service-card:hover {
	border-color: var(--blue);
	box-shadow: 0 8px 32px rgba(23, 86, 245, 0.1);
	transform: translateY(-3px);
	text-decoration: none;
	color: var(--text);
}

.service-icon {
	width: 52px; height: 52px;
	background: #EEF2FF;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	transition: background var(--t);
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--blue); transition: stroke var(--t); }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--text);
}
.service-card p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0;
}
.service-card .card-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--blue);
	margin-top: auto;
	padding-top: 1rem;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity var(--t), transform var(--t);
}
.service-card .card-arrow svg { width: 16px; height: 16px; flex-shrink: 0; }
.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   USP / Varför oss
   ========================================================================== */
.usp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.usp-item {
	text-align: center;
	padding: 2.5rem 1.5rem;
	border-radius: 10px;
	background: var(--white);
	border: 1px solid var(--border);
}

.usp-icon {
	width: 64px; height: 64px;
	background: #EEF2FF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
}
.usp-icon svg { width: 28px; height: 28px; stroke: var(--blue); }

.usp-item h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--text);
}
.usp-item p {
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin: 0;
}

/* ==========================================================================
   Recension / Testimonial
   ========================================================================== */
.testimonial-wrap {
	max-width: 780px;
	margin-inline: auto;
	text-align: center;
}

.testimonial-quote {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.7;
	color: var(--text-mid);
	font-style: italic;
	position: relative;
	padding: 0 1rem;
	margin-bottom: 1.5rem;
}

.testimonial-quote::before {
	content: '"';
	font-size: 6rem;
	color: var(--blue);
	opacity: 0.15;
	position: absolute;
	top: -2rem;
	left: -1rem;
	font-family: Georgia, serif;
	line-height: 1;
}

.testimonial-author {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.star-row {
	display: flex;
	justify-content: center;
	gap: 0.2rem;
	margin-bottom: 1rem;
}
.star-row svg { width: 18px; height: 18px; fill: #F5A623; stroke: none; }

/* ==========================================================================
   CTA-strip
   ========================================================================== */
.home-cta {
	background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
	color: #fff;
	padding-block: 4rem;
}
.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.cta-text h2 {
	font-size: clamp(1.4rem, 2.5vw, 1.9rem);
	font-weight: 900;
	margin-bottom: 0.4rem;
}
.cta-text p {
	color: rgba(255,255,255,0.75);
	font-size: 0.95rem;
}
.cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cta-phone {
	font-size: 1.4rem;
	font-weight: 900;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
}
.cta-phone:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.cta-jour {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.55);
	display: block;
	font-weight: 600;
	margin-top: 0.1rem;
}

/* ==========================================================================
   Tjänsteorter
   ========================================================================== */
/* Karta */
.dalarna-map {
	width: 100%;
	height: 440px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
}
.map-tooltip {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 0;
	font-family: var(--font);
	font-size: 0.78rem;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	white-space: nowrap;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.map-tooltip::before { display: none; }
.map-tooltip:has(.map-tooltip-link:hover) {
	border-color: var(--blue);
	box-shadow: 0 3px 12px rgba(23,86,245,.2);
}
.map-tooltip-link {
	display: block;
	padding: 4px 10px;
	color: var(--text);
	text-decoration: none;
	transition: color 0.15s;
}
.map-tooltip-link:hover { color: var(--blue); text-decoration: none; }

/* Kontaktkarta */
.contact-map {
	margin-top: 1.5rem;
	height: 260px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
}
.contact-map-pin {
	width: 18px;
	height: 18px;
	background: var(--blue);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(23,86,245,.4);
}

/* Fallback-lista (visuellt dold, tillgänglig) */
.areas-fallback {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
	justify-content: center;
}
.areas-fallback a {
	font-size: 0.8rem;
	color: var(--text-mid);
	text-decoration: none;
	padding: 0.2rem 0.6rem;
	border: 1px solid var(--border);
	border-radius: 100px;
	transition: color var(--t), border-color var(--t);
}
.areas-fallback a:hover { color: var(--blue); border-color: var(--blue); }

/* ==========================================================================
   Sidhuvud (inner pages)
   ========================================================================== */
.page-header {
	background: linear-gradient(135deg, var(--blue-deep), var(--blue));
	color: #fff;
	padding-block: 2.75rem;
}
.page-header h1 {
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}
.page-header p {
	color: rgba(255,255,255,0.7);
	font-size: 0.95rem;
}

/* ==========================================================================
   Brödsmulor
   ========================================================================== */
.breadcrumb {
	background: var(--off-white);
	border-bottom: 1px solid var(--border);
	padding-block: 0.7rem;
	font-size: 0.82rem;
}
.breadcrumb__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before { content: '›'; margin-right: 0.3rem; color: var(--border); }
.breadcrumb__item a { color: var(--text-muted); }
.breadcrumb__item a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb__item--current { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Entry-content (generiska sidor)
   ========================================================================== */
.page-content { padding-block: 3.5rem; }

/* ==========================================================================
   Tjänstesida — länkgalleri
   ========================================================================== */
.services-link-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.service-link-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--white);
	text-decoration: none;
	color: var(--text);
	transition: box-shadow var(--t), transform var(--t);
}
.service-link-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,.1);
	transform: translateY(-3px);
	text-decoration: none;
}
.service-link-card__img {
	overflow: hidden;
	line-height: 0;
}
.service-link-card__img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.service-link-card:hover .service-link-card__img img {
	transform: scale(1.04);
}
.service-link-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.75rem;
}
.service-link-card__body h2 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
}
.service-link-card__cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--blue);
}
@media (max-width: 1024px) {
	.services-link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.services-link-grid { grid-template-columns: 1fr; }
}

.entry-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1rem; }
.entry-content h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; margin-top: 2.25rem; margin-bottom: 0.75rem; color: var(--text); }
.entry-content h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.5rem; color: var(--text-mid); }
.entry-content p { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content a { color: var(--blue); font-weight: 600; }
.entry-content strong, .entry-content b { font-weight: 700; }
.entry-content img { border-radius: var(--radius); margin-block: 1.5rem; }
.entry-content iframe { border-radius: var(--radius); margin-block: 1.5rem; max-width: 100%; }

/* Serviceinnehåll med sidbild */
.content-with-aside {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
	align-items: start;
}
.content-aside {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.75rem;
	position: sticky;
	top: 90px;
}
.content-aside h3 {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 1rem;
}
.content-aside .cta-box-phone {
	font-size: 1.4rem;
	font-weight: 900;
	color: var(--blue);
	text-decoration: none;
	display: block;
	margin-bottom: 0.25rem;
}
.content-aside .btn { width: 100%; text-align: center; justify-content: center; margin-top: 1rem; }
.content-aside p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }

/* ==========================================================================
   Landningssidor
   ========================================================================== */
.landing-hero {
	background: linear-gradient(135deg, var(--blue-deep), var(--blue));
	color: #fff;
	padding-block: 2.75rem;
	border-bottom: 4px solid var(--blue);
}
.landing-hero h1 {
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	margin-bottom: 0.35rem;
}
.landing-hero__sub { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

.landing-content { padding-block: 2.5rem; }

.landing-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	align-items: start;
}

.landing-cta-box {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-left: 4px solid var(--blue);
	border-radius: var(--radius);
	padding: 1.75rem;
	position: sticky;
	top: 90px;
}
.landing-cta-box h3 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--text);
}
.landing-cta-box p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.landing-cta-box .btn { width: 100%; text-align: center; justify-content: center; }
.landing-cta-box .cta-phone {
	display: block;
	font-size: 1.3rem;
	font-weight: 900;
	color: var(--blue);
	text-decoration: none;
	margin-bottom: 0.75rem;
}
.landing-cta-box .cta-phone:hover { color: var(--blue-dk); text-decoration: none; }

/* ==========================================================================
   Kontaktsida
   ========================================================================== */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	padding-block: 3rem;
}
.contact-info { }
.contact-info h2 {
	font-size: 1.3rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 3px solid var(--blue);
}
.contact-detail {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.25rem;
	align-items: flex-start;
}
.contact-detail-icon {
	width: 40px; height: 40px;
	background: #EEF2FF;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--blue); }
.contact-detail-text { font-size: 0.9rem; line-height: 1.7; color: var(--text-mid); }
.contact-detail-text strong { display: block; color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-detail-text a { color: var(--blue); font-weight: 600; }

/* CF7-formulär — namn + e-post på samma rad */
.wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}
.wpcf7-form p:has(textarea),
.wpcf7-form p:has([type="submit"]),
.wpcf7-form p:has([type="tel"]) {
	grid-column: 1 / -1;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 0.95rem;
	color: var(--text);
	background: var(--white);
	transition: border-color var(--t), box-shadow var(--t);
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(23, 86, 245, 0.1);
	outline: none;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--text-mid); }
.wpcf7 p { margin-bottom: 1rem; }
.wpcf7 input[type="submit"] {
	background: var(--blue);
	color: #fff;
	border: none;
	padding: 0.85rem 2rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--t);
	width: auto;
}
.wpcf7 input[type="submit"]:hover { background: var(--blue-dk); }

/* ==========================================================================
   Galleri
   ========================================================================== */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.75rem;
	padding-block: 2rem;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ==========================================================================
   Tacksida / 404
   ========================================================================== */
.tack-wrap, .error-404 {
	text-align: center;
	padding-block: 6rem;
}
.tack-wrap h1, .error-404 h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	color: var(--blue);
	margin-bottom: 1rem;
}
.tack-wrap p, .error-404 p { color: var(--text-muted); margin-bottom: 2rem; }

/* ==========================================================================
   Hero-bild ovanför rubriken (tjänstesidor)
   ========================================================================== */
.page-hero-image {
	width: 100%;
	overflow: hidden;
	line-height: 0;
}
.page-hero-image img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	object-position: center 40%;
	display: block;
}

/* ==========================================================================
   Bildgalleri i höger kolumn (tjänstesidor)
   ========================================================================== */
.content-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 1.5rem;
	border-radius: 10px;
	overflow: hidden;
}
.content-gallery figure {
	margin: 0;
	overflow: hidden;
	line-height: 0;
}
/* Udda antal: sista bilden tar full bredd */
.content-gallery figure:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}
/* Bara en bild */
.content-gallery figure:only-child {
	grid-column: 1 / -1;
}
.content-gallery figure img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
/* Sista bilden (full bredd) får lite mer höjd */
.content-gallery figure:last-child:nth-child(odd) img,
.content-gallery figure:only-child img {
	height: 180px;
}
.content-gallery figure:hover img {
	transform: scale(1.04);
}

.content-cta-box { padding-top: 0.25rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 0; }

/* Pre-footer CTA */
.footer-pre {
	background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
	padding-block: 3rem;
	color: #fff;
}
.footer-pre-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.footer-pre-text h2 {
	font-size: clamp(1.3rem, 2.5vw, 1.8rem);
	font-weight: 800;
	margin-bottom: 0.3rem;
}
.footer-pre-text p {
	color: rgba(255,255,255,0.7);
	font-size: 0.95rem;
}
.footer-pre-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}
.footer-pre-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.01em;
}
.footer-pre-phone:hover { color: rgba(255,255,255,0.85); text-decoration: none; }

/* Huvud-footer */
.footer-main {
	background: #0D0D0D;
	padding-block: 4rem 3rem;
	color: rgba(255,255,255,0.7);
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
}

.footer-logo {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.02em;
	margin-bottom: 0.9rem;
}
.footer-logo em { font-style: normal; color: #fff; }
.footer-brand p {
	font-size: 0.875rem;
	line-height: 1.75;
	color: rgba(255,255,255,0.45);
	max-width: 270px;
	margin-bottom: 1.25rem;
}
.footer-social {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.12);
	padding: 0.4rem 0.9rem;
	border-radius: 100px;
	transition: color var(--t), border-color var(--t);
}
.footer-social:hover { color: #fff; border-color: rgba(255,255,255,0.35); text-decoration: none; }

.footer-col h4 {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.3);
	margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a {
	color: rgba(255,255,255,0.6);
	font-size: 0.875rem;
	text-decoration: none;
	transition: color var(--t);
}
.footer-col ul a:hover { color: var(--blue); }
.footer-address {
	font-size: 0.85rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.6);
	margin-top: 1.25rem;
	margin-bottom: 0.75rem;
}
.footer-hours {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.6;
}
.footer-hours small { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* Footer-botten */
.footer-bottom-wrap {
	background: #080808;
	padding-block: 1.25rem;
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.78rem;
	color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--t); }
.footer-bottom a:hover { color: var(--blue); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: rgba(0, 0, 0, 0.93);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}
.lightbox-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}
.lb-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: calc(100vw - 8rem);
	max-height: 92vh;
}
.lb-img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 8px 48px rgba(0,0,0,0.6);
	transition: opacity 0.18s ease;
}
.lb-close {
	position: absolute;
	top: -2.5rem;
	right: 0;
	background: none;
	border: none;
	color: rgba(255,255,255,0.7);
	cursor: pointer;
	padding: 0.35rem;
	line-height: 0;
	transition: color 0.15s;
}
.lb-close:hover { color: #fff; }
.lb-prev,
.lb-next {
	flex-shrink: 0;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	color: rgba(255,255,255,0.75);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s, color 0.18s;
	line-height: 0;
}
.lb-prev:hover,
.lb-next:hover {
	background: rgba(255,255,255,0.16);
	color: #fff;
}
.content-gallery img { cursor: zoom-in; }

/* ==========================================================================
   Gallerisida
   ========================================================================== */
.page-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.gallery-item {
	border-radius: 8px;
	cursor: zoom-in;
	background: var(--white);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	border: 1px solid var(--border);
	overflow: hidden;
}
.gallery-item-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex-shrink: 0;
	width: 100%;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.gallery-item figcaption {
	display: block;
	width: 100%;
	flex-shrink: 0;
}
.gallery-item:hover .gallery-item-img img,
.gallery-item:focus .gallery-item-img img {
	transform: scale(1.06);
}
.gallery-item:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.gallery-item figcaption {
	padding: 0.5rem 0.75rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-mid);
	line-height: 1.35;
	background: var(--white);
}

/* Bildtext i lightbox */
.lb-caption {
	padding: 0.75rem 0.5rem 0.25rem;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}
.lb-caption-title {
	display: block;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
}
.lb-caption-desc {
	display: block;
	color: rgba(255,255,255,0.6);
	font-size: 0.82rem;
	margin-top: 0.2rem;
}

/* Knappar — SVG-ikonstorlek (N78) */
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Sidinlägg utan galleri — full bredd (N76) */
.content-single { max-width: 760px; }
.content-cta-inline {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
}

/* Off-canvas mobilmeny — backdrop (N83: mob-nav-footer dold på desktop) */
.mob-nav-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(13,31,94,0.55);
	z-index: 9997;
}
.mob-nav-backdrop.is-open { display: block; }

/* Close-knapp + nav-footer — dolda på desktop */
.mob-nav-close { display: none; }
.mob-nav-footer { display: none; }

/* ==========================================================================
   Scroll-animeringar
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Responsivt
   ========================================================================== */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-card { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.content-with-aside { grid-template-columns: 1fr; }
	.content-aside { position: static; }
	.landing-grid { grid-template-columns: 1fr; }
	.landing-cta-box { position: static; }
	.page-hero-image img { height: 320px; }
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }

	/* Off-canvas mobilmeny */
	.primary-nav {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(300px, 88vw);
		background: var(--white);
		box-shadow: -6px 0 32px rgba(0,0,0,0.18);
		padding: 4.5rem 1.5rem 2rem;
		transform: translateX(110%);
		transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
		display: flex !important;
		flex-direction: column;
		overflow-y: auto;
		z-index: 9998;
		border-top: none;
	}
	.primary-nav.is-open { transform: translateX(0); }

	.primary-nav ul { list-style: none; padding: 0; flex-direction: column; gap: 0; display: flex; }
	.primary-nav li { display: block; }
	.primary-nav > ul > li > a {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--border);
		font-weight: 700;
		font-size: 1rem;
		color: var(--text);
		border-left: none;
	}
	.primary-nav > ul > li > a:hover { color: var(--blue); text-decoration: none; }
	.primary-nav .menu-item-has-children > a::after { float: right; }
	.primary-nav .menu-item:last-child > a { margin: 0; }

	/* Undermeny mobil — accordion */
	.primary-nav .sub-menu {
		position: static;
		opacity: 1;
		transform: none;
		visibility: visible;
		box-shadow: none;
		border: none;
		background: var(--off-white);
		padding: 0.25rem 0 0.5rem 1rem;
		min-width: 0;
		border-radius: 0;
		display: none;
	}
	.primary-nav .sub-menu.is-open { display: block; }
	.primary-nav .sub-menu a {
		padding: 0.6rem 0;
		font-size: 0.9rem;
		font-weight: 600;
		color: var(--text-mid);
		border-bottom: 1px solid var(--border);
		display: block;
		border-left: none;
	}

	/* Stäng-knapp */
	.mob-nav-close {
		display: flex;
		position: absolute;
		top: 1rem;
		right: 1.25rem;
		width: 36px; height: 36px;
		align-items: center; justify-content: center;
		background: var(--sand);
		border: 1px solid var(--border);
		border-radius: 50%;
		cursor: pointer;
		color: var(--text);
		z-index: 1;
	}

	/* Kontaktinfo i mobilmenyn */
	.mob-nav-footer {
		margin-top: auto;
		padding-top: 1.5rem;
		border-top: 1px solid var(--border);
		font-size: 0.85rem;
		display: flex;
		flex-direction: column;
		gap: 0.35rem;
	}
	.mob-nav-footer > * {
		margin: 0;
		padding: 0;
		text-align: left;
		align-self: stretch;
	}
	.mob-nav-footer a { color: var(--text-mid); font-weight: 600; text-decoration: none; padding-left: 0; }
	.mob-nav-footer a:hover { color: var(--blue); }
	.mob-nav-jour-label { color: var(--orange); font-weight: 700; margin-bottom: -0.25rem !important; }
	.mob-nav-jour-label + a { color: var(--orange); }
	.mob-nav-phone-label { color: var(--text-mid); font-weight: 700; margin-bottom: -0.25rem !important; }

	.site-header { position: relative; }
	.header-contact { display: none; }

	.usp-grid { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; gap: 2rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-pre-inner { flex-direction: column; align-items: flex-start; }

	/* Hero trust-stats: 2×2 grid (N79) */
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.home-cta { display: none; } /* dölj på mobil — footer-CTA täcker behovet (N80) */

	.home-hero { padding-block: 3.5rem 3rem; }
	.section { padding-block: 3.5rem; }
	.page-hero-image img { height: 240px; }
}

@media (max-width: 480px) {
	:root { --gap: 1.25rem; }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.footer-pre-actions { flex-direction: column; align-items: flex-start; width: 100%; }
	.footer-pre-actions .btn { width: 100%; justify-content: center; }
	.page-hero-image img { height: 190px; }
	.wpcf7-form { grid-template-columns: 1fr; }
}
