/* =====================================================================
   Hinaus Lähdekorpi — landing page design system
   Scoped to .lk-page so it never leaks into other pages or site chrome.
   Built to dress native WordPress CORE blocks (group/columns/cover/
   buttons/list/image/heading/paragraph) — every element stays editable.
   ===================================================================== */

.lk-page {
	--lk-red: #e11a1a;
	--lk-red-dark: #b81212;
	--lk-red-tint: #fcebeb;
	--lk-ink: #121316;
	--lk-surface: #ffffff;
	--lk-neutral: #f4f4f3;
	--lk-neutral-2: #ececea;
	--lk-line: #e4e4e2;
	--lk-text: #121316;
	--lk-muted: #6a6e76;
	--lk-gold: #f5a623;
	--lk-radius: 12px;
	--lk-radius-sm: 8px;
	--lk-shadow-sm: 0 1px 2px rgba(18, 19, 22, 0.05);
	--lk-shadow: 0 1px 2px rgba(18, 19, 22, 0.05), 0 14px 34px -18px rgba(18, 19, 22, 0.22);
	--lk-shadow-lg: 0 1px 2px rgba(18, 19, 22, 0.06), 0 30px 60px -28px rgba(18, 19, 22, 0.34);
	--lk-gutter: clamp(20px, 5vw, 56px);
	--lk-section-y: clamp(60px, 8.5vw, 108px);
	--lk-phone-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1L6.6 10.8z'/%3E%3C/svg%3E");
	--lk-phone-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e11a1a' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.3 1L6.6 10.8z'/%3E%3C/svg%3E");

	font-family: "Lato", system-ui, sans-serif;
	color: var(--lk-text);
	font-size: 17px;
	line-height: 1.6;
}

/* ---- This page only: drop the theme title + flush the hero to header ---- */
.page-id-118 .wp-block-post-title { display: none; }
.page-id-118 main { margin-top: 0 !important; }
.page-id-118 main > .wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ---- Layout helpers ---- */
.lk-page * { box-sizing: border-box; }
.lk-section { padding-block: var(--lk-section-y); }

/* WordPress applies a global 1.2rem "Block spacing" (blockGap, inherited from
   Twenty Twenty-Five's theme.json) as a top margin between sibling blocks.
   Each section owns its own vertical rhythm via padding, so remove the gap
   between the top-level sections — the coloured bands sit flush. */
.lk-page.is-layout-constrained > * { margin-block-start: 0; margin-block-end: 0; }
.lk-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--lk-gutter);
	width: 100%;
}
.lk-measure { max-width: 720px; margin-inline: auto; }
.lk-center { text-align: center; }

/* ---- Section band colours (self-contained; independent of the WP palette) ---- */
.lk-page .lk-section--red,
.lk-page .lk-final-cta {
	background: var(--lk-red);
	color: #fff;
}
.lk-page .lk-services,
.lk-page .lk-valueprops,
.lk-page .lk-partners {
	background: var(--lk-neutral);
}
.lk-page .lk-section--red :where(h1, h2, h3, h4, h5, h6),
.lk-page .lk-final-cta :where(h1, h2, h3, h4, h5, h6) { color: #fff; }

/* ---- Type ---- */
.lk-page p { margin: 0 0 1em; line-height: 1.6; }
.lk-page p:last-child { margin-bottom: 0; }

.lk-eyebrow {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--lk-red);
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.lk-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: currentColor;
	display: inline-block;
	flex: 0 0 auto;
}
.lk-eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.lk-eyebrow--center { justify-content: center; }
.lk-eyebrow--norule::before { display: none; }

.lk-page .lk-display {
	font-family: "Fugaz One", "Arial Narrow", sans-serif;
	font-weight: 400;
	line-height: 0.96;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	margin: 0 0 22px;
	font-size: clamp(44px, 7.4vw, 104px);
}
.lk-page .lk-h2 {
	font-family: "Fugaz One", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1.06;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 22px;
}
.lk-lead {
	font-size: clamp(17px, 1.25vw, 19px);
	color: var(--lk-muted);
	line-height: 1.65;
}

/* ---- Buttons (core/button) ---- */
.lk-page .wp-block-buttons { gap: 14px; }
.lk-page .lk-btn .wp-block-button__link {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 15px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	padding: 16px 26px;
	border-radius: var(--lk-radius);
	border: 1.5px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.lk-btn-red .wp-block-button__link {
	background: var(--lk-red);
	color: #fff;
	box-shadow: 0 10px 22px -12px rgba(225, 26, 26, 0.85);
}
.lk-btn-red .wp-block-button__link:hover {
	background: var(--lk-red-dark);
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -14px rgba(225, 26, 26, 0.9);
}
.lk-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--lk-ink);
	border-color: var(--lk-ink);
}
.lk-btn-outline .wp-block-button__link:hover {
	background: var(--lk-ink);
	color: #fff;
	transform: translateY(-2px);
}
.lk-btn-ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.lk-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.lk-btn-lg .wp-block-button__link { padding: 20px 34px; font-size: 17px; }
/* phone glyph before call buttons */
.lk-btn-phone .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--lk-phone-white) center/contain no-repeat;
	flex: 0 0 auto;
}
/* arrow after "read more" outline buttons */
.lk-btn-arrow .wp-block-button__link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121316' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	flex: 0 0 auto;
}
.lk-btn-arrow .wp-block-button__link:hover::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* call link (text link with phone glyph) */
.lk-page .lk-calllink a,
.lk-page a.lk-calllink {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 14px;
	color: var(--lk-red);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	text-decoration: none;
}
.lk-page .lk-calllink a::before {
	content: "";
	width: 16px;
	height: 16px;
	background: var(--lk-phone-red) center/contain no-repeat;
	flex: 0 0 auto;
}

/* ---- Safety-tape chevron divider (CSS-only, rendered atop the intro band) ---- */
.lk-page .lk-intro { position: relative; }
.lk-page .lk-intro::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10px;
	box-sizing: border-box;
	background: repeating-linear-gradient(135deg, var(--lk-red) 0 17px, #fff 17px 34px);
	border-bottom: 1px solid var(--lk-line);
}

/* ---- Star ratings ---- */
.lk-stars { color: var(--lk-gold); letter-spacing: 2px; font-size: 17px; line-height: 1; margin: 0 0 14px; }
.lk-stars--lg { font-size: 26px; }

/* =====================================================================
   HERO (core/cover)
   ===================================================================== */
.lk-page .lk-hero { min-height: clamp(540px, 78vh, 760px); color: #fff; }
.lk-page .lk-hero .wp-block-cover__inner-container { width: 100%; }
.lk-hero-inner { max-width: 720px; padding-block: clamp(48px, 7vw, 92px); }
.lk-page .lk-hero .lk-display { margin-bottom: 22px; line-height: 1.04; }
.lk-hero-sub {
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	max-width: 580px;
	margin-bottom: 30px !important;
}
.lk-hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.lk-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.92); }
.lk-trust-item .lk-stars { margin: 0; }
.lk-trust-item strong { font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.02em; }
.lk-trust-badge {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	padding: 7px 14px;
	margin: 0;
}

/* =====================================================================
   INTRO band
   ===================================================================== */
.lk-intro .lk-h2 { margin: 0 0 26px; }
.lk-intro p { color: var(--lk-muted); font-size: clamp(16px, 1.15vw, 18px); }
.lk-statrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.lk-stat {
	display: flex !important;
	align-items: center;
	gap: 12px;
	background: var(--lk-surface);
	border: 1px solid var(--lk-line);
	border-radius: 999px;
	padding: 11px 20px 11px 14px;
	box-shadow: var(--lk-shadow-sm);
	flex-direction: row !important;
}
.lk-stat .lk-stat-n { font-family: "Fugaz One", sans-serif; font-size: 24px; color: var(--lk-red); line-height: 1; margin: 0; }
.lk-stat .lk-stat-t { font-size: 14px; color: var(--lk-muted); text-align: left; line-height: 1.25; margin: 0; }

/* =====================================================================
   SERVICES grid
   ===================================================================== */
.lk-svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.lk-svc-head .lk-h2 { max-width: 14ch; margin: 0; }
.lk-svc-head .lk-eyebrow { margin-bottom: 14px; }
.lk-page .lk-svc-grid { gap: 22px; }
.lk-svc-card {
	background: var(--lk-surface);
	border: 1px solid var(--lk-line);
	border-radius: var(--lk-radius);
	padding: 34px 30px 30px !important;
	box-shadow: var(--lk-shadow-sm);
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lk-svc-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--lk-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.lk-svc-card:hover { transform: translateY(-4px); box-shadow: var(--lk-shadow); border-color: transparent; }
.lk-svc-card:hover::before { transform: scaleX(1); }
.lk-svc-index { font-family: "Fugaz One", sans-serif; font-size: 40px; color: var(--lk-neutral-2); line-height: 1; margin: 0 0 18px; transition: color 0.2s ease; }
.lk-svc-card:hover .lk-svc-index { color: var(--lk-red); }
.lk-page .lk-h-card {
	font-family: "Lato", sans-serif;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.12;
	font-size: clamp(20px, 1.5vw, 24px);
	margin: 0 0 12px;
}
.lk-svc-card p { color: var(--lk-muted); font-size: 15.5px; margin-bottom: 22px; }
.lk-svc-card .lk-calllink { margin-top: auto; }

/* =====================================================================
   MEDIA + TEXT (area + pricing) — built from core/columns
   ===================================================================== */
.lk-page .lk-mediatext { gap: clamp(32px, 5vw, 76px); align-items: center; }
.lk-mediatext .lk-media-img,
.lk-mediatext .lk-media-img img {
	border-radius: var(--lk-radius);
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 380px;
}
.lk-mediatext .lk-media-img { margin: 0; overflow: hidden; }
.lk-mediatext .lk-h2 { margin-bottom: 22px; }
.lk-mediatext .lk-body p { color: var(--lk-muted); }
.lk-section--red .lk-mediatext .lk-body p,
.lk-section--red p { color: rgba(255, 255, 255, 0.9); }

.lk-area-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 28px 0 0 !important;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 28px;
	max-width: 460px;
}
.lk-area-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.01em;
}
.lk-area-list li::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
	flex: 0 0 auto;
}

.lk-price-callout {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 16px;
	background: var(--lk-red-tint);
	border: 1px solid #f3cccc;
	border-radius: var(--lk-radius);
	padding: 16px 22px !important;
	margin-bottom: 26px;
	width: auto;
}
.lk-price-callout .lk-price-big { font-family: "Fugaz One", sans-serif; font-size: 34px; color: var(--lk-red); line-height: 0.9; margin: 0; }
.lk-price-callout .lk-price-lbl { font-size: 14px; color: var(--lk-text); line-height: 1.3; max-width: 22ch; margin: 0; }

/* =====================================================================
   VALUE PROPS
   ===================================================================== */
.lk-page .lk-vp-grid { gap: clamp(24px, 3vw, 46px); margin-top: 8px; }
.lk-vp { padding-top: 26px !important; border-top: 3px solid var(--lk-ink); }
.lk-vp .lk-vp-num {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.16em;
	color: var(--lk-red);
	text-transform: uppercase;
	margin: 0 0 14px;
	display: block;
}
.lk-page .lk-vp h3 {
	font-family: "Lato", sans-serif;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.2;
	font-size: 21px;
	margin: 0 0 14px;
}
.lk-vp p { color: var(--lk-muted); font-size: 15.5px; }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.lk-rev-head { display: flex; align-items: center; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.lk-rev-score { display: flex !important; flex-direction: row !important; align-items: center; gap: 18px; }
.lk-rev-score .lk-rev-num { font-family: "Fugaz One", sans-serif; font-size: 68px; line-height: 0.8; color: var(--lk-ink); margin: 0; }
.lk-rev-score .lk-rev-meta { display: flex; flex-direction: column; gap: 5px; }
.lk-rev-score .lk-stars { margin: 0 0 3px; }
.lk-rev-score .lk-rev-cnt { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; line-height: 1.1; margin: 0; }
.lk-rev-headcta { margin-left: auto; }
.lk-page .lk-rev-grid { gap: 18px; }
.lk-rev-card {
	background: var(--lk-surface);
	border: 1px solid var(--lk-line);
	border-radius: var(--lk-radius);
	padding: 24px 22px !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: var(--lk-shadow-sm);
}
.lk-rev-card .lk-stars { margin-bottom: 14px; }
.lk-page .lk-rev-card h4 { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px; margin: 0 0 10px; text-transform: none; letter-spacing: 0; }
.lk-rev-card .lk-rev-quote { color: var(--lk-muted); font-size: 14.5px; flex: 1; }
.lk-rev-card .lk-rev-by {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--lk-line);
	font-size: 13px;
	color: var(--lk-muted);
	display: flex;
	justify-content: space-between;
}
.lk-rev-card .lk-rev-by strong { color: var(--lk-text); font-weight: 600; }

/* =====================================================================
   PARTNERS
   ===================================================================== */
.lk-partners .lk-measure { margin-bottom: 46px; }
.lk-partners .lk-lead { margin-bottom: 26px; }
.lk-logo-strip {
	display: grid !important;
	grid-template-columns: repeat(8, 1fr);
	gap: 18px;
	align-items: center;
	border-block: 1px solid var(--lk-line);
	padding-block: 30px;
}
.lk-logo-strip .lk-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.02em;
	color: #9a9ea6;
	text-align: center;
	filter: grayscale(1);
	transition: color 0.2s ease;
	margin: 0;
}
.lk-logo-strip .lk-logo:hover { color: var(--lk-ink); }
.lk-logo-note { text-align: center; font-size: 12.5px; color: var(--lk-muted); margin-top: 16px; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.lk-final-cta { text-align: center; }
.lk-page .lk-final-cta .lk-display { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 14px; }
.lk-final-cta p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; margin: 0 auto 30px; font-size: 17px; }
.lk-page .lk-final-phone a,
.lk-page a.lk-final-phone {
	font-family: "Fugaz One", sans-serif;
	font-size: clamp(40px, 5.5vw, 72px);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	letter-spacing: 0.01em;
	text-decoration: none;
	line-height: 1;
}
.lk-page .lk-final-phone a::before {
	content: "";
	width: 0.9em;
	height: 0.9em;
	background: var(--lk-phone-white) center/contain no-repeat;
	flex: 0 0 auto;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
	.lk-page .lk-svc-grid { grid-template-columns: repeat(2, 1fr); }
	.lk-page .lk-rev-grid { grid-template-columns: repeat(2, 1fr); }
	.lk-logo-strip { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
}
@media (max-width: 860px) {
	.lk-page .lk-vp-grid { gap: 0; }
	.lk-vp { padding-block: 24px; }
	.lk-area-list { max-width: none; }
}
@media (max-width: 600px) {
	.lk-page .lk-svc-grid { grid-template-columns: 1fr; }
	.lk-page .lk-rev-grid { grid-template-columns: 1fr; }
	.lk-logo-strip { grid-template-columns: repeat(2, 1fr); }
	.lk-rev-headcta { margin-left: 0; width: 100%; }
}

/* =====================================================================
   SITE FOOTER (template part) — matches the Lähdekorpi design.
   Site-wide chrome: NOT scoped to .lk-page. Loaded in editor + front end.
   ===================================================================== */
.lk-footer {
	background: #121316;
	color: rgba(255, 255, 255, 0.7);
	padding: clamp(56px, 7vw, 84px) 0 30px;
	font-family: "Lato", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}
.lk-footer * { box-sizing: border-box; }
/* neutralise WordPress blockGap inside the footer — spacing is explicit */
.lk-footer :where(.is-layout-flow) > *,
.lk-footer :where(.is-layout-constrained) > * { margin-block-start: 0; }
.lk-footer-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 56px);
}
.lk-footer .lk-footer-top {
	gap: 40px !important;
	padding-bottom: 44px;
	margin-bottom: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	align-items: flex-start;
}
.lk-footer .lk-footer-logo { margin: 0 0 18px; }
.lk-footer .lk-footer-logo img { height: 48px; width: auto; max-width: none; }
.lk-footer-brand p { max-width: 42ch; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin: 0; }
.lk-footer .lk-footer-h {
	font-family: "Oswald", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 13px;
	color: #fff;
	margin: 0 0 18px;
}
.lk-footer-col p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.lk-footer-col a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.15s ease; }
.lk-footer-col a:hover { color: #fff; }
.lk-footer-col .lk-footer-phone { margin-bottom: 16px; }
.lk-footer-col .lk-footer-phone a {
	font-family: "Fugaz One", sans-serif;
	font-size: 30px;
	color: #fff;
	letter-spacing: 0.01em;
	display: inline-block;
}
.lk-footer .lk-footer-bottom {
	padding-top: 26px;
	gap: 12px 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}
.lk-footer .lk-footer-bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 781px) {
	.lk-footer .lk-footer-top { gap: 32px !important; }
}

/* =====================================================================
   SHARED: real insurer-logo strip (used on the home + service pages)
   ===================================================================== */
.lk-page .lk-logos {
	gap: clamp(22px, 4vw, 48px) !important;
	align-items: center;
	justify-content: center;
	border-block: 1px solid var(--lk-line);
	padding-block: 30px;
	margin-top: 8px;
}
.lk-page .lk-logos .wp-block-image { margin: 0; }
.lk-page .lk-logos img {
	height: 34px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	display: block;
}

/* =====================================================================
   SERVICE PAGE (Hinauspalvelu) — reuses landing components + extras
   ===================================================================== */
/* hero heading: a touch smaller than the home display */
.lk-page .lk-svc-h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; margin-bottom: 20px; }
.lk-page .lk-svc-hero { padding-bottom: clamp(40px, 5vw, 64px); }

/* call band: safety-tape stripe sits flush at the hero's bottom edge, with
   the phone pill straddling the boundary (overlapping up into the hero). */
.lk-page .lk-callband {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-block: 0;
}
.lk-page .lk-callband::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 10px;
	background: repeating-linear-gradient(135deg, var(--lk-red) 0 17px, #fff 17px 34px);
	border-block: 1px solid var(--lk-line);
	z-index: 0;
}
.lk-page .lk-callband .wp-block-buttons {
	position: relative;
	z-index: 1;
	margin: -30px 0 32px;
}
/* white ring so the pill separates cleanly from the safety-tape stripe */
.lk-page .lk-callband .wp-block-button__link {
	box-shadow: 0 0 0 5px #fff, 0 14px 28px -14px rgba(225, 26, 26, 0.85);
}
.lk-page .lk-btn-pill .wp-block-button__link { border-radius: 999px; }

/* dark info boxes */
.lk-page .lk-infobox-grid { gap: 22px; align-items: stretch; }
.lk-page .lk-darkbox {
	background: var(--lk-ink);
	color: rgba(255, 255, 255, 0.82);
	border-radius: var(--lk-radius);
	padding: clamp(28px, 4vw, 44px);
	height: 100%;
	box-shadow: var(--lk-shadow);
}
.lk-page .lk-darkbox .lk-box-h {
	font-family: "Fugaz One", "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: #fff;
	margin: 0 0 22px;
}
.lk-darkbox p { color: rgba(255, 255, 255, 0.82); }
.lk-darkbox a { color: #fff; }

/* city link list */
.lk-page .lk-citylist {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
}
.lk-citylist li { margin: 0; }
.lk-page .lk-citylist a {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	font-size: 17px;
	letter-spacing: 0.01em;
	color: #fff;
	text-decoration: none;
	transition: color 0.15s ease, gap 0.15s ease;
}
.lk-citylist a::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lk-red);
	flex: 0 0 auto;
}
.lk-citylist a:hover { color: var(--lk-red); gap: 15px; }
/* city list on a red band: white bullets, lighter hover */
.lk-page .lk-section--red .lk-citylist a { color: #fff; }
.lk-page .lk-section--red .lk-citylist a::before { background: #fff; }
.lk-page .lk-section--red .lk-citylist a:hover { color: rgba(255, 255, 255, 0.8); }

/* single, centered dark box (used on city pages) */
.lk-page .lk-darkbox--center { max-width: 820px; margin-inline: auto; }

/* "order a tow" steps list */
.lk-page .lk-steps { margin: 0 0 26px; padding-left: 1.15em; color: rgba(255, 255, 255, 0.82); }
.lk-page .lk-steps li { margin: 0 0 8px; }
.lk-page .lk-steps ul { margin: 8px 0 0; }
@media (max-width: 600px) {
	.lk-page .lk-citylist { grid-template-columns: 1fr; }
}

/* plain (non-link) city items inside lk-citylist — e.g. contact service-area list */
.lk-page .lk-citylist li:not(:has(a)) {
	display: flex;
	align-items: center;
	font-weight: 600;
	color: inherit;
}
.lk-page .lk-citylist li:not(:has(a))::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 12px;
	background: var(--lk-red);
	flex: 0 0 auto;
}
.lk-page .lk-section--red .lk-citylist li:not(:has(a))::before { background: #fff; }

/* ---- team / contact cards (Yhteystiedot) ---- */
.lk-page .lk-team {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 8px;
	align-items: start;
}
/* neutralize WP blockGap margin that pushes cards 2..n down within their grid cell */
.lk-page .lk-team > * { margin-block-start: 0 !important; margin-top: 0 !important; }
.lk-page .lk-team-card {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.lk-page .lk-team-avatar { margin: 0 0 8px; width: 120px; }
.lk-page .lk-team-avatar img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	background: #ececec;
}
.lk-page .lk-team-name { font-size: 1.1rem; margin: 0; }
.lk-page .lk-team-role { color: var(--lk-red); font-style: italic; margin: 0 0 4px; }
.lk-page .lk-team-contact { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.lk-page .lk-team-contact a { color: inherit; text-decoration: none; word-break: break-word; }
.lk-page .lk-team-contact a:hover { color: var(--lk-red); text-decoration: underline; }
@media (max-width: 900px) { .lk-page .lk-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lk-page .lk-team { grid-template-columns: 1fr; } }














/* ============================================================
   HINAUS IHALAINEN — site design system (.ih-*)
   Brand: red #db1529 / header red #d20505 / dark #1b1b1b
   Fonts: Catamaran (display) + Roboto (body), self-hosted
   ============================================================ */

@font-face{font-family:"Catamaran";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/catamaran-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Catamaran";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/catamaran-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Catamaran";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/catamaran-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"RobotoIH";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/roboto-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"RobotoIH";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/roboto-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"RobotoIH";src:url("/wp-content/themes/hinaus-lahdekorpi/assets/fonts/roboto-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --ih-red:#db1529;
  --ih-red-dark:#d20505;
  --ih-red-deep:#a80f1f;
  --ih-dark:#1b1b1b;
  --ih-dark2:#262626;
  --ih-light:#f4f5f6;
  --ih-line:#e3e5e8;
  --ih-body:#3d4044;
  --ih-max:1180px;
  --ih-display:"Catamaran","Oswald",system-ui,sans-serif;
  --ih-text:"RobotoIH","Lato",system-ui,sans-serif;
}

/* ---------- page shell ---------- */
.ih-page{font-family:var(--ih-text);color:var(--ih-body);line-height:1.68;font-size:1.02rem}
.ih-page h1,.ih-page h2,.ih-page h3,.ih-page h4,.ih-page h5{font-family:var(--ih-display);color:var(--ih-dark);line-height:1.14;letter-spacing:-.01em}
.ih-page a{color:var(--ih-red);text-underline-offset:3px}
.ih-page a:hover{color:var(--ih-red-deep)}
.ih-page p{margin:0 0 1.05em}
/* ---------- kill the global 1.2rem block gap ----------
   WP global styles emit, AFTER this stylesheet:
       :root :where(.is-layout-flow) > *{margin-block-start:1.2rem;margin-block-end:0}
       :where(.wp-site-blocks) > *     {margin-block-start:1.2rem;margin-block-end:0}
   `:where()` adds no specificity but the leading `:root` does, so that first rule is
   (0,1,0) — a TIE with a plain `.ih-page > *`, and ties are decided by source order,
   which WP wins. That inserted a 1.2rem white strip between every full-bleed section
   and between <main> and the footer. Beat it on specificity (0,2,0), not order. */
:root .ih-page>*{margin-block-start:0;margin-block-end:0}
:root .wp-site-blocks>*{margin-block-start:0;margin-block-end:0}
/* Same tie hits every single-class `>*{margin-block-start:0}` reset below. Grid
   containers are the worst case: an inherited 1.2rem shifts items down inside their
   own cells. `:is()` takes the highest specificity in its list, so this is (0,3,0). */
:root .ih-page :is(.ih-rev-grid,.ih-rev,.ih-svc6,.ih-note,.ih-sos,.ih-cta-band,.ih-tiles6,.ih-tiles,.ih-duo,.ih-band,.ih-shero,.ih-phead)>*{margin-block-start:0}
:root .ih-footer>*{margin-block-start:0}
:root .ih-footer .wp-block-column>*{margin-block-start:0}
/* WP's rule also declares `margin-block-end:0`, which wins the same tie against a
   component's `margin:0 0 1rem` shorthand and collapses the space UNDER headings and
   paragraphs. Restore readable bottom spacing at (0,2,0). */
:root .ih-page :is(h1,h2,h3,h4,h5){margin-block-end:.9rem}
:root .ih-page p{margin-block-end:1.05em}
:root .ih-page :is(ul,ol){margin-block-end:1.2rem}
:root .ih-page .ih-eyebrow{margin-block-end:.25rem}
:root .ih-page .ih-rule{margin-block-end:1.4rem}
:root .ih-footer p{margin-block-end:.85rem}
:root .ih-footer h5{margin-block-end:1rem}
.wp-site-blocks{display:flex;flex-direction:column;min-height:100vh}
.wp-site-blocks>main,.wp-site-blocks>main>.wp-block-group,.wp-block-post-content,.ih-page{flex:1 0 auto}
.ih-page>*:last-child{flex:0 0 auto}

/* ---------- section frame ----------
   Centring is done with GRID, not `margin-inline:auto`. Any component rule that
   uses a `margin:` shorthand (e.g. `.ih-shead{margin:0 0 1rem}`) would silently
   reset auto inline margins and shove the content to the left edge; a grid track
   cannot be overridden that way. */
.ih-section{width:100%;padding:clamp(3rem,6vw,5rem) clamp(1.1rem,4vw,2rem);
  display:grid;grid-template-columns:minmax(0,var(--ih-max));justify-content:center}
.ih-section.is-narrow{grid-template-columns:minmax(0,860px)}
.ih-section.is-light{background:var(--ih-light)}
.ih-section.is-white{background:#fff}
.ih-section.is-dark{background:var(--ih-dark);color:#dcdee1}
.ih-section.is-dark h2,.ih-section.is-dark h3,.ih-section.is-dark h4{color:#fff}

/* ---------- section heading ---------- */
.ih-eyebrow{font-family:var(--ih-display);font-weight:600;font-size:1.05rem;letter-spacing:.4px;color:var(--ih-red);text-transform:capitalize;margin:0 0 .25rem}
.ih-shead{font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:900;margin:0 0 1rem}
.ih-rule{border:0;border-top:4px solid var(--ih-red);width:64px;margin:0 0 1.4rem!important;opacity:1}
.ih-rule.is-center{margin-inline:auto!important}

/* ---------- buttons ---------- */
.ih-btn .wp-block-button__link,
a.ih-btn{
  display:inline-block;font-family:var(--ih-display);font-weight:700;text-transform:uppercase;
  font-size:1.02rem;letter-spacing:.4px;line-height:1.5;padding:1rem 2.1rem;border-radius:50px;
  background:var(--ih-red);color:#fff;border:3px solid var(--ih-red);text-decoration:none;
  transition:background .18s,color .18s,transform .18s;
}
.ih-btn .wp-block-button__link:hover,a.ih-btn:hover{background:#fff;color:var(--ih-red);transform:translateY(-2px)}
.ih-btn.is-white .wp-block-button__link{background:#fff;color:var(--ih-red);border-color:#fff}
.ih-btn.is-white .wp-block-button__link:hover{background:var(--ih-red);color:#fff;border-color:#fff}
.ih-btn.is-ghost .wp-block-button__link{background:transparent;color:#fff;border-color:#fff}
.ih-btn.is-ghost .wp-block-button__link:hover{background:#fff;color:var(--ih-red)}
/* phone glyph on call buttons — CSS mask so it inherits the text colour */
.ih-btn-call .wp-block-button__link::before{
  content:"";display:inline-block;width:1em;height:1em;margin-right:.6em;vertical-align:-.12em;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/></svg>") center/contain no-repeat;
}

/* ---------- HOME hero ---------- */
.ih-hero{position:relative;min-height:clamp(460px,72vh,760px);display:flex;align-items:flex-end;
  background:#333 center/cover no-repeat;padding:clamp(2rem,6vw,4.5rem) clamp(1.1rem,4vw,2.5rem)}
.ih-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,.05) 45%,rgba(0,0,0,.55) 100%)}
.ih-hero>*{position:relative;z-index:1;width:100%;max-width:var(--ih-max);margin-inline:auto}
/* sub-page hero: image + dark gradient, centred stack (matches the live Elementor hero) */
.ih-shero{position:relative;min-height:clamp(380px,58vh,620px);
  display:grid;grid-template-columns:minmax(0,var(--ih-max));justify-content:center;align-content:center;
  background:#222 center/cover no-repeat;padding:clamp(3.5rem,8vw,6rem) clamp(1.1rem,4vw,2rem);text-align:center}
.ih-shero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#151515 0%,rgba(78,78,78,.5) 60%)}
.ih-shero>*{position:relative;z-index:1}
.ih-shero .ih-shero-logo{margin:0 0 1.6rem}
.ih-shero .ih-shero-logo img{height:clamp(48px,6vw,78px);width:auto}
.ih-shero h1{color:#fff;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:-1.6px;
  font-size:clamp(1.9rem,4.6vw,3.2rem);margin:0 0 1.6rem;line-height:1.1}
.ih-shero p{color:#e9eaec;max-width:780px;margin:0 auto 1.6rem;font-size:1.06rem}
.ih-shero .wp-block-buttons{justify-content:center}
.ih-shero--hp{background-image:url("/wp-content/uploads/2026/07/269881118_1021507121746303_5564773859287965814_n.jpg")}
.ih-shero--hamina{background-image:url("/wp-content/uploads/2026/07/71868850_406267513393782_7553814370820554752_n-e1653576130621.jpg")}
.ih-shero--fleet{background-image:url("/wp-content/uploads/2026/07/hinausihalainen.jpg")}
.ih-shero--romu{background-image:url("/wp-content/uploads/2026/07/2020_1-Hin-min.jpg")}
.ih-shero--kotka{background-image:url("/wp-content/uploads/2026/07/Hinauspalvelu-kotka-3-1024x764-1.webp")}
.ih-shero--kouvola{background-image:url("/wp-content/uploads/2026/07/Hinauspalvelu-kouvola-1024x576-1.webp")}

/* ---------- six image service tiles (live design) ---------- */
.ih-tiles6{padding:0;display:block}
.ih-tiles6 .wp-block-columns{gap:0!important;margin:0;max-width:none}
.ih-tiles6 .wp-block-column{position:relative;display:flex;align-items:center;justify-content:center;
  min-height:clamp(190px,20vw,290px);padding:1.5rem;background:#333 center/cover no-repeat;overflow:hidden}
.ih-tiles6 .wp-block-column>*{margin-block-start:0;position:relative;z-index:1}
.ih-tiles6 .wp-block-column::before{content:"";position:absolute;inset:0;background:rgba(10,10,10,.52);transition:background .3s}
.ih-tiles6 .wp-block-column:hover::before{background:rgba(10,10,10,.12)}
.ih-tiles6 h3{margin:0;text-align:center;font-family:var(--ih-display);font-weight:900;font-style:italic;
  text-transform:uppercase;letter-spacing:-1.6px;color:#fff;font-size:clamp(1.35rem,2.4vw,2rem);line-height:1.1;
  text-shadow:0 2px 12px rgba(0,0,0,.5)}
.ih-tiles6 h3 a{color:#fff;text-decoration:none}
.ih-tiles6 h3 a:hover{color:#fff;text-decoration:underline}
/* These MUST be qualified with `.ih-tiles6 .wp-block-column` (0,3,0). The base rule
   above is (0,2,0) and uses a `background:` SHORTHAND, which resets background-image
   to none — a bare `.ih-t-*` (0,1,0) loses and every tile renders as flat #333. */
.ih-tiles6 .wp-block-column.ih-t-hinaukset{background-image:url("/wp-content/uploads/2026/07/2019-Hin-min.jpg");background-position:top center}
.ih-tiles6 .wp-block-column.ih-t-kuljetukset{background-image:url("/wp-content/uploads/2026/07/2020-Hin-min.jpg");background-position:top center}
.ih-tiles6 .wp-block-column.ih-t-kaynnistykset{background-image:url("/wp-content/uploads/2026/07/cropped-icon9.jpg")}
.ih-tiles6 .wp-block-column.ih-t-romu{background-image:url("/wp-content/uploads/2026/07/2021-Hin-min.jpg");background-position:bottom center}
.ih-tiles6 .wp-block-column.ih-t-tie{background-image:url("/wp-content/uploads/2026/07/2020_2-Hin-min.jpg")}
.ih-tiles6 .wp-block-column.ih-t-kone{background-image:url("/wp-content/uploads/2026/07/Koneenkuljetukset-Kotka-Hamina-Pyhtaa.jpg")}

/* ---------- text + photo split band (live section 2) ---------- */
.ih-duo{padding:0}
.ih-duo .wp-block-columns{gap:0!important;margin:0;max-width:none;align-items:stretch}
.ih-duo .wp-block-column{margin-block-start:0}
.ih-duo .ih-duo-text{padding:clamp(2.5rem,5vw,4.5rem) clamp(1.4rem,5vw,4rem);background:#fff}
.ih-duo .ih-duo-text>*{margin-block-start:0}
.ih-duo .ih-duo-photo{min-height:clamp(260px,32vw,520px);background:#333 center bottom/cover no-repeat}
.ih-duo--fleet .ih-duo-photo{background-image:url("/wp-content/uploads/2026/07/hinausihalainen.jpg")}
.ih-duo--icon9 .ih-duo-photo{background-image:url("/wp-content/uploads/2026/07/icon9.jpg");background-position:center}
.ih-hero h1{
  display:inline-block;max-width:min(760px,100%);
  background:rgba(2,1,1,.62);color:#fff;font-weight:900;
  font-size:clamp(1.3rem,2.4vw,1.75rem);line-height:1.35;
  padding:1.35rem 1.8rem;border-radius:60px;margin:0 0 1.4rem;
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
}
@media(max-width:700px){.ih-hero h1{border-radius:34px;padding:1rem 1.25rem}}

/* ---------- red service tiles ---------- */
.ih-tiles{padding:0}
.ih-tiles .wp-block-columns{gap:0!important;margin:0;max-width:none}
.ih-tiles .wp-block-column{background:var(--ih-red);padding:clamp(2.4rem,5vw,4.2rem) clamp(1.5rem,4vw,3.5rem);
  display:flex;flex-direction:column;justify-content:center;gap:.35rem}
.ih-tiles .wp-block-column:nth-child(2){background:var(--ih-red-deep)}
.ih-tiles .wp-block-column>*{margin-block-start:0}
.ih-tiles h2{
  font-family:var(--ih-display);font-weight:900;font-style:italic;text-transform:uppercase;
  letter-spacing:-1.6px;color:#fff;font-size:clamp(1.55rem,3.1vw,2.5rem);line-height:1.12;margin:0
}
.ih-tiles h2 a{color:#fff;text-decoration:none;transition:opacity .18s}
.ih-tiles h2 a:hover{color:#fff;opacity:.72;text-decoration:underline}
@media(max-width:781px){.ih-tiles .wp-block-column{padding:2rem 1.5rem}}

/* ============================================================
   SERVICE CARDS (front page) — modern replacement for the flat red tiles
   ============================================================ */
.ih-svc-band{background:#161618}
.ih-svc-band .ih-eyebrow{color:#ff5d6b}
.ih-svc-band .ih-shead{color:#fff}
.ih-svc-band>.ih-lead{color:#a9adb3;max-width:640px}

.ih-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.15rem}
/* MUST be (0,2,0): WP's `:root :where(.is-layout-flow) > *{margin-block-start:1.2rem}`
   is (0,1,0) and beats a bare `.ih-svc-grid > *` on source order. In a grid that
   margin offsets each item INSIDE its own cell, so :first-child sat flush while
   cards 2 and 3 dropped ~19px — the tops looked ragged. */
:root .ih-svc-grid>*{margin-block-start:0}

.ih-svc-card{
  position:relative;display:flex;flex-direction:column;
  background:#202023;
  border:1px solid rgba(255,255,255,.075);border-radius:16px;
  padding:2.1rem 1.8rem 1.6rem;overflow:hidden;
  transition:transform .45s cubic-bezier(.22,.61,.36,1),border-color .45s ease,
             box-shadow .45s ease,background-color .45s ease;
}
:root .ih-svc-card>*{margin-block-start:0}
/* red accent rule that grows across the card on hover */
.ih-svc-card::before{
  content:"";position:absolute;top:0;left:0;height:3px;width:42px;
  background:var(--ih-red);
  transition:width .5s cubic-bezier(.22,.61,.36,1);
}
.ih-svc-card:hover,.ih-svc-card:focus-within{
  transform:translateY(-7px);background:#26262a;border-color:rgba(219,21,41,.5);
  box-shadow:0 24px 48px rgba(0,0,0,.5);
}
.ih-svc-card:hover::before,.ih-svc-card:focus-within::before{width:100%}

.ih-svc-card h3{
  font-family:var(--ih-display);font-weight:900;font-style:italic;text-transform:uppercase;
  letter-spacing:-1.1px;line-height:1.08;color:#fff;
  font-size:clamp(1.25rem,1.7vw,1.6rem);margin:0 0 .7rem;
}
.ih-svc-card h3 a{color:#fff;text-decoration:none}
/* whole card is clickable, but the markup stays a plain native heading link */
.ih-svc-card h3 a::after{content:"";position:absolute;inset:0;z-index:2}
.ih-svc-card h3 a:hover{color:#fff}
.ih-svc-card p{color:#a4a8ae;font-size:.96rem;line-height:1.62;margin:0 0 1.1rem}
.ih-svc-card .ih-svc-more{position:relative;z-index:3;margin:auto 0 0;font-family:var(--ih-display);font-weight:700}
.ih-svc-card .ih-svc-more a{
  color:#ff5d6b;text-decoration:none;font-size:.94rem;letter-spacing:.4px;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:.5rem;
}
.ih-svc-card .ih-svc-more a::after{
  content:"";width:1.05em;height:1.05em;background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/></svg>") center/contain no-repeat;
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
}
.ih-svc-card:hover .ih-svc-more a::after{transform:translateX(5px)}
/* the one service without its own page reads as a statement, not a dead link */
.ih-svc-card.is-static h3{color:#f1f2f4}
@media(max-width:1000px){.ih-svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.ih-svc-grid{grid-template-columns:1fr}.ih-svc-card{padding:1.7rem 1.4rem 1.3rem}}

/* ---------- scroll reveal (class toggled by custom-scripts.js) ---------- */
@media (prefers-reduced-motion:no-preference){
  .ih-js .ih-reveal{
    opacity:0;transform:translateY(24px);
    transition:opacity .75s cubic-bezier(.22,.61,.36,1),transform .75s cubic-bezier(.22,.61,.36,1);
    will-change:opacity,transform;
  }
  .ih-js .ih-reveal.is-visible{opacity:1;transform:none}
  /* stagger so the grid assembles instead of popping */
  .ih-svc-grid>.ih-reveal:nth-child(1){transition-delay:.02s}
  .ih-svc-grid>.ih-reveal:nth-child(2){transition-delay:.09s}
  .ih-svc-grid>.ih-reveal:nth-child(3){transition-delay:.16s}
  .ih-svc-grid>.ih-reveal:nth-child(4){transition-delay:.23s}
  .ih-svc-grid>.ih-reveal:nth-child(5){transition-delay:.30s}
  .ih-svc-grid>.ih-reveal:nth-child(6){transition-delay:.37s}
}
/* hover/lift is motion too — drop it for reduced-motion users */
@media (prefers-reduced-motion:reduce){
  .ih-svc-card,.ih-svc-card::before,.ih-svc-card::after,.ih-svc-card .ih-svc-more a::after{transition:none}
  .ih-svc-card:hover{transform:none}
}

/* ---------- image band with white gradient (Kymenlaakso) ---------- */
.ih-band{position:relative;background:#ddd center left/cover no-repeat;padding:0;
  display:grid;grid-template-columns:minmax(0,var(--ih-max));justify-content:center}
.ih-band::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,0) 30%,#fff 62%)}
.ih-band .wp-block-columns{position:relative;z-index:1;
  min-height:600px;align-items:center;gap:0!important;padding:clamp(2.5rem,6vw,5rem) clamp(1.1rem,4vw,2rem)}
.ih-band--sub{background-image:url("/wp-content/uploads/2026/07/Romuauto-maksuton-kuljetus-Hamina-jpg.webp")}
.ih-band--romu{background-image:url("/wp-content/uploads/2026/07/1600-x-900.jpg")}
.ih-band .wp-block-column>*{margin-block-start:0}
.ih-band .wp-block-column:last-child{padding-left:clamp(0rem,4vw,3rem)}
@media(max-width:900px){
  .ih-band::before{background:linear-gradient(180deg,rgba(255,255,255,.25) 0%,#fff 42%)}
  .ih-band .wp-block-columns{min-height:0;padding-top:14rem}
  .ih-band .wp-block-column:last-child{padding-left:0}
}
.ih-band-h{font-size:clamp(2rem,4vw,3rem);font-weight:900;margin:0 0 1.1rem}

/* ---------- sub-page header band ---------- */
.ih-phead{position:relative;background:var(--ih-dark) center/cover no-repeat;
  padding:clamp(3.4rem,8vw,6rem) clamp(1.1rem,4vw,2rem);text-align:center;
  display:grid;grid-template-columns:minmax(0,var(--ih-max));justify-content:center}
.ih-phead::after{content:"";position:absolute;inset:0;background:rgba(12,12,12,.62)}
.ih-phead>*{position:relative;z-index:1}
.ih-phead h1{color:#fff;font-weight:900;font-size:clamp(2rem,5vw,3.4rem);margin:0 0 1rem;text-transform:uppercase;font-style:italic;letter-spacing:-1.2px}
.ih-phead p{color:#e6e7e9;max-width:760px;margin-inline:auto;font-size:1.06rem}
.ih-phead .ih-rule{margin-inline:auto!important}
.ih-phead .wp-block-buttons{justify-content:center;margin-top:1.6rem}

/* ---------- 6-service grid ---------- */
.ih-svc6{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:var(--ih-max);margin-inline:auto}
.ih-svc6>*{margin-block-start:0}
.ih-svc6 h3{
  margin:0;background:#fff;border:1px solid var(--ih-line);border-left:5px solid var(--ih-red);
  border-radius:8px;padding:1.15rem 1.3rem;font-size:1.12rem;font-weight:700;
  box-shadow:0 1px 3px rgba(0,0,0,.05);transition:transform .18s,box-shadow .18s
}
.ih-svc6 h3:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.09)}
.ih-svc6 h3 a{text-decoration:none;color:var(--ih-dark)}
.ih-svc6 h3 a:hover{color:var(--ih-red)}
@media(max-width:900px){.ih-svc6{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ih-svc6{grid-template-columns:1fr}}

/* ---------- info / note card ---------- */
.ih-note{background:#fff;border:1px solid var(--ih-line);border-top:5px solid var(--ih-red);border-radius:12px;
  padding:clamp(1.5rem,3vw,2.2rem);box-shadow:0 2px 10px rgba(0,0,0,.05);max-width:var(--ih-max);margin-inline:auto}
.ih-note>*{margin-block-start:0}
.ih-note h3{margin:0 0 .6rem;font-size:1.35rem;font-weight:900}
.ih-note p:last-of-type{margin-bottom:0}

/* ---------- split (text + image) ---------- */
.ih-split{max-width:var(--ih-max);margin-inline:auto;align-items:center;gap:clamp(1.5rem,4vw,3rem)}
.ih-split .wp-block-column>*{margin-block-start:0}
.ih-split figure{margin:0}
.ih-split img{width:100%;height:auto;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.14)}

/* ---------- SOS partner strip ---------- */
.ih-sos{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;margin:1.4rem 0 0}
.ih-sos>*{margin-block-start:0}
.ih-sos figure{margin:0}
.ih-sos img{height:56px;width:auto}

/* ---------- checklist ---------- */
.ih-check{list-style:none;padding:0;margin:0 0 1.2rem}
.ih-check li{position:relative;padding-left:2rem;margin:0 0 .6rem}
.ih-check li::before{
  content:"";position:absolute;left:0;top:.42em;width:1.15rem;height:1.15rem;border-radius:50%;
  background:var(--ih-red);
  -webkit-mask:none;
}
.ih-check li::after{
  content:"";position:absolute;left:.3rem;top:.62em;width:.55rem;height:.3rem;
  border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)
}

/* ---------- insurer links ---------- */
.ih-insurers{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;list-style:none;padding:0;
  max-width:var(--ih-max);margin:0 auto}
.ih-insurers li{margin:0}
.ih-insurers li a{
  display:block;background:#fff;border:1px solid var(--ih-line);border-radius:8px;padding:.85rem 1rem;
  font-weight:500;font-size:.97rem;text-decoration:none;color:var(--ih-dark);transition:border-color .18s,color .18s,transform .18s
}
.ih-insurers li a:hover{border-color:var(--ih-red);color:var(--ih-red);transform:translateY(-2px)}
@media(max-width:900px){.ih-insurers{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ih-insurers{grid-template-columns:1fr}}

/* ---------- reviews ----------
   NOTE: .ih-reviews sits on the SECTION element, so it must NOT set max-width —
   that capped the whole grey band at content width and left white gutters. */
.ih-rev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.ih-rev-grid>*{margin-block-start:0}
.ih-rev{background:#fff;border:1px solid var(--ih-line);border-radius:12px;padding:1.4rem 1.5rem;
  box-shadow:0 2px 10px rgba(0,0,0,.05)}
.ih-rev>*{margin-block-start:0}
.ih-rev .ih-stars{color:#f5a623;letter-spacing:2px;font-size:1.05rem;margin:0 0 .5rem}
.ih-rev p{font-size:.97rem;margin:0 0 .7rem}
.ih-rev .ih-rev-name{font-family:var(--ih-display);font-weight:700;color:var(--ih-dark);font-size:.98rem;margin:0}
@media(max-width:900px){.ih-rev-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ih-rev-grid{grid-template-columns:1fr}}

/* ---------- red CTA band ----------
   Grid-centred; the h2/p margin shorthands below would otherwise cancel any
   `margin-inline:auto` and push the block to the left. */
.ih-cta-band{background:var(--ih-red);color:#fff;text-align:center;
  padding:clamp(2.6rem,5vw,4rem) clamp(1.1rem,4vw,2rem);
  display:grid;grid-template-columns:minmax(0,860px);justify-content:center}
.ih-cta-band>*{margin-block-start:0}
.ih-cta-band h2{color:#fff;font-size:clamp(1.6rem,3.2vw,2.3rem);font-weight:900;margin:0 auto .7rem}
.ih-cta-band p{color:#ffe4e6;margin:0 auto 1.4rem}
.ih-cta-band .wp-block-buttons{justify-content:center}

/* ---------- trust block ---------- */
/* Always demarcated with a red top rule + its own tint, because the preceding
   section is sometimes also .is-light (city pages end with the insurer list). */
.ih-section.ih-trust{background:#eceef1;border-top:4px solid var(--ih-red)}
.ih-trust .ih-eyebrow{text-transform:uppercase;letter-spacing:1.4px;font-size:.92rem}
.ih-trust h2,.ih-trust h3{font-size:clamp(1.7rem,3.2vw,2.4rem);font-weight:900;margin:0 0 1.1rem}
/* safety net: two same-tone sections in a row still get a visible seam */
.ih-section.is-light+.ih-section.is-light,
.ih-section.is-white+.ih-section.is-white{border-top:1px solid var(--ih-line)}

/* ---------- background image variants ---------- */
.ih-hero--home{background-image:url("/wp-content/uploads/2026/07/hinausihalainen.jpg")}
.ih-band--home{background-image:url("/wp-content/uploads/2026/07/1600-x-900.jpg")}
.ih-phead--default{background-image:url("/wp-content/uploads/2026/07/IMG20230316144329-scaled-1.jpg")}
.ih-phead--tie{background-image:url("/wp-content/uploads/2026/07/Hinaus-Kotka-Hinauspalvelu-Pyhtaa-Hamina-Kymenlaakso-Paivytys.jpg")}
.ih-phead--kotka{background-image:url("/wp-content/uploads/2026/07/Hinauspalvelu-kotka-3-1024x764-1.webp")}
.ih-phead--kouvola{background-image:url("/wp-content/uploads/2026/07/Hinauspalvelu-kouvola-1024x576-1.webp")}
.ih-phead--raskas{background-image:url("/wp-content/uploads/2026/07/2020-Hin-min.jpg")}

/* ============================================================
   HEADER  (red bar, white logo)
   ============================================================ */
.ih-headwrap{background:var(--ih-red-dark)!important}
.ih-headwrap .wp-block-group.has-base-background-color{background:var(--ih-red-dark)!important}
.ih-headwrap .logo_column img{height:46px;width:auto;object-fit:contain!important}
.ih-head-claim p{font-family:var(--ih-display);color:#fff;font-weight:500;font-size:1.02rem;line-height:1.2;margin:0;text-align:center}
.ih-head-claim .ih-head-sub{display:block;font-size:.82rem;font-weight:400;opacity:.9}
.ih-headwrap .webaula-nav a{color:#fff!important;font-family:var(--ih-display);font-weight:600}
.ih-headwrap .webaula-nav a:hover{color:#ffd7da!important}
/* dropdown panel must be dark — the plugin default is white and our links are white */
.ih-headwrap .webaula-nav .drop{background:var(--ih-dark)!important;border:0!important;border-radius:10px!important;
  box-shadow:0 14px 30px rgba(0,0,0,.28)!important;overflow:hidden;padding:.35rem 0!important}
.ih-headwrap .webaula-nav .drop a{color:#e9eaec!important;padding:.6rem 1.1rem!important}
.ih-headwrap .webaula-nav .drop a:hover{background:var(--ih-red)!important;color:#fff!important}
.ih-headwrap .main-nav .drop a.is-current{background:var(--ih-red)!important;color:#fff!important}
.ih-headwrap .nav-item.is-active>.nav-link{color:#fff!important;text-decoration:underline;text-underline-offset:6px}
/* mobile panel */
.ih-headwrap .webaula-mobile{background:var(--ih-dark)!important}
.ih-headwrap .webaula-mobile a{color:#e9eaec!important}
.ih-headwrap .webaula-mobile a:hover{color:#fff!important}
.ih-headwrap .webaula-burger span{background:#fff!important}
/* header phone button */
.ih-headwrap .nav-btn .wp-block-button__link{
  background:#fff!important;color:var(--ih-red-dark)!important;font-family:var(--ih-display);font-weight:700;
  border-radius:50px!important;padding:.7rem 1.4rem!important;white-space:nowrap
}
.ih-headwrap .nav-btn .wp-block-button__link:hover{background:var(--ih-dark)!important;color:#fff!important}
@media(max-width:900px){.ih-head-claim{display:none}}
@media(max-width:600px){
  .ih-headwrap .logo_column img{height:34px}
  .ih-headwrap .nav-btn .wp-block-button__link{padding:.6rem .9rem!important;font-size:.9rem}
}

/* ============================================================
   FOOTER (dark, white logo)
   ============================================================ */
.ih-footer{background:var(--ih-dark);color:#c9ccd1;font-family:var(--ih-text);
  padding:clamp(2.8rem,6vw,4rem) clamp(1.1rem,4vw,2rem) 1.6rem;margin-block:0!important;
  display:grid;grid-template-columns:minmax(0,var(--ih-max));justify-content:center}
.ih-footer>*{margin-block-start:0}
.ih-footer .wp-block-columns{gap:clamp(1.6rem,4vw,3rem)}
.ih-footer .wp-block-column>*{margin-block-start:0}
.ih-footer-logo{margin:0 0 1.1rem}
.ih-footer-logo img{height:52px;width:auto}
.ih-footer p{margin:0 0 .85rem;font-size:.97rem;line-height:1.65}
.ih-footer a{color:#fff;text-decoration:none}
.ih-footer a:hover{color:var(--ih-red);text-decoration:underline}
.ih-footer h5{font-family:var(--ih-display);color:#fff;font-size:1.02rem;font-weight:700;text-transform:uppercase;
  letter-spacing:1px;margin:0 0 1rem;position:relative;padding-bottom:.6rem}
.ih-footer h5::after{content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;background:var(--ih-red)}
.ih-footer-phone{font-family:var(--ih-display);font-size:1.45rem;font-weight:900;margin:0 0 .3rem}
.ih-footer-phone a{color:#fff}
.ih-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:2.2rem;padding-top:1.2rem;
  display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between}
.ih-footer-bottom p{font-size:.88rem;color:#8f949b;margin:0}
