/* ============================================================
   BIODRY — ANALYSIS PAGE
   Elementor widget styles
============================================================ */

.bd-analysis-page {
	--bd-red: #ff2d2d;
	--bd-red-dark: #df1515;
	--bd-ink: #101820;
	--bd-muted: #667085;
	--bd-soft: #f6f7f9;
	--bd-line: rgba(16, 24, 32, .09);
	--bd-card: #ffffff;
	--bd-radius: 28px;
	--bd-shadow: 0 24px 70px rgba(16, 24, 32, .10);
	--bd-ease: cubic-bezier(.22, 1, .36, 1);

	position: relative;
	width: 100%;
	overflow: hidden;
	background: transparent;
	padding: clamp(56px, 7vw, 96px) 20px;
	color: var(--bd-ink);
}

.bd-analysis-page *,
.bd-analysis-page *::before,
.bd-analysis-page *::after {
	box-sizing: border-box;
}

.bd-analysis-container {
	width: min(1200px, 100%);
	margin: 0 auto;
}

/* EYEBROW */
.bd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--bd-muted);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.bd-eyebrow i {
	width: 34px;
	height: 2px;
	display: block;
	background: var(--bd-red);
	border-radius: 99px;
}

/* HERO */
.bd-analysis-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(430px, 560px);
	gap: clamp(38px, 6vw, 82px);
	align-items: center;
	margin-bottom: clamp(54px, 7vw, 92px);
}

.bd-analysis-hero__content h1 {
	max-width: 660px;
	margin: 0 0 24px;
	font-size: clamp(40px, 5.2vw, 68px);
	line-height: .98;
	letter-spacing: -.045em;
	font-weight: 950;
}

.bd-analysis-hero__content p {
	max-width: 620px;
	margin: 0;
	color: var(--bd-muted);
	font-size: 18px;
	line-height: 1.75;
}

.bd-analysis-hero__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 34px;
}

/* BUTTON */
.bd-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 62px;
	padding: 0 36px;
	background: var(--bd-red);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
	clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
	box-shadow: 0 18px 44px rgba(255, 45, 45, .25);
	overflow: hidden;
	transition: transform .32s var(--bd-ease), box-shadow .32s ease, background .32s ease;
}

.bd-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .55s var(--bd-ease);
}

.bd-btn:hover {
	background: var(--bd-red-dark);
	transform: translateY(-3px);
	box-shadow: 0 24px 58px rgba(255, 45, 45, .34);
}

.bd-btn:hover::before {
	transform: translateX(120%);
}

.bd-btn span {
	transition: transform .3s var(--bd-ease);
}

.bd-btn:hover span {
	transform: translateX(5px);
}

/* PHONE */
.bd-phone {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: var(--bd-ink);
	text-decoration: none !important;
}

.bd-phone strong {
	color: var(--bd-red);
	font-size: 18px;
	font-weight: 900;
}

.bd-phone small {
	color: var(--bd-muted);
	font-size: 13px;
	font-weight: 800;
}

/* HERO VISUAL */
.bd-analysis-hero__visual {
	position: relative;
	min-height: 520px;
	border-radius: var(--bd-radius);
	overflow: hidden;
	box-shadow: var(--bd-shadow);
	isolation: isolate;
}

.bd-analysis-hero__visual img {
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
	display: block;
	transform: scale(1.04);
	transition: transform 900ms var(--bd-ease);
}

.bd-analysis-hero__visual:hover img {
	transform: scale(1.09);
}

.bd-analysis-hero__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 35%, rgba(16,24,32,.42) 100%),
		radial-gradient(circle at 80% 18%, rgba(255,45,45,.16), transparent 32%);
	pointer-events: none;
	z-index: 1;
}

.bd-scan-card {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	padding: 20px 22px 20px 58px;
	background: rgba(255,255,255,.92);
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 22px;
	backdrop-filter: blur(16px);
	box-shadow: 0 18px 50px rgba(16,24,32,.18);
}

.bd-scan-card span {
	position: absolute;
	left: 22px;
	top: 24px;
	width: 18px;
	height: 18px;
	border-radius: 99px;
	background: var(--bd-red);
	box-shadow: 0 0 0 0 rgba(255,45,45,.28);
	animation: bdPulseDot 1.8s infinite;
}

.bd-scan-card strong {
	display: block;
	font-size: 17px;
	font-weight: 900;
}

.bd-scan-card small {
	display: block;
	margin-top: 5px;
	color: var(--bd-muted);
	font-weight: 700;
}

/* DIAGNOSTICS */
.bd-diagnostics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: clamp(54px, 7vw, 90px);
}

.bd-diagnostic-item {
	position: relative;
	padding: 32px 30px;
	background: rgba(255,255,255,.86);
	border: 1px solid var(--bd-line);
	border-radius: 26px;
	box-shadow: 0 16px 44px rgba(16,24,32,.055);
	overflow: hidden;
	transition: transform .34s var(--bd-ease), box-shadow .34s ease, border-color .34s ease;
}

.bd-diagnostic-item::before {
	content: "";
	position: absolute;
	left: 30px;
	right: 30px;
	top: 0;
	height: 3px;
	background: var(--bd-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .34s var(--bd-ease);
}

.bd-diagnostic-item:hover {
	transform: translateY(-7px);
	border-color: rgba(255,45,45,.22);
	box-shadow: 0 24px 64px rgba(16,24,32,.10);
}

.bd-diagnostic-item:hover::before {
	transform: scaleX(1);
}

.bd-diagnostic-icon {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	border-radius: 16px;
	background: #fff0f0;
	color: var(--bd-red);
	font-size: 13px;
	font-weight: 950;
}

.bd-diagnostic-item h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 900;
}

.bd-diagnostic-item p {
	margin: 0;
	color: var(--bd-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* MAIN GRID - 2 COLUMNS 50/50 */
.bd-analysis-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(36px, 6vw, 80px);
	align-items: center;
	margin-bottom: clamp(54px, 7vw, 90px);
}

.bd-analysis-text h2,
.bd-section-title h2,
.bd-contact-copy h2 {
	margin: 0 0 22px;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.05;
	letter-spacing: -.035em;
	font-weight: 950;
}

.bd-analysis-text p,
.bd-contact-copy p {
	margin: 0 0 18px;
	color: var(--bd-muted);
	font-size: 17px;
	line-height: 1.78;
}

.bd-check-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 28px;
}

.bd-check-list div {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: 16px;
	font-size: 14px;
	font-weight: 850;
	box-shadow: 0 10px 30px rgba(16,24,32,.045);
}

.bd-check-list span {
	color: var(--bd-red);
	font-weight: 950;
}

/* RIGHT COLUMN IMAGE */
.bd-analysis-visual {
	position: relative;
	min-height: 460px;
	border-radius: 30px;
	overflow: hidden;
	box-shadow: var(--bd-shadow);
}

.bd-analysis-visual img {
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
	display: block;
	transition: transform 900ms var(--bd-ease);
}

.bd-analysis-visual:hover img {
	transform: scale(1.05);
}

/* PROCESS */
.bd-process-modern {
	margin-bottom: clamp(54px, 7vw, 90px);
}

.bd-section-title {
	max-width: 760px;
	margin-bottom: 34px;
}

.bd-process-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.bd-process-card {
	position: relative;
	padding: 30px 24px;
	min-height: 230px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: 24px;
	box-shadow: 0 16px 44px rgba(16,24,32,.055);
	overflow: hidden;
	transition: transform .34s var(--bd-ease), box-shadow .34s ease;
}

.bd-process-card::after {
	content: "";
	position: absolute;
	width: 130px;
	height: 130px;
	right: -60px;
	bottom: -60px;
	border-radius: 50%;
	background: rgba(255,45,45,.08);
	transition: transform .36s var(--bd-ease);
}

.bd-process-card:hover {
	transform: translateY(-7px);
	box-shadow: 0 24px 64px rgba(16,24,32,.10);
}

.bd-process-card:hover::after {
	transform: scale(1.25);
}

.bd-process-card span {
	display: inline-flex;
	margin-bottom: 28px;
	color: var(--bd-red);
	font-size: 13px;
	font-weight: 950;
	letter-spacing: .12em;
}

.bd-process-card h3 {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.18;
	font-weight: 950;
}

.bd-process-card p {
	margin: 0;
	color: var(--bd-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* CONTACT */
.bd-contact-section {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(420px, 1fr);
	gap: clamp(34px, 5vw, 70px);
	align-items: center;
	padding: clamp(34px, 5vw, 56px);
	border-radius: 34px;
	background:
		radial-gradient(circle at 10% 10%, rgba(255,45,45,.10), transparent 32%),
		linear-gradient(135deg, #ffffff, #f7f8fa);
	border: 1px solid var(--bd-line);
	box-shadow: var(--bd-shadow);
}

.bd-contact-note {
	margin-top: 24px;
	padding: 18px 20px;
	border-left: 3px solid var(--bd-red);
	background: #fff;
	border-radius: 0 16px 16px 0;
	color: var(--bd-muted);
	font-size: 15px;
	line-height: 1.65;
}

.bd-contact-note strong {
	color: var(--bd-ink);
}

/* FORM */
.bd-form-wrapper {
	background: #fff;
	border: 1px solid rgba(16,24,32,.07);
	border-radius: 26px;
	box-shadow: 0 16px 44px rgba(16,24,32,.06);
	padding: 24px;
}

.bd-form-wrapper input,
.bd-form-wrapper textarea,
.bd-form-wrapper .wpcf7-form-control {
	width: 100%;
	border: 1px solid rgba(16,24,32,.12);
	background: #f8f9fb;
	color: var(--bd-ink);
	border-radius: 15px;
	padding: 15px 16px;
	font-size: 15px;
	outline: none;
	transition: border-color .24s ease, box-shadow .24s ease, background .24s ease;
	margin-bottom: 14px;
}

.bd-form-wrapper input:focus,
.bd-form-wrapper textarea:focus,
.bd-form-wrapper .wpcf7-form-control:focus {
	background: #fff;
	border-color: rgba(255,45,45,.42);
	box-shadow: 0 0 0 4px rgba(255,45,45,.08);
}

.bd-form-wrapper textarea {
	min-height: 126px;
	resize: vertical;
}

.bd-form-wrapper button,
.bd-form-wrapper input[type="submit"] {
	position: relative;
	min-height: 58px;
	border: 0;
	padding: 0 26px;
	background: var(--bd-red);
	color: #fff;
	font-size: 14px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
	clip-path: polygon(6% 0, 100% 0, 94% 100%, 0% 100%);
	transition: transform .3s var(--bd-ease), background .3s ease, box-shadow .3s ease;
}

.bd-form-wrapper button:hover,
.bd-form-wrapper input[type="submit"]:hover {
	background: var(--bd-red-dark);
	transform: translateY(-3px);
	box-shadow: 0 18px 42px rgba(255,45,45,.28);
}

/* SCROLL REVEAL */
.bd-analysis-page [data-bd-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .7s var(--bd-ease);
}

.bd-analysis-page [data-bd-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Vždy zobraziť obsah v Elementor editore (preview iframe) */
.elementor-editor-active .bd-analysis-page [data-bd-reveal],
.elementor-editor-preview .bd-analysis-page [data-bd-reveal],
body.elementor-editor-active .bd-analysis-page [data-bd-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

/* ANIMATIONS */
@keyframes bdPulseDot {
	0% { box-shadow: 0 0 0 0 rgba(255,45,45,.28); }
	70% { box-shadow: 0 0 0 13px rgba(255,45,45,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,45,45,0); }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
	.bd-analysis-hero {
		grid-template-columns: 1fr;
	}

	.bd-analysis-hero__visual {
		min-height: 460px;
	}

	.bd-analysis-hero__visual img {
		min-height: 460px;
	}

	.bd-analysis-grid,
	.bd-contact-section {
		grid-template-columns: 1fr;
	}

	.bd-analysis-visual {
		min-height: 380px;
	}

	.bd-analysis-visual img {
		min-height: 380px;
	}

	.bd-process-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.bd-analysis-page {
		padding: 48px 16px;
	}

	.bd-analysis-hero {
		gap: 34px;
		margin-bottom: 50px;
	}

	.bd-analysis-hero__content h1 {
		font-size: 42px;
		line-height: 1.12;
	}

	.bd-analysis-hero__content p,
	.bd-analysis-text p,
	.bd-contact-copy p {
		font-size: 16px;
		line-height: 1.7;
	}

	.bd-analysis-hero__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.bd-btn {
		width: 100%;
		min-height: 58px;
		padding: 0 24px;
	}

	.bd-analysis-hero__visual,
	.bd-analysis-hero__visual img {
		min-height: 360px;
	}

	.bd-diagnostics,
	.bd-process-cards,
	.bd-check-list {
		grid-template-columns: 1fr;
	}

	.bd-analysis-grid {
		gap: 40px;
	}

	.bd-analysis-visual {
		min-height: 320px;
	}

	.bd-analysis-visual img {
		min-height: 320px;
	}

	.bd-contact-section {
		padding: 28px 18px;
		border-radius: 26px;
	}

	.bd-form-wrapper {
		padding: 18px;
	}

	.bd-analysis-text h2,
	.bd-section-title h2,
	.bd-contact-copy h2 {
		font-size: 34px;
	}

	.bd-process-card {
		min-height: auto;
	}
}

@media (max-width: 420px) {
	.bd-analysis-hero__content h1 {
		font-size: 36px;
	}

	.bd-analysis-hero__visual,
	.bd-analysis-hero__visual img {
		min-height: 320px;
	}

	.bd-scan-card {
		left: 14px;
		right: 14px;
		bottom: 14px;
		padding: 16px 16px 16px 48px;
		border-radius: 18px;
	}

	.bd-scan-card span {
		left: 18px;
		top: 21px;
	}

	.bd-diagnostic-item,
	.bd-process-card {
		padding: 26px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bd-analysis-page *,
	.bd-analysis-page *::before,
	.bd-analysis-page *::after {
		animation: none !important;
		transition-duration: .01ms !important;
	}

	.bd-analysis-page [data-bd-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}
