/* =========================================================
   MIR DESIGN – Професионална начална страница
   Всички правила са ограничени до .mdh-home.
   ========================================================= */

:root {
	--mdh-green: #0d4a45;
	--mdh-green-dark: #073a36;
	--mdh-green-deep: #042c2a;
	--mdh-green-soft: #e9f1ef;
	--mdh-green-pale: #f3f7f6;
	--mdh-gold: #d8a441;
	--mdh-gold-hover: #e7b653;
	--mdh-text: #243936;
	--mdh-muted: #667875;
	--mdh-border: #dce6e3;
	--mdh-bg: #f6f8f7;
	--mdh-white: #ffffff;
	--mdh-radius-sm: 12px;
	--mdh-radius: 18px;
	--mdh-radius-lg: 26px;
	--mdh-shadow-sm: 0 10px 28px rgba(7, 58, 54, 0.08);
	--mdh-shadow: 0 18px 52px rgba(7, 58, 54, 0.13);
	--mdh-container: 1180px;
}

body.home #main,
body.home .page-wrapper,
body.home .page-inner {
	padding-top: 0;
}

.mdh-home {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: var(--mdh-white);
	color: var(--mdh-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
}

.mdh-home *,
.mdh-home *::before,
.mdh-home *::after {
	box-sizing: border-box;
}

.mdh-home img {
	display: block;
	max-width: 100%;
}

.mdh-home a {
	color: inherit;
	text-decoration: none;
}

.mdh-home h1,
.mdh-home h2,
.mdh-home h3,
.mdh-home p,
.mdh-home ul,
.mdh-home ol {
	margin-top: 0;
}

.mdh-home h1,
.mdh-home h2,
.mdh-home h3 {
	color: var(--mdh-green-dark);
	font-family: inherit;
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.12;
	text-transform: none;
}

.mdh-container {
	width: min(calc(100% - 40px), var(--mdh-container));
	margin-inline: auto;
}

.mdh-section {
	position: relative;
	padding: 96px 0;
}

.mdh-skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 99999;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--mdh-white);
	color: var(--mdh-green-dark);
	box-shadow: var(--mdh-shadow);
	transform: translateY(-160%);
	transition: transform 0.2s ease;
}

.mdh-skip-link:focus {
	transform: translateY(0);
}

.mdh-eyebrow,
.mdh-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 16px;
	color: var(--mdh-green);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.mdh-eyebrow::before {
	width: 30px;
	height: 2px;
	background: currentColor;
	content: "";
}

.mdh-eyebrow--light {
	color: #8ed0ca;
}

.mdh-section-heading {
	margin-bottom: 48px;
}

.mdh-section-heading h2,
.mdh-offer__heading h2,
.mdh-seo__copy h2 {
	margin-bottom: 18px;
	font-size: clamp(32px, 4vw, 50px);
}

.mdh-section-heading p,
.mdh-offer__heading p {
	max-width: 760px;
	margin-bottom: 0;
	color: var(--mdh-muted);
	font-size: 18px;
}

.mdh-section-heading--center {
	max-width: 850px;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	text-align: center;
}

.mdh-section-heading--center .mdh-eyebrow {
	justify-content: center;
}

.mdh-section-heading--center p {
	margin-inline: auto;
}

.mdh-section-heading--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
}

.mdh-section-heading--split h2 {
	margin-bottom: 0;
}

/* Buttons */
.mdh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 23px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.015em;
	line-height: 1.3;
	text-align: center;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.mdh-button:hover,
.mdh-button:focus-visible {
	transform: translateY(-2px);
}

.mdh-button:focus-visible,
.mdh-home a:focus-visible,
.mdh-home summary:focus-visible,
.mdh-home input:focus-visible,
.mdh-home select:focus-visible,
.mdh-home textarea:focus-visible,
.mdh-home button:focus-visible {
	outline: 3px solid rgba(216, 164, 65, 0.5);
	outline-offset: 3px;
}

.mdh-button svg,
.mdh-text-link svg {
	width: 18px;
	height: 18px;
	margin-left: 8px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 0.22s ease;
}

.mdh-button:hover svg,
.mdh-text-link:hover svg {
	transform: translateX(4px);
}

.mdh-button--gold {
	background: var(--mdh-gold);
	color: #152f2d !important;
	box-shadow: 0 12px 28px rgba(216, 164, 65, 0.24);
}

.mdh-button--gold:hover,
.mdh-button--gold:focus-visible {
	background: var(--mdh-gold-hover);
	box-shadow: 0 15px 34px rgba(216, 164, 65, 0.34);
}

.mdh-button--ghost-light {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.07);
	color: var(--mdh-white) !important;
	backdrop-filter: blur(8px);
}

.mdh-button--ghost-light:hover,
.mdh-button--ghost-light:focus-visible {
	border-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.13);
}

.mdh-button--outline {
	border-color: var(--mdh-green);
	background: transparent;
	color: var(--mdh-green) !important;
}

.mdh-button--outline:hover,
.mdh-button--outline:focus-visible {
	background: var(--mdh-green);
	color: var(--mdh-white) !important;
}

.mdh-text-link {
	display: inline-flex;
	align-items: center;
	color: var(--mdh-green) !important;
	font-size: 14px;
	font-weight: 750;
}

/* Hero */
.mdh-hero {
	position: relative;
	isolation: isolate;
	min-height: 680px;
	padding: 72px 0 82px;
	overflow: hidden;
	background:
		radial-gradient(circle at 10% 0%, rgba(41, 131, 122, 0.23), transparent 38%),
		linear-gradient(135deg, var(--mdh-green-deep) 0%, var(--mdh-green-dark) 55%, #0b514b 100%);
}

.mdh-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 52px 52px;
	content: "";
	mask-image: linear-gradient(to right, #000 0%, transparent 75%);
}

.mdh-hero__glow {
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	filter: blur(1px);
	pointer-events: none;
}

.mdh-hero__glow--one {
	top: -180px;
	right: -100px;
	width: 480px;
	height: 480px;
	background: rgba(216, 164, 65, 0.11);
}

.mdh-hero__glow--two {
	bottom: -280px;
	left: 28%;
	width: 520px;
	height: 520px;
	background: rgba(59, 160, 150, 0.12);
}

.mdh-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	align-items: center;
	gap: clamp(44px, 6vw, 82px);
}

.mdh-kicker {
	margin-bottom: 21px;
	padding: 8px 13px;
	border: 1px solid rgba(93, 203, 192, 0.3);
	border-radius: 999px;
	background: rgba(10, 78, 72, 0.55);
	color: #d9f3f0;
	letter-spacing: 0.1em;
}

.mdh-kicker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #43d6c7;
	box-shadow: 0 0 0 5px rgba(67, 214, 199, 0.12);
}

.mdh-hero h1 {
	max-width: 700px;
	margin-bottom: 22px;
	color: var(--mdh-white);
	font-size: clamp(42px, 5.2vw, 68px);
	line-height: 1.04;
}

.mdh-hero h1 span {
	display: block;
	margin-top: 7px;
	color: #57d9cc;
}

.mdh-hero__lead {
	max-width: 635px;
	margin-bottom: 29px;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(17px, 1.55vw, 20px);
	line-height: 1.65;
}

.mdh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.mdh-hero__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.73);
	font-size: 13px;
	list-style: none;
}

.mdh-hero__checks li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.mdh-hero__checks svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: #6ee5d9;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.mdh-hero__visual {
	position: relative;
	min-width: 0;
}

.mdh-hero__image-shell {
	position: relative;
	min-height: 535px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 30px 75px rgba(0, 20, 18, 0.42);
	transform: perspective(1200px) rotateY(-2deg);
}

.mdh-hero__image-shell::after {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(4, 44, 42, 0.2), transparent 35%);
	content: "";
	pointer-events: none;
}

.mdh-hero__image-shell picture,
.mdh-hero__image-shell picture img {
	width: 100%;
	height: 100%;
}

.mdh-hero__image-shell picture {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
}

.mdh-hero__image-shell img {
	object-fit: cover;
	object-position: 72% center;
}

.mdh-hero__badge {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 210px;
	padding: 13px 15px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 16px 35px rgba(0, 30, 27, 0.22);
	color: var(--mdh-text);
	backdrop-filter: blur(12px);
}

.mdh-hero__badge--quality {
	top: 30px;
	left: -35px;
}

.mdh-hero__badge--design {
	right: -24px;
	bottom: 34px;
}

.mdh-hero__badge-icon {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 10px;
	background: var(--mdh-green-soft);
	color: var(--mdh-green);
}

.mdh-hero__badge-icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.mdh-hero__badge strong,
.mdh-hero__badge small {
	display: block;
}

.mdh-hero__badge strong {
	font-size: 13px;
	line-height: 1.35;
}

.mdh-hero__badge small {
	margin-top: 2px;
	color: var(--mdh-muted);
	font-size: 11px;
}

/* Proof bar */
.mdh-proof {
	position: relative;
	z-index: 4;
	border-bottom: 1px solid var(--mdh-border);
	background: var(--mdh-white);
	box-shadow: 0 14px 38px rgba(5, 53, 49, 0.05);
}

.mdh-proof__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mdh-proof__item {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
	padding: 27px 23px;
	border-right: 1px solid var(--mdh-border);
}

.mdh-proof__item:first-child {
	padding-left: 0;
}

.mdh-proof__item:last-child {
	padding-right: 0;
	border-right: 0;
}

.mdh-iconbox {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 12px;
	background: var(--mdh-green-soft);
	color: var(--mdh-green);
}

.mdh-iconbox svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.mdh-proof__item strong,
.mdh-proof__item span {
	display: block;
}

.mdh-proof__item strong {
	color: var(--mdh-green-dark);
	font-size: 14px;
	line-height: 1.35;
}

.mdh-proof__item div > span {
	margin-top: 3px;
	color: var(--mdh-muted);
	font-size: 12px;
}

/* Services */
.mdh-services {
	background:
		radial-gradient(circle at 90% 10%, rgba(13, 74, 69, 0.06), transparent 30%),
		var(--mdh-white);
}

.mdh-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mdh-service-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius-lg);
	background: var(--mdh-white);
	box-shadow: var(--mdh-shadow-sm);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mdh-service-card:hover {
	border-color: #b7d0cb;
	box-shadow: var(--mdh-shadow);
	transform: translateY(-7px);
}

.mdh-service-card > a {
	display: block;
	height: 100%;
}

.mdh-service-card__media {
	position: relative;
	aspect-ratio: 1 / 0.9;
	overflow: hidden;
	background: var(--mdh-green-dark);
}

.mdh-service-card__media::after {
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(2, 29, 27, 0.54));
	content: "";
}

.mdh-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mdh-service-card:hover .mdh-service-card__media img {
	transform: scale(1.035);
}

.mdh-service-card__number {
	position: absolute;
	right: 16px;
	bottom: 14px;
	z-index: 2;
	display: grid;
	width: 43px;
	height: 43px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	background: rgba(4, 44, 42, 0.5);
	color: var(--mdh-white);
	font-size: 12px;
	font-weight: 750;
	backdrop-filter: blur(6px);
}

.mdh-service-card__body {
	padding: 28px 27px 30px;
}

.mdh-service-card__tag {
	display: inline-flex;
	margin-bottom: 11px;
	color: var(--mdh-green);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mdh-service-card h3 {
	margin-bottom: 12px;
	font-size: 25px;
}

.mdh-service-card p {
	min-height: 78px;
	margin-bottom: 21px;
	color: var(--mdh-muted);
	font-size: 14px;
}

/* Why section */
.mdh-why {
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 15% 15%, rgba(69, 183, 172, 0.18), transparent 32%),
		linear-gradient(135deg, var(--mdh-green-deep), var(--mdh-green-dark));
}

.mdh-why::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 26px 26px;
	content: "";
	mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.mdh-why__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
	align-items: center;
	gap: clamp(50px, 7vw, 90px);
}

.mdh-why__intro h2 {
	margin-bottom: 21px;
	color: var(--mdh-white);
	font-size: clamp(34px, 4vw, 51px);
}

.mdh-why__intro p {
	margin-bottom: 29px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
}

.mdh-why__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.mdh-why-card {
	padding: 25px 23px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--mdh-radius);
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(8px);
	transition: background 0.24s ease, transform 0.24s ease;
}

.mdh-why-card:hover {
	background: rgba(255, 255, 255, 0.11);
	transform: translateY(-3px);
}

.mdh-why-card > span {
	display: grid;
	width: 36px;
	height: 36px;
	margin-bottom: 24px;
	place-items: center;
	border-radius: 10px;
	background: rgba(216, 164, 65, 0.17);
	color: #f1c56d;
	font-size: 12px;
	font-weight: 750;
}

.mdh-why-card h3 {
	margin-bottom: 10px;
	color: var(--mdh-white);
	font-size: 19px;
	letter-spacing: -0.02em;
}

.mdh-why-card p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
}

/* Projects */
.mdh-projects {
	background: var(--mdh-bg);
}

.mdh-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mdh-project-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius-lg);
	background: var(--mdh-white);
	box-shadow: var(--mdh-shadow-sm);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mdh-project-card:hover {
	box-shadow: var(--mdh-shadow);
	transform: translateY(-6px);
}

.mdh-project-card__media {
	position: relative;
	aspect-ratio: 1 / 0.9;
	overflow: hidden;
	background: #dfe9e6;
}

.mdh-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mdh-project-card:hover .mdh-project-card__media img {
	transform: scale(1.04);
}

.mdh-project-card__media > span {
	position: absolute;
	top: 15px;
	left: 15px;
	max-width: calc(100% - 30px);
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(7, 58, 54, 0.87);
	color: var(--mdh-white);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.mdh-project-card__body {
	padding: 24px 24px 26px;
}

.mdh-project-card h3 {
	display: -webkit-box;
	min-height: 54px;
	margin-bottom: 15px;
	overflow: hidden;
	font-size: 19px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Existing client slider integration */
.mdh-clients {
	padding: 78px 0;
	background: var(--mdh-white);
}

.mdh-clients .md-clients {
	margin: 0;
}

.mdh-clients__fallback {
	padding: 45px;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius-lg);
	background: var(--mdh-green-pale);
	text-align: center;
}

.mdh-clients__fallback h2 {
	margin-bottom: 15px;
	font-size: clamp(28px, 4vw, 44px);
}

.mdh-clients__fallback p {
	margin-bottom: 25px;
	color: var(--mdh-muted);
}

/* Process */
.mdh-process {
	background: linear-gradient(180deg, var(--mdh-green-pale), var(--mdh-white));
}

.mdh-process__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.mdh-process__list::before {
	position: absolute;
	top: 31px;
	left: 8%;
	right: 8%;
	height: 1px;
	background: #bdd1cd;
	content: "";
}

.mdh-process__step {
	position: relative;
	z-index: 1;
	padding: 0 11px;
	text-align: center;
}

.mdh-process__number {
	display: grid;
	width: 62px;
	height: 62px;
	margin: 0 auto 21px;
	place-items: center;
	border: 8px solid var(--mdh-green-pale);
	border-radius: 50%;
	background: var(--mdh-green);
	box-shadow: 0 0 0 1px #b9cec9;
	color: var(--mdh-white);
	font-size: 15px;
	font-weight: 750;
}

.mdh-process__step h3 {
	margin-bottom: 10px;
	font-size: 19px;
}

.mdh-process__step p {
	margin-bottom: 0;
	color: var(--mdh-muted);
	font-size: 13px;
}

/* Offer and CF7 */
.mdh-offer {
	background:
		radial-gradient(circle at 5% 0%, rgba(216, 164, 65, 0.09), transparent 28%),
		var(--mdh-white);
}

.mdh-offer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.74fr);
	align-items: start;
	gap: clamp(35px, 5vw, 65px);
}

.mdh-offer__heading {
	margin-bottom: 28px;
}

.mdh-offer__heading p {
	font-size: 16px;
}

.mdh-form-card {
	padding: 30px;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius-lg);
	background: var(--mdh-white);
	box-shadow: var(--mdh-shadow);
}

.mdh-form-card .wpcf7,
.mdh-form-card .wpcf7-form {
	margin: 0;
}

.mdh-form-card .wpcf7-form > p,
.mdh-form-card .wpcf7-form > fieldset > p {
	margin-bottom: 17px;
}

.mdh-form-card .wpcf7-form label {
	display: block;
	margin-bottom: 0;
	color: var(--mdh-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
}

.mdh-form-card input:not([type="submit"]):not([type="file"]),
.mdh-form-card select,
.mdh-form-card textarea {
	width: 100%;
	min-height: 50px;
	margin-top: 7px;
	padding: 11px 13px;
	border: 1px solid #cad8d5;
	border-radius: 9px;
	background: #fbfcfc;
	box-shadow: none;
	color: var(--mdh-text);
	font-family: inherit;
	font-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mdh-form-card textarea {
	min-height: 120px;
	resize: vertical;
}

.mdh-form-card input:not([type="submit"]):focus,
.mdh-form-card select:focus,
.mdh-form-card textarea:focus {
	border-color: var(--mdh-green);
	background: var(--mdh-white);
	box-shadow: 0 0 0 4px rgba(13, 74, 69, 0.09);
	outline: none;
}

.mdh-form-card input[type="file"] {
	width: 100%;
	margin-top: 7px;
	padding: 8px;
	border: 1px dashed #b8cbc7;
	border-radius: 9px;
	background: var(--mdh-green-pale);
	color: var(--mdh-muted);
	font-size: 12px;
}

.mdh-form-card input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 9px 13px;
	border: 0;
	border-radius: 7px;
	background: var(--mdh-green);
	color: var(--mdh-white);
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

.mdh-form-card input[type="submit"],
.mdh-form-card button[type="submit"] {
	min-height: 52px;
	margin: 5px 0 0;
	padding: 14px 23px;
	border: 0;
	border-radius: 9px;
	background: var(--mdh-green);
	box-shadow: 0 10px 22px rgba(13, 74, 69, 0.2);
	color: var(--mdh-white);
	font-family: inherit;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mdh-form-card input[type="submit"]:hover,
.mdh-form-card button[type="submit"]:hover {
	background: var(--mdh-green-dark);
	box-shadow: 0 13px 26px rgba(13, 74, 69, 0.28);
	transform: translateY(-2px);
}

.mdh-form-card .wpcf7-not-valid {
	border-color: #b42318 !important;
}

.mdh-form-card .wpcf7-not-valid-tip {
	display: block !important;
	margin: 5px 0 0 !important;
	padding: 0 !important;
	color: #b42318 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.mdh-form-card .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 12px 14px !important;
	border: 1px solid #d9b447 !important;
	border-radius: 8px;
	background: #fff9e9;
	color: var(--mdh-text);
	font-size: 13px;
}

.mdh-form-card .wpcf7 form.sent .wpcf7-response-output {
	border-color: #7eb8aa !important;
	background: #eef8f5;
}

.mdh-form-card .wpcf7-spinner {
	vertical-align: middle;
}

.mdh-form-card small,
.mdh-form-card .wpcf7-form-control-wrap + br + small,
.mdh-form-card .allowed-formats {
	color: var(--mdh-muted);
	font-size: 11px;
}

.mdh-form-card a {
	color: var(--mdh-green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mdh-form-fallback {
	display: grid;
	gap: 10px;
	padding: 25px;
	border-radius: var(--mdh-radius);
	background: var(--mdh-green-pale);
	text-align: center;
}

.mdh-offer__aside {
	position: sticky;
	top: 110px;
}

.mdh-offer__promise {
	display: flex;
	gap: 15px;
	margin-bottom: 22px;
	padding: 20px;
	border-radius: var(--mdh-radius);
	background: linear-gradient(135deg, var(--mdh-green-dark), var(--mdh-green));
	color: var(--mdh-white);
	box-shadow: var(--mdh-shadow-sm);
}

.mdh-offer__promise-icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
}

.mdh-offer__promise-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: #8be1d8;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.mdh-offer__promise strong {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
}

.mdh-offer__promise p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}

.mdh-faq {
	overflow: hidden;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius-lg);
	background: var(--mdh-white);
	box-shadow: var(--mdh-shadow-sm);
}

.mdh-faq > h2 {
	margin: 0;
	padding: 22px 22px 17px;
	font-size: 23px;
}

.mdh-faq details {
	border-top: 1px solid var(--mdh-border);
}

.mdh-faq summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 52px 18px 22px;
	color: var(--mdh-text);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.mdh-faq summary span,
.mdh-faq summary span::after {
	position: absolute;
	background: var(--mdh-green);
	content: "";
}

.mdh-faq summary span {
	top: 50%;
	right: 22px;
	width: 12px;
	height: 2px;
	transform: translateY(-50%);
}

.mdh-faq summary span::after {
	top: -5px;
	left: 5px;
	width: 2px;
	height: 12px;
	transition: transform 0.2s ease;
}

.mdh-faq details[open] summary span::after {
	transform: rotate(90deg);
}

.mdh-faq details[open] summary {
	color: var(--mdh-green);
}

.mdh-faq details > div {
	padding: 0 22px 18px;
}

.mdh-faq details p {
	margin-bottom: 0;
	color: var(--mdh-muted);
	font-size: 12px;
}

.mdh-offer__contact {
	display: grid;
	grid-template-columns: 1fr;
	gap: 5px;
	margin-top: 20px;
	padding: 20px 22px;
	border: 1px solid var(--mdh-border);
	border-radius: var(--mdh-radius);
	background: var(--mdh-green-pale);
}

.mdh-offer__contact span {
	margin-bottom: 4px;
	color: var(--mdh-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.mdh-offer__contact a {
	color: var(--mdh-green) !important;
	font-size: 14px;
	font-weight: 750;
}

/* SEO / closing section */
.mdh-seo {
	padding: 82px 0;
	border-top: 1px solid var(--mdh-border);
	background: var(--mdh-bg);
}

.mdh-seo__grid {
	display: grid;
	grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(42px, 7vw, 90px);
}

.mdh-seo__mark {
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid #cbdad7;
	border-radius: 36px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(233, 241, 239, 0.8));
	box-shadow: var(--mdh-shadow-sm);
	color: var(--mdh-green);
	font-size: clamp(43px, 7vw, 80px);
	font-weight: 800;
	letter-spacing: -0.08em;
}

.mdh-seo__copy h2 {
	font-size: clamp(29px, 3.6vw, 43px);
}

.mdh-seo__copy p {
	margin-bottom: 14px;
	color: var(--mdh-muted);
	font-size: 14px;
}

.mdh-seo__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	margin-top: 24px;
}

/* Reveal animation */
.mdh-home.mdh-js .mdh-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.65, 0.2, 1);
	transition-delay: var(--mdh-delay, 0ms);
}

.mdh-home.mdh-js .mdh-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Tablet */
@media (max-width: 1050px) {
	.mdh-hero__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 35px;
	}

	.mdh-hero__image-shell {
		min-height: 495px;
	}

	.mdh-hero__badge--quality {
		left: -12px;
	}

	.mdh-hero__badge--design {
		right: -8px;
	}

	.mdh-proof__item {
		padding-inline: 13px;
	}

	.mdh-proof__item strong {
		font-size: 12px;
	}

	.mdh-proof__item div > span {
		font-size: 10px;
	}
}

@media (max-width: 900px) {
	.mdh-section {
		padding: 76px 0;
	}

	.mdh-hero {
		padding: 62px 0 75px;
	}

	.mdh-hero__grid,
	.mdh-why__grid,
	.mdh-offer__grid {
		grid-template-columns: 1fr;
	}

	.mdh-hero__content {
		max-width: 720px;
	}

	.mdh-hero__visual {
		width: min(100%, 680px);
		margin-inline: auto;
	}

	.mdh-hero__image-shell {
		min-height: 520px;
		transform: none;
	}

	.mdh-proof__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdh-proof__item,
	.mdh-proof__item:first-child,
	.mdh-proof__item:last-child {
		padding: 22px 18px;
		border-right: 1px solid var(--mdh-border);
		border-bottom: 1px solid var(--mdh-border);
	}

	.mdh-proof__item:nth-child(2n) {
		border-right: 0;
	}

	.mdh-proof__item:nth-last-child(-n+2) {
		border-bottom: 0;
	}

	.mdh-proof__item strong {
		font-size: 13px;
	}

	.mdh-proof__item div > span {
		font-size: 11px;
	}

	.mdh-services__grid,
	.mdh-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mdh-service-card:last-child,
	.mdh-project-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		width: calc(50% - 12px);
		margin-inline: auto;
	}

	.mdh-why__intro {
		max-width: 750px;
	}

	.mdh-process__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
	}

	.mdh-process__list::before {
		display: none;
	}

	.mdh-offer__aside {
		position: static;
	}

	.mdh-seo__grid {
		grid-template-columns: 180px minmax(0, 1fr);
	}
}

/* Mobile */
@media (max-width: 680px) {
	.mdh-container {
		width: min(calc(100% - 28px), var(--mdh-container));
	}

	.mdh-section {
		padding: 62px 0;
	}

	.mdh-section-heading {
		margin-bottom: 34px;
	}

	.mdh-section-heading h2,
	.mdh-offer__heading h2,
	.mdh-seo__copy h2 {
		font-size: 31px;
	}

	.mdh-section-heading p {
		font-size: 15px;
	}

	.mdh-section-heading--split {
		align-items: flex-start;
		flex-direction: column;
	}

	.mdh-hero {
		min-height: 0;
		padding: 48px 0 58px;
	}

	.mdh-hero__grid {
		gap: 38px;
	}

	.mdh-kicker {
		font-size: 10px;
	}

	.mdh-hero h1 {
		font-size: clamp(38px, 11vw, 50px);
	}

	.mdh-hero__lead {
		font-size: 16px;
	}

	.mdh-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mdh-hero__actions .mdh-button {
		width: 100%;
	}

	.mdh-hero__checks {
		display: grid;
		gap: 9px;
	}

	.mdh-hero__image-shell {
		min-height: 500px;
		border-radius: 22px;
	}

	.mdh-hero__image-shell img {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		height: 145%;
		object-position: center bottom;
	}

	.mdh-hero__badge {
		min-width: 0;
		padding: 10px 12px;
	}

	.mdh-hero__badge--quality {
		top: 14px;
		left: 10px;
	}

	.mdh-hero__badge--design {
		right: 10px;
		bottom: 14px;
	}

	.mdh-hero__badge strong {
		font-size: 11px;
	}

	.mdh-hero__badge small {
		font-size: 9px;
	}

	.mdh-hero__badge-icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.mdh-proof__grid {
		grid-template-columns: 1fr;
	}

	.mdh-proof__item,
	.mdh-proof__item:first-child,
	.mdh-proof__item:last-child,
	.mdh-proof__item:nth-child(2n),
	.mdh-proof__item:nth-last-child(-n+2) {
		padding: 18px 4px;
		border-right: 0;
		border-bottom: 1px solid var(--mdh-border);
	}

	.mdh-proof__item:last-child {
		border-bottom: 0;
	}

	.mdh-services__grid,
	.mdh-projects__grid,
	.mdh-why__cards,
	.mdh-process__list {
		grid-template-columns: 1fr;
	}

	.mdh-service-card:last-child,
	.mdh-project-card:last-child:nth-child(odd) {
		grid-column: auto;
		width: 100%;
	}

	.mdh-service-card__media {
		aspect-ratio: 1 / 0.95;
	}

	.mdh-service-card p {
		min-height: 0;
	}

	.mdh-why__grid {
		gap: 38px;
	}

	.mdh-why-card {
		padding: 22px 20px;
	}

	.mdh-process__list {
		gap: 14px;
	}

	.mdh-process__step {
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 16px;
		padding: 18px;
		border: 1px solid var(--mdh-border);
		border-radius: var(--mdh-radius);
		background: var(--mdh-white);
		text-align: left;
	}

	.mdh-process__number {
		width: 50px;
		height: 50px;
		margin: 0;
		border-width: 5px;
	}

	.mdh-process__step h3 {
		font-size: 17px;
	}

	.mdh-form-card {
		padding: 21px 16px;
		border-radius: 18px;
	}

	.mdh-form-card input[type="submit"],
	.mdh-form-card button[type="submit"] {
		width: 100%;
	}

	.mdh-offer__promise {
		padding: 17px;
	}

	.mdh-seo__grid {
		grid-template-columns: 1fr;
	}

	.mdh-seo__mark {
		width: 150px;
		margin-inline: auto;
		border-radius: 28px;
	}

	.mdh-seo__actions {
		display: grid;
	}
}

@media (max-width: 390px) {
	.mdh-hero__image-shell {
		min-height: 450px;
	}

	.mdh-hero__badge {
		max-width: 190px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdh-home *,
	.mdh-home *::before,
	.mdh-home *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.mdh-home.mdh-js .mdh-reveal {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================
   V1.1 – Product-first creative studio redesign
   Пази премиум цветовете, но премахва усещането за банка:
   повече реални продукти, по-малко тъмни панели и „финансови“ карти.
   ========================================================= */

:root {
	--mdh-green: #142b4a;
	--mdh-green-dark: #10243e;
	--mdh-green-deep: #091a2d;
	--mdh-green-soft: #edf2f7;
	--mdh-green-pale: #f6f8fb;
	--mdh-gold: #e3b23c;
	--mdh-gold-hover: #f0c557;
	--mdh-text: #1d2a3b;
	--mdh-muted: #647185;
	--mdh-border: #dfe5ed;
	--mdh-bg: #f7f8fa;
	--mdh-warm: #fbf7ee;
	--mdh-white: #ffffff;
	--mdh-shadow-sm: 0 12px 34px rgba(20, 43, 74, 0.08);
	--mdh-shadow: 0 22px 58px rgba(20, 43, 74, 0.13);
}

.mdh-home {
	background: #fff;
}

.mdh-home h1,
.mdh-home h2,
.mdh-home h3 {
	color: var(--mdh-green-dark);
}

.mdh-eyebrow {
	color: var(--mdh-green);
}

.mdh-button {
	border-radius: 999px;
}

.mdh-button--gold {
	background: var(--mdh-gold);
	color: var(--mdh-green-deep) !important;
	box-shadow: 0 12px 28px rgba(227, 178, 60, 0.26);
}

.mdh-button--outline {
	border-color: var(--mdh-green);
	color: var(--mdh-green) !important;
}

/* Светъл, продуктов hero вместо тежък банков панел. */
.mdh-hero {
	min-height: 650px;
	padding: 68px 0 78px;
	background:
		radial-gradient(circle at 8% 18%, rgba(227, 178, 60, 0.17), transparent 26%),
		linear-gradient(115deg, #fffdf8 0%, #f7f4ec 48%, #f1f5f8 100%);
}

.mdh-hero::before {
	background-image:
		linear-gradient(rgba(20, 43, 74, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(20, 43, 74, 0.035) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 76%);
}

.mdh-hero__glow--one {
	top: -250px;
	right: -120px;
	background: rgba(20, 43, 74, 0.08);
}

.mdh-hero__glow--two {
	bottom: -330px;
	left: 18%;
	background: rgba(227, 178, 60, 0.12);
}

.mdh-hero__grid {
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: clamp(40px, 5.5vw, 78px);
}

.mdh-kicker {
	margin-bottom: 20px;
	border-color: rgba(20, 43, 74, 0.12);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 7px 20px rgba(20, 43, 74, 0.06);
	color: var(--mdh-green);
	backdrop-filter: blur(8px);
}

.mdh-kicker__dot {
	background: var(--mdh-gold);
	box-shadow: 0 0 0 5px rgba(227, 178, 60, 0.17);
}

.mdh-hero h1 {
	max-width: 690px;
	margin-bottom: 22px;
	color: var(--mdh-green-deep);
	font-size: clamp(43px, 5.2vw, 69px);
}

.mdh-hero h1 span {
	display: block;
	width: fit-content;
	margin-top: 7px;
	color: var(--mdh-green);
	background: linear-gradient(transparent 68%, rgba(227, 178, 60, 0.58) 68%);
}

.mdh-hero__lead {
	max-width: 625px;
	color: #566578;
}

.mdh-button--ghost-light {
	border-color: rgba(20, 43, 74, 0.25);
	background: rgba(255, 255, 255, 0.65);
	color: var(--mdh-green) !important;
	backdrop-filter: blur(8px);
}

.mdh-button--ghost-light:hover,
.mdh-button--ghost-light:focus-visible {
	border-color: var(--mdh-green);
	background: var(--mdh-white);
}

.mdh-hero__checks {
	gap: 8px;
	color: var(--mdh-green);
}

.mdh-hero__checks li {
	padding: 7px 11px;
	border: 1px solid rgba(20, 43, 74, 0.11);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	font-size: 11px;
	font-weight: 700;
}

.mdh-hero__image-shell {
	min-height: 550px;
	border: 8px solid rgba(255, 255, 255, 0.92);
	border-radius: 30px 90px 30px 30px;
	background: #dde5ed;
	box-shadow: 0 28px 65px rgba(20, 43, 74, 0.2);
	transform: rotate(1.2deg);
}

.mdh-hero__image-shell::before {
	position: absolute;
	top: -24px;
	right: 36px;
	z-index: 3;
	width: 92px;
	height: 42px;
	background: rgba(227, 178, 60, 0.82);
	content: "";
	transform: rotate(4deg);
	clip-path: polygon(5% 8%, 96% 0, 100% 88%, 0 100%);
}

.mdh-hero__image-shell::after {
	display: none;
}

.mdh-hero__image-shell img {
	object-fit: cover;
	object-position: 78% center;
}

.mdh-hero__badge {
	border: 1px solid rgba(20, 43, 74, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 15px 36px rgba(20, 43, 74, 0.16);
	color: var(--mdh-text);
}

.mdh-hero__badge--quality {
	top: 34px;
	left: -28px;
}

.mdh-hero__badge--design {
	right: -18px;
	bottom: 28px;
}

.mdh-hero__badge-icon {
	background: #fff6dc;
	color: var(--mdh-green);
}

/* Бърз продуктов избор, а не абстрактни обещания. */
.mdh-proof {
	border-top: 1px solid rgba(20, 43, 74, 0.07);
	box-shadow: 0 14px 36px rgba(20, 43, 74, 0.04);
}

.mdh-proof__item {
	position: relative;
	transition: background 0.22s ease, transform 0.22s ease;
}

.mdh-proof__item::after {
	position: absolute;
	right: 14px;
	color: var(--mdh-gold);
	font-size: 19px;
	content: "→";
	opacity: 0;
	transform: translateX(-7px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.mdh-proof__item:hover,
.mdh-proof__item:focus-visible {
	background: var(--mdh-warm);
}

.mdh-proof__item:hover::after,
.mdh-proof__item:focus-visible::after {
	opacity: 1;
	transform: translateX(0);
}

.mdh-iconbox {
	border: 1px solid #e8d8ae;
	border-radius: 50%;
	background: #fff7e3;
	color: var(--mdh-green);
}

.mdh-proof__item strong {
	color: var(--mdh-green-dark);
}

/* Product cards */
.mdh-services {
	background:
		radial-gradient(circle at 95% 5%, rgba(227, 178, 60, 0.12), transparent 24%),
		#fff;
}

.mdh-service-card {
	border-color: #e4e8ef;
	border-radius: 24px;
	box-shadow: 0 11px 32px rgba(20, 43, 74, 0.07);
}

.mdh-service-card:hover {
	border-color: #d5b96f;
	box-shadow: 0 24px 55px rgba(20, 43, 74, 0.13);
}

.mdh-service-card__media {
	aspect-ratio: 1 / 1.02;
	background: #e9eef3;
}

.mdh-service-card__media::after {
	inset: 62% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(9, 26, 45, 0.55));
}

.mdh-service-card__number {
	background: rgba(20, 43, 74, 0.78);
}

.mdh-service-card__body {
	padding: 27px 27px 29px;
}

.mdh-service-card__tag {
	color: #8b6818;
}

.mdh-service-card p {
	min-height: 70px;
	margin-bottom: 14px;
}

.mdh-service-card__products {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.mdh-service-card__products li {
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--mdh-green-soft);
	color: var(--mdh-green);
	font-size: 10px;
	font-weight: 700;
}

/* Технологии: светла работилница, не финансов dashboard. */
.mdh-why {
	background:
		linear-gradient(90deg, rgba(227, 178, 60, 0.09) 1px, transparent 1px),
		linear-gradient(rgba(227, 178, 60, 0.09) 1px, transparent 1px),
		var(--mdh-warm);
	background-size: 38px 38px;
}

.mdh-why::before {
	display: none;
}

.mdh-eyebrow--light {
	color: #8b6818;
}

.mdh-why__intro h2 {
	color: var(--mdh-green-dark);
}

.mdh-why__intro p {
	color: var(--mdh-muted);
}

.mdh-why-card {
	position: relative;
	padding: 26px 24px 24px;
	border: 1px solid #e9e2d1;
	border-top: 4px solid var(--mdh-gold);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 28px rgba(20, 43, 74, 0.06);
	backdrop-filter: none;
}

.mdh-why-card:hover {
	background: #fff;
	box-shadow: 0 18px 36px rgba(20, 43, 74, 0.1);
}

.mdh-why-card > span {
	display: inline-flex;
	width: auto;
	height: auto;
	margin-bottom: 20px;
	padding: 6px 9px;
	border-radius: 999px;
	background: #fff5d9;
	color: #7a5c15;
	font-size: 9px;
	letter-spacing: 0.08em;
}

.mdh-why-card h3 {
	color: var(--mdh-green-dark);
}

.mdh-why-card p {
	color: var(--mdh-muted);
}

/* Real work and process */
.mdh-projects {
	background: #f5f7fa;
}

.mdh-project-card,
.mdh-faq,
.mdh-form-card {
	border-color: #e1e6ed;
}

.mdh-project-card__media > span {
	background: rgba(20, 43, 74, 0.88);
}

.mdh-process {
	background: #fff;
}

.mdh-process__list::before {
	top: 27px;
	height: 2px;
	background: repeating-linear-gradient(90deg, #d3b461 0 8px, transparent 8px 16px);
}

.mdh-process__step {
	padding: 0 14px;
}

.mdh-process__number {
	width: 56px;
	height: 56px;
	border: 7px solid #fff;
	background: var(--mdh-gold);
	box-shadow: 0 0 0 1px #d9c487, 0 8px 20px rgba(227, 178, 60, 0.22);
	color: var(--mdh-green-deep);
}

/* Формата говори за продукт и идея, а не за „финансова оферта“. */
.mdh-offer {
	background:
		radial-gradient(circle at 100% 0%, rgba(20, 43, 74, 0.07), transparent 28%),
		var(--mdh-warm);
}

.mdh-form-card {
	box-shadow: 0 15px 42px rgba(20, 43, 74, 0.09);
}

.mdh-product-picker-fallback {
	margin-bottom: 18px;
	padding: 17px;
	border: 1px solid #d6e3e1;
	border-radius: 12px;
	background: #f3faf8;
}

.mdh-product-picker-fallback strong {
	display: block;
	color: var(--mdh-green-deep);
}

.mdh-product-picker-fallback p {
	margin: 6px 0 13px;
	color: var(--mdh-muted);
}

.mdh-product-picker-fallback a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 15px;
	border-radius: 999px;
	background: var(--mdh-green);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.mdh-form-card input:not([type="submit"]):not([type="file"]),
.mdh-form-card select,
.mdh-form-card textarea {
	border-color: #d5dce6;
	background: #fff;
}

.mdh-form-card input:not([type="submit"]):focus,
.mdh-form-card select:focus,
.mdh-form-card textarea:focus {
	border-color: var(--mdh-gold);
	box-shadow: 0 0 0 4px rgba(227, 178, 60, 0.16);
}

.mdh-form-card input[type="submit"],
.mdh-form-card button[type="submit"] {
	border-radius: 999px;
	background: var(--mdh-gold);
	box-shadow: 0 10px 24px rgba(227, 178, 60, 0.25);
	color: var(--mdh-green-deep);
}

.mdh-form-card input[type="submit"]:hover,
.mdh-form-card button[type="submit"]:hover {
	background: var(--mdh-gold-hover);
	box-shadow: 0 13px 28px rgba(227, 178, 60, 0.32);
}

.mdh-offer__promise {
	border: 1px solid #e3e8ef;
	border-left: 5px solid var(--mdh-gold);
	background: #fff;
	box-shadow: 0 10px 30px rgba(20, 43, 74, 0.07);
	color: var(--mdh-text);
}

.mdh-offer__promise-icon {
	background: #fff5d9;
	color: var(--mdh-green);
}

.mdh-offer__promise-icon svg {
	stroke: currentColor;
}

.mdh-offer__promise p {
	color: var(--mdh-muted);
}

.mdh-offer__contact {
	background: #fff;
}

.mdh-seo {
	background: #f5f7fa;
}

.mdh-seo__mark {
	border: 2px dashed #c8a956;
	background: #fffaf0;
	color: var(--mdh-green);
	box-shadow: none;
}

@media (max-width: 1050px) {
	.mdh-hero__image-shell {
		min-height: 500px;
	}
}

@media (max-width: 900px) {
	.mdh-hero__grid {
		grid-template-columns: 1fr;
	}

	.mdh-hero__content {
		max-width: 760px;
		text-align: center;
		margin-inline: auto;
	}

	.mdh-hero h1 span {
		margin-inline: auto;
	}

	.mdh-hero__lead {
		margin-inline: auto;
	}

	.mdh-hero__actions,
	.mdh-hero__checks {
		justify-content: center;
	}

	.mdh-hero__image-shell {
		min-height: 530px;
		transform: none;
	}
}

@media (max-width: 680px) {
	.mdh-hero {
		padding: 42px 0 54px;
	}

	.mdh-hero__content {
		text-align: left;
	}

	.mdh-hero h1 {
		font-size: clamp(37px, 10.7vw, 48px);
	}

	.mdh-hero h1 span,
	.mdh-hero__lead {
		margin-left: 0;
		margin-right: 0;
	}

	.mdh-hero__checks {
		display: flex;
		justify-content: flex-start;
	}

	.mdh-hero__image-shell {
		min-height: 410px;
		border-width: 6px;
		border-radius: 22px 58px 22px 22px;
	}

	.mdh-hero__image-shell picture,
	.mdh-hero__image-shell picture img {
		height: 100%;
	}

	.mdh-hero__image-shell img {
		top: 0;
		height: 100%;
		object-position: 76% center;
	}

	.mdh-hero__image-shell::before {
		top: -18px;
		right: 25px;
		width: 72px;
		height: 34px;
	}

	.mdh-hero__badge--quality {
		top: 12px;
		left: 8px;
	}

	.mdh-hero__badge--design {
		right: 8px;
		bottom: 12px;
	}

	.mdh-proof__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
		padding: 1px 0;
		background: var(--mdh-border);
	}

	.mdh-proof__item,
	.mdh-proof__item:first-child,
	.mdh-proof__item:last-child,
	.mdh-proof__item:nth-child(2n),
	.mdh-proof__item:nth-last-child(-n+2) {
		align-items: flex-start;
		flex-direction: column;
		padding: 17px 14px;
		border: 0;
		background: #fff;
	}

	.mdh-proof__item::after {
		display: none;
	}

	.mdh-iconbox {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.mdh-proof__item strong {
		font-size: 12px;
	}

	.mdh-proof__item div > span {
		font-size: 10px;
	}

	.mdh-service-card__media {
		aspect-ratio: 1 / 1;
	}

	.mdh-service-card p {
		min-height: 0;
	}

	.mdh-process__step {
		border-color: #e4e8ee;
		box-shadow: 0 8px 24px rgba(20, 43, 74, 0.05);
	}

	.mdh-process__number {
		border-color: #fff;
	}
}

@media (max-width: 390px) {
	.mdh-hero__image-shell {
		min-height: 370px;
	}

	.mdh-hero__badge {
		max-width: 175px;
	}
}
