/* Heatmedia SEO Scan — huisstijl
   rood #DE2918 / hover #B92516 / terracotta #7A2818 / diep #5A1E10
   cream #FBF6EE / lichtrood #FCC3BD / tekst #2C2C2A / grijs #5F5E5A / lijnen #ECE6DC */

.hmseo {
	--hm-red: #DE2918;
	--hm-red-hover: #B92516;
	--hm-terra: #7A2818;
	--hm-deep: #5A1E10;
	--hm-cream: #FBF6EE;
	--hm-light-red: #FCC3BD;
	--hm-text: #2C2C2A;
	--hm-grey: #5F5E5A;
	--hm-line: #ECE6DC;
	font-family: 'Roboto', system-ui, sans-serif;
	color: var(--hm-text);
	line-height: 1.6;
}

.hmseo * { box-sizing: border-box; }

.hmseo-layout-card { max-width: 720px; margin: 0 auto; }

/* ============================================================
   HERO (styling 1-op-1 op de homepage-hero gebaseerd)
   ============================================================ */

/* Full-bleed: breekt uit een boxed (Elementor-)container naar 100vw. */
.hmseo-fullbleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
/* 100vw is inclusief scrollbar; voorkom een horizontale scrollbalk. */
html:has(.hmseo-fullbleed),
body:has(.hmseo-fullbleed) { overflow-x: clip; }

/* Elementor-containers hebben standaard 10px padding en een boxed
   breedte; zet die op nul rond onze full-bleed hero. */
.e-con:has(.hmseo-layout-hero),
.e-con:has(.hmseo-layout-hero) > .e-con-inner,
.elementor-section:has(.hmseo-layout-hero) > .elementor-container {
	padding: 0 !important;
	max-width: 100% !important;
}
.elementor-widget-shortcode:has(.hmseo-layout-hero) { margin: 0 !important; }

.hmseo-hero {
	position: relative;
	background:
		linear-gradient(135deg, rgba(122,40,24,0.88) 0%, rgba(60,16,8,0.92) 50%, rgba(122,40,24,0.85) 100%),
		radial-gradient(circle at 20% 30%, rgba(222,41,24,0.45) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(154,51,32,0.55) 0%, transparent 50%),
		#3C1008;
	padding: 140px 0 84px;
	overflow: hidden;
	min-height: 620px;
	display: flex;
	align-items: center;
}
.hmseo-hero::after {
	content: '';
	position: absolute;
	top: -20%;
	right: -10%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(222,41,24,0.35) 0%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.hmseo-hero-inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	position: relative;
	z-index: 2;
}

.hmseo-hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 48px;
	align-items: center;
}

.hmseo-hero-title {
	font-family: 'Oswald', sans-serif;
	font-size: 52px;
	font-weight: 600;
	line-height: 1.05;
	color: #ffffff;
	margin: 0 0 24px;
	letter-spacing: -1px;
	text-transform: none;
}
.hmseo-hero-title .hmseo-accent { color: var(--hm-light-red); }

.hmseo-hero-lead {
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	color: rgba(255,255,255,0.85);
	line-height: 1.55;
	margin: 0 0 32px;
	max-width: 480px;
}

.hmseo-hero-proof {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.hmseo-stars { color: var(--hm-light-red); font-size: 15px; letter-spacing: 2px; }
.hmseo-proof-label { font-size: 13px; color: rgba(255,255,255,0.7); font-family: 'Roboto', sans-serif; }

/* Klantlogo's (zelfde opzet als de homepage-hero) */
.hmseo-avatars { display: flex; }
.hmseo-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #4A1810;
	background: #ffffff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: -12px;
}
.hmseo-avatar:last-child { margin-right: 0; }
.hmseo-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
	box-sizing: border-box;
	display: block;
}

/* ============================================================
   Formulier
   ============================================================ */

.hmseo-form {
	background: var(--hm-cream);
	border: 1px solid var(--hm-line);
	border-radius: 14px;
	padding: 28px;
}

/* In de hero: donker glaspaneel dat in de achtergrond opgaat. */
.hmseo-layout-hero .hmseo-form {
	background: rgba(30, 8, 4, 0.35);
	border: 1px solid rgba(252, 195, 189, 0.22);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hmseo-form-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	letter-spacing: -0.5px;
	font-size: 1.5rem;
	margin: 0 0 6px;
	color: var(--hm-text);
}
.hmseo-form-sub { margin: 0 0 20px; color: var(--hm-grey); font-size: 0.95rem; }
.hmseo-layout-hero .hmseo-form-title { color: #ffffff; }
.hmseo-layout-hero .hmseo-form-sub { color: rgba(255, 255, 255, 0.7); }

.hmseo-field { margin-bottom: 14px; }

.hmseo-field label {
	display: block;
	font-weight: 500;
	margin-bottom: 5px;
	font-size: 0.9rem;
	color: var(--hm-text);
}
.hmseo-layout-hero .hmseo-field label { color: rgba(255, 255, 255, 0.85); }

/* !important: theme- en Elementor-styles op input[type=...] winnen anders
   op achtergrond, hoogte en padding (witte, hoge velden). */
.hmseo-field input {
	width: 100% !important;
	height: 40px !important;
	min-height: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid var(--hm-line) !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	font-family: 'Roboto', sans-serif !important;
	background: #fff !important;
	color: var(--hm-text) !important;
	box-shadow: none !important;
	margin: 0 !important;
}
.hmseo-layout-hero .hmseo-field input {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	color: #fff !important;
}
.hmseo-field input::placeholder { color: #9b978f; opacity: 1; }
.hmseo-layout-hero .hmseo-field input::placeholder { color: rgba(255, 255, 255, 0.5); opacity: 1; }

.hmseo-field input:focus {
	outline: 2px solid var(--hm-red);
	outline-offset: 1px;
	border-color: var(--hm-red) !important;
}
.hmseo-layout-hero .hmseo-field input:focus {
	outline-color: var(--hm-light-red);
	border-color: var(--hm-light-red) !important;
}

.hmseo-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.hmseo-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.85rem;
	color: var(--hm-grey);
	margin: 4px 0 18px;
	cursor: pointer;
}
.hmseo-consent input { margin-top: 3px; accent-color: var(--hm-red); }
.hmseo-layout-hero .hmseo-consent { color: rgba(255, 255, 255, 0.65); }

/* Knop: identiek aan de site-knoppen (Roboto 600 14px, padding 9x22, 2px rand). */
.hmseo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var(--hm-red);
	color: #fff !important;
	border: 2px solid var(--hm-red);
	border-radius: 10px;
	padding: 9px 22px;
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}
.hmseo-btn:hover { background: transparent; color: var(--hm-red) !important; }
.hmseo-btn:disabled { opacity: 0.6; cursor: wait; background: var(--hm-red); color: #fff !important; }

.hmseo-error {
	margin: 16px 0 0;
	padding: 12px 16px;
	background: var(--hm-light-red);
	color: var(--hm-deep);
	border-radius: 8px;
	font-size: 0.95rem;
}

/* ============================================================
   Voortgang
   ============================================================ */

.hmseo-progress {
	background: var(--hm-deep);
	color: #fff;
	border-radius: 14px;
	padding: 28px;
}
.hmseo-layout-hero .hmseo-progress {
	background: rgba(0, 0, 0, 0.30);
	border: 1px solid rgba(252, 195, 189, 0.25);
	backdrop-filter: blur(6px);
}

.hmseo-progress-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	letter-spacing: -0.5px;
	font-size: 1.5rem;
	margin: 0;
	color: #fff;
}

.hmseo-steps {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.hmseo-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.3s ease;
}

.hmseo-step-dot {
	width: 22px; height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
	position: relative;
}

.hmseo-steps li.active { color: #fff; }
.hmseo-steps li.active .hmseo-step-dot {
	border-color: var(--hm-light-red);
	animation: hmseo-pulse 1.2s ease-in-out infinite;
}

.hmseo-steps li.done, .hmseo-steps li.skipped { color: rgba(255, 255, 255, 0.85); }
.hmseo-steps li.done .hmseo-step-dot {
	background: var(--hm-red);
	border-color: var(--hm-red);
}
.hmseo-steps li.done .hmseo-step-dot::after {
	content: '✓';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 12px;
}
.hmseo-steps li.skipped .hmseo-step-dot { border-style: dashed; }

/* Resultaatpaneel: grote score-cirkel + contactgegevens (na de scan,
   in plaats van het formulier). */
.hmseo-result {
	background: var(--hm-cream);
	border: 1px solid var(--hm-line);
	border-radius: 14px;
	padding: 28px;
	text-align: center;
}
.hmseo-layout-hero .hmseo-result {
	background: rgba(30, 8, 4, 0.35);
	border-color: rgba(252, 195, 189, 0.22);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
}

.hmseo-result-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	letter-spacing: -0.5px;
	font-size: 1.5rem;
	margin: 0 0 18px;
	color: var(--hm-text);
}
.hmseo-layout-hero .hmseo-result-title { color: #fff; }

.hmseo-result-gauge { display: flex; justify-content: center; margin-bottom: 16px; }
.hmseo-result-gauge .hmseo-gauge { width: 150px; height: 150px; flex: 0 0 150px; }
.hmseo-layout-hero .hmseo-result-gauge .hmseo-gauge-track { stroke: rgba(255, 255, 255, 0.18); }
.hmseo-layout-hero .hmseo-result-gauge .hmseo-gauge-score { color: #fff; }
.hmseo-layout-hero .hmseo-result-gauge .hmseo-gauge-max { color: rgba(255, 255, 255, 0.6); }
.hmseo-layout-hero .hmseo-result-gauge .hmseo-gauge-bar.is-good { stroke: #4caf6d; }

.hmseo-result-sub {
	margin: 0 0 12px;
	font-size: 0.95rem;
	color: var(--hm-grey);
}
.hmseo-layout-hero .hmseo-result-sub { color: rgba(255, 255, 255, 0.75); }

.hmseo-result-contact {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.hmseo-result-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--hm-terra) !important;
	text-decoration: none !important;
}
.hmseo-result-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.hmseo-result-link:hover span { text-decoration: underline; }
.hmseo-layout-hero .hmseo-result-link { color: var(--hm-light-red) !important; }

.hmseo-result-again {
	background: none;
	border: none;
	margin-top: 8px;
	padding: 4px;
	font-family: 'Roboto', sans-serif;
	font-size: 0.85rem;
	color: var(--hm-grey);
	text-decoration: underline;
	cursor: pointer;
}
.hmseo-layout-hero .hmseo-result-again { color: rgba(255, 255, 255, 0.6); }
.hmseo-result-again:hover { color: var(--hm-text); }
.hmseo-layout-hero .hmseo-result-again:hover { color: #fff; }

@keyframes hmseo-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.25); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
	.hmseo-steps li.active .hmseo-step-dot { animation: none; }
	.hmseo-btn { transition: none; }
}

/* ============================================================
   Popup met het rapport
   ============================================================ */

.hmseo-modal {
	border: none;
	border-radius: 16px;
	padding: 0;
	width: min(780px, calc(100vw - 32px));
	max-height: 88vh;
	background: #fff;
	color: var(--hm-text);
	font-family: 'Roboto', system-ui, sans-serif;
	line-height: 1.6;
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}
.hmseo-modal[open] {
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Vaste contactbalk onderaan de popup: tekst links, drie ronde
   contact-iconen rechts. Blijft in beeld terwijl het rapport scrolt. */
.hmseo-modal-contactbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 28px;
	border-top: 1px solid var(--hm-line);
	background: var(--hm-cream);
	flex: 0 0 auto;
}
.hmseo-contactbar-text {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--hm-text);
}
.hmseo-contactbar-btns {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}
.hmseo-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--hm-line);
	color: var(--hm-red) !important;
	text-decoration: none !important;
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, color 0.2s ease;
}
.hmseo-contact-icon svg { width: 19px; height: 19px; }
.hmseo-contact-icon:hover {
	transform: translateY(-2px);
	background: var(--hm-red);
	border-color: var(--hm-red);
	color: #fff !important;
}
/* Focus op het rapport: pagina erachter donker en geblurd. */
.hmseo-modal::backdrop {
	background: rgba(30, 8, 4, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.hmseo-modal-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 28px;
	border-bottom: 1px solid var(--hm-line);
	background: #fff;
	flex: 0 0 auto;
}
.hmseo-modal-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: -0.3px;
}
.hmseo-modal-actions { display: flex; align-items: center; gap: 10px; }

.hmseo-modal-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: var(--hm-grey);
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 8px;
}
.hmseo-modal-close:hover { background: var(--hm-cream); color: var(--hm-text); }

/* Kleine knop-variant (in de modalbalk en de afgerond-balk). */
.hmseo-btn-inline {
	width: auto;
	padding: 6px 16px;
	font-size: 13px;
}

/* ============================================================
   Rapport (in de popup)
   ============================================================ */

.hmseo-report {
	padding: 28px 32px 32px;
	background: #fff;
	overflow-y: auto;
	flex: 1 1 auto;
}

@media (max-width: 640px) {
	.hmseo-report { padding: 22px 18px 24px; }
	.hmseo-modal-contactbar { padding: 10px 16px; }
	.hmseo-contactbar-text { font-size: 0.8rem; }
	.hmseo-contact-icon { width: 38px; height: 38px; }
	.hmseo-contact-icon svg { width: 17px; height: 17px; }
}

.hmseo-r-title {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	letter-spacing: -0.5px;
	font-size: 1.75rem;
	margin: 0 0 8px;
}

.hmseo-r-head {
	display: flex;
	gap: 28px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.hmseo-r-headtext { flex: 1; min-width: 260px; }
.hmseo-r-summary { margin: 0; color: var(--hm-grey); }

.hmseo-gauge { position: relative; width: 130px; height: 130px; flex: 0 0 130px; }
.hmseo-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.hmseo-gauge-track {
	fill: none;
	stroke: var(--hm-line);
	stroke-width: 10;
}

.hmseo-gauge-bar {
	fill: none;
	stroke-width: 10;
	stroke-linecap: round;
}
.hmseo-gauge-bar.is-good { stroke: #2e7d32; }
.hmseo-gauge-bar.is-ok { stroke: #e08a00; }
.hmseo-gauge-bar.is-bad { stroke: var(--hm-red); }

.hmseo-gauge-num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
}
.hmseo-gauge-score { font-size: 2.1rem; line-height: 1; }
.hmseo-gauge-max { font-size: 0.9rem; color: var(--hm-grey); margin-top: 10px; }

.hmseo-r-h {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	letter-spacing: -0.3px;
	font-size: 1.2rem;
	margin: 28px 0 14px;
	padding-top: 22px;
	border-top: 1px solid var(--hm-line);
}

.hmseo-r-issues { display: flex; flex-direction: column; gap: 12px; }

.hmseo-r-issue {
	background: var(--hm-cream);
	border: 1px solid var(--hm-line);
	border-radius: 10px;
	padding: 16px 20px;
}

.hmseo-r-issue-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.hmseo-r-issue p { margin: 0; font-size: 0.95rem; color: var(--hm-grey); }

.hmseo-badge {
	font-size: 0.75rem;
	font-weight: 500;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.hmseo-badge-hoog { background: var(--hm-red); color: #fff; }
.hmseo-badge-middel { background: var(--hm-light-red); color: var(--hm-deep); }
.hmseo-badge-laag { background: var(--hm-line); color: var(--hm-grey); }

.hmseo-r-strong { margin: 0; padding-left: 22px; }
.hmseo-r-strong li { margin-bottom: 6px; }

.hmseo-r-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.hmseo-r-metric {
	border: 1px solid var(--hm-line);
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-top: 3px solid var(--hm-line);
}
.hmseo-m-pass { border-top-color: #2e7d32; }
.hmseo-m-warn { border-top-color: #e08a00; }
.hmseo-m-fail { border-top-color: var(--hm-red); }

.hmseo-r-metric-value {
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 1.25rem;
}
.hmseo-r-metric-label { font-size: 0.8rem; color: var(--hm-grey); }

.hmseo-r-details { margin-top: 24px; }
.hmseo-r-details summary {
	cursor: pointer;
	font-weight: 500;
	color: var(--hm-terra);
	padding: 8px 0;
}
.hmseo-r-page { margin-top: 0; }
.hmseo-r-page-url {
	margin: 2px 0 6px;
	font-size: 0.8rem;
	color: var(--hm-grey);
	word-break: break-all;
}

.hmseo-r-checks { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }

.hmseo-r-check {
	display: flex;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	align-items: flex-start;
}
.hmseo-r-check:nth-child(odd) { background: var(--hm-cream); }
.hmseo-r-check strong { display: block; font-size: 0.9rem; }
.hmseo-r-check span:not(.hmseo-r-check-icon) { font-size: 0.85rem; color: var(--hm-grey); }

.hmseo-r-check-icon {
	width: 20px; height: 20px;
	flex: 0 0 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	margin-top: 2px;
}
.hmseo-c-pass .hmseo-r-check-icon { background: #2e7d32; }
.hmseo-c-warn .hmseo-r-check-icon { background: #e08a00; }
.hmseo-c-fail .hmseo-r-check-icon { background: var(--hm-red); }

.hmseo-r-conclusion {
	margin: 28px 0 0;
	padding: 18px 22px;
	background: var(--hm-cream);
	border: 1px solid var(--hm-line);
	border-radius: 10px;
	font-weight: 500;
}

.hmseo-r-cta {
	margin-top: 28px;
	padding: 28px;
	background: var(--hm-deep);
	color: #fff;
	border-radius: 12px;
	text-align: center;
}
.hmseo-r-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.9); }
.hmseo-r-cta .hmseo-btn { width: auto; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 991px) {
	.hmseo-hero { padding: 110px 0 72px; min-height: auto; }
	.hmseo-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.hmseo-hero-title { font-size: 40px; }
	.hmseo-hero-lead { max-width: none; }
}
@media (max-width: 767px) {
	.hmseo-hero { padding: 104px 0 64px; }
	.hmseo-hero-title { font-size: 36px; }
	.hmseo-hero-inner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
	.hmseo-hero { padding: 96px 0 56px; }
	.hmseo-hero-title { font-size: 30px; }
	.hmseo-hero-lead { font-size: 16px; }
	.hmseo-form, .hmseo-progress, .hmseo-report { padding: 22px; }
	.hmseo-r-head { justify-content: center; text-align: center; }
}
