/**
 * File: assets/css/front-page/home.css
 * Description: Homepage section styles for Magida Creative Co.
 *
 * MAGIDA HOMEPAGE PASS 7:
 * - Styles the front-page.php foundation and each separated homepage template part.
 * - Keeps homepage styles out of global/layout/header/footer files.
 *
 * MAGIDA HOMEPAGE MOTION/MEDIA PASS 7.1:
 * - Adds hero image/video frame styles while keeping the coded mockup fallback intact.
 *
 * MAGIDA HERO VISUAL CONTAINMENT HOTFIX PASS 7.2.1:
 * - Tightens hero height and constrains the visual stage so the mockup is not cut.
 */

.magida-front-page {
	position: relative;
	overflow: hidden;
}

.magida-front-page::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(190, 189, 229, 0.032) 1px, transparent 1px),
		linear-gradient(90deg, rgba(190, 189, 229, 0.032) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.72),
		transparent 24%,
		transparent 76%,
		rgba(0, 0, 0, 0.36)
	);
	content: "";
	pointer-events: none;
}

.magida-home-section {
	position: relative;
	padding-block: var(--magida-section-padding);
}

.magida-front-section-header {
	max-width: 760px;
	margin-bottom: 34px;
}

.magida-front-section-header__title,
.magida-home-section-header__title {
	margin-top: 16px;
}

.magida-front-section-header__description,
.magida-home-section-header__description {
	max-width: 720px;
	margin-top: 16px;
	font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.magida-home-hero {
	position: relative;
	isolation: isolate;
	/* MAGIDA PASS 7.2.1:
	 * Tightens the hero again after the richer visual media pass so the
	 * right-side mockup does not make the hero feel oversized.
	 */
	min-height: min(760px, calc(100vh - var(--magida-header-height)));
	padding-block: clamp(70px, 8vw, 104px) clamp(48px, 6vw, 76px);
	overflow: hidden;
	border-bottom: 1px solid rgba(190, 189, 229, 0.1);
}

.magida-home-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(
			circle at 18% 24%,
			rgba(5, 223, 254, 0.13),
			transparent 28rem
		),
		radial-gradient(
			circle at 82% 18%,
			rgba(124, 106, 251, 0.14),
			transparent 30rem
		),
		linear-gradient(180deg, rgba(12, 15, 26, 0.64), rgba(6, 7, 11, 0.42));
	content: "";
}

.magida-home-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
	gap: clamp(36px, 6vw, 84px);
	align-items: center;
}

.magida-home-hero__content {
	max-width: 760px;
}

.magida-home-hero__title {
	margin-top: 18px;
	font-size: clamp(3rem, 7.2vw, 6.35rem);
	letter-spacing: -0.062em;
}

.magida-home-hero__title span {
	display: block;
}

.magida-home-hero__title span:first-child,
.magida-home-hero__title span:last-child {
	text-shadow: 0 0 34px rgba(5, 223, 254, 0.1);
}

.magida-home-hero__intro {
	max-width: 660px;
	margin-top: 24px;
	font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.magida-home-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.magida-home-hero__microcopy {
	margin-top: 18px;
	color: var(--magida-text-muted);
	font-size: 0.95rem;
}

.magida-home-hero__visual {
	position: relative;
	/* MAGIDA PASS 7.2.1:
	 * Use a controlled visual stage height so absolute-positioned mockup
	 * layers fit inside the hero instead of being cut at the section edge.
	 */
	height: clamp(430px, 42vw, 500px);
	min-height: 0;
}

.magida-home-hero__browser,
.magida-home-hero__device,
.magida-home-hero__mark {
	position: absolute;
	border: 1px solid rgba(5, 223, 254, 0.18);
	box-shadow:
		0 28px 90px rgba(0, 0, 0, 0.34),
		0 0 56px rgba(5, 223, 254, 0.1);
	backdrop-filter: blur(18px);
}

.magida-home-hero__browser--main {
	/* MAGIDA PASS 7.2.1:
	 * The browser shell is now bounded by the hero visual stage so richer
	 * mockup details remain visible without forcing a taller hero.
	 */
	top: 24px;
	right: 0;
	left: 0;
	height: calc(100% - 50px);
	min-height: 0;
	border-radius: var(--magida-radius-xl);
	background: linear-gradient(
		145deg,
		rgba(12, 15, 26, 0.92),
		rgba(7, 9, 16, 0.78)
	);
	overflow: hidden;
	animation: magida-home-float 7s ease-in-out infinite;
}

.magida-home-hero__browser-top {
	display: flex;
	gap: 8px;
	align-items: center;
	height: 48px;
	padding-inline: 18px;
	border-bottom: 1px solid rgba(190, 189, 229, 0.1);
	background: rgba(255, 255, 255, 0.035);
}

.magida-home-hero__browser-top span {
	width: 10px;
	height: 10px;
	border-radius: var(--magida-radius-full);
	background: rgba(190, 189, 229, 0.5);
}

.magida-home-hero__mock-content {
	padding: clamp(24px, 5vw, 46px);
}

.magida-home-hero__mock-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 6px 11px;
	border: 1px solid rgba(5, 223, 254, 0.28);
	border-radius: var(--magida-radius-full);
	color: var(--magida-cyan);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.magida-home-hero__mock-content strong {
	display: block;
	max-width: 480px;
	margin-top: 22px;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: clamp(1.7rem, 4vw, 3.1rem);
	line-height: 1.05;
}

.magida-home-hero__mock-content p {
	max-width: 440px;
	margin-top: 16px;
}

.magida-home-hero__mock-lines {
	display: grid;
	gap: 12px;
	max-width: 400px;
	margin-top: 32px;
}

.magida-home-hero__mock-lines i {
	display: block;
	height: 12px;
	border-radius: var(--magida-radius-full);
	background: linear-gradient(
		90deg,
		rgba(5, 223, 254, 0.22),
		rgba(124, 106, 251, 0.08)
	);
}

.magida-home-hero__mock-lines i:nth-child(2) {
	width: 78%;
}

.magida-home-hero__mock-lines i:nth-child(3) {
	width: 55%;
}

/**
 * MAGIDA HOMEPAGE MOTION/MEDIA PASS 7.1:
 * Optional hero media uses the same browser shell so a screenshot/video can replace
 * the coded mockup without changing the section structure.
 */
.magida-home-hero__browser--has-media {
	background: rgba(7, 9, 16, 0.9);
}

.magida-home-hero__media-frame {
	position: relative;
	min-height: 332px;
	overflow: hidden;
}

.magida-home-hero__media-frame::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 7, 11, 0.08), rgba(6, 7, 11, 0.62)),
		radial-gradient(
			circle at 80% 20%,
			rgba(5, 223, 254, 0.16),
			transparent 16rem
		);
	content: "";
	pointer-events: none;
}

.magida-home-hero__media {
	display: block;
	width: 100%;
	height: 332px;
	object-fit: cover;
}

.magida-home-hero__media-caption {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 1;
	max-width: min(78%, 340px);
	padding: 16px 18px;
	border: 1px solid rgba(5, 223, 254, 0.18);
	border-radius: var(--magida-radius-lg);
	background: rgba(6, 7, 11, 0.7);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
	backdrop-filter: blur(14px);
}

.magida-home-hero__media-caption span {
	display: block;
	color: var(--magida-cyan);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.magida-home-hero__media-caption strong {
	display: block;
	margin-top: 7px;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: clamp(1.05rem, 2vw, 1.45rem);
	line-height: 1.12;
}

.magida-home-hero__device {
	right: 26px;
	bottom: 22px;
	width: min(42%, 190px);
	min-height: 220px;
	padding: 20px;
	border-radius: 28px;
	background: rgba(6, 7, 11, 0.74);
	animation: magida-home-float 8s ease-in-out 0.6s infinite reverse;
}

.magida-home-hero__device span {
	display: block;
	width: 42px;
	height: 4px;
	margin-inline: auto;
	border-radius: var(--magida-radius-full);
	background: rgba(190, 189, 229, 0.32);
}

.magida-home-hero__device strong {
	display: block;
	margin-top: 58px;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: 1rem;
}

.magida-home-hero__device em {
	display: block;
	width: 70%;
	height: 44px;
	margin-top: 18px;
	border-radius: var(--magida-radius-md);
	background: var(--magida-gradient-primary);
	opacity: 0.74;
}

.magida-home-hero__mark {
	display: grid;
	place-items: center;
	left: 28px;
	bottom: 58px;
	width: 86px;
	height: 86px;
	border-radius: 24px;
	background: linear-gradient(
		135deg,
		rgba(5, 223, 254, 0.13),
		rgba(124, 106, 251, 0.18)
	);
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: 2.4rem;
	font-weight: 900;
	transform: rotate(-7deg);
}

.magida-home-hero__mark-logo {
	/* MAGIDA HUMAN MEDIA PASS 23.5.9: Uses the configured real logo inside the existing locked homepage hero mark. */
	display: block;
	width: min(78%, 62px);
	max-height: 62px;
	object-fit: contain;
	filter: drop-shadow(0 0 18px rgba(5, 223, 254, 0.28));
}

.magida-home-hero__orb {
	position: absolute;
	z-index: -1;
	width: 22rem;
	height: 22rem;
	border-radius: var(--magida-radius-full);
	filter: blur(28px);
	opacity: 0.16;
	pointer-events: none;
}

.magida-home-hero__orb--cyan {
	left: -8rem;
	bottom: 8rem;
	background: var(--magida-cyan);
}

.magida-home-hero__orb--violet {
	right: -9rem;
	top: 7rem;
	background: var(--magida-violet);
}

.magida-credibility {
	padding-block: 24px;
	border-bottom: 1px solid rgba(190, 189, 229, 0.08);
}

.magida-credibility__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 22px;
	padding: 17px 20px;
	border: 1px solid rgba(190, 189, 229, 0.1);
	border-radius: var(--magida-radius-lg);
	background: rgba(255, 255, 255, 0.025);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.magida-credibility__item {
	position: relative;
	color: var(--magida-text-soft);
	font-size: 0.92rem;
	font-weight: 700;
}

.magida-credibility__item + .magida-credibility__item::before {
	position: absolute;
	top: 50%;
	left: -13px;
	width: 4px;
	height: 4px;
	border-radius: var(--magida-radius-full);
	background: var(--magida-cyan);
	box-shadow: var(--magida-glow-soft);
	content: "";
	transform: translateY(-50%);
}

.magida-home-services__grid,
.magida-pricing-preview__grid,
.magida-latest-updates__grid,
.magida-counters__grid {
	display: grid;
	gap: 24px;
}

.magida-home-services__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.magida-service-panel,
.magida-price-card,
.magida-counter,
.magida-process-step,
.magida-why-item,
.magida-faq-item,
.magida-featured-project__inner,
.magida-proof__inner,
.magida-final-cta__inner,
.magida-home-services__note {
	position: relative;
	overflow: hidden;
}

.magida-service-panel::before,
.magida-price-card::before,
.magida-counter::before,
.magida-process-step::before,
.magida-why-item::before,
.magida-faq-item::before,
.magida-featured-project__inner::before,
.magida-proof__inner::before,
.magida-final-cta__inner::before,
.magida-home-services__note::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--magida-gradient-line);
	opacity: 0.52;
	content: "";
}

.magida-service-panel {
	padding: clamp(24px, 4vw, 38px);
	transition:
		border-color var(--magida-transition),
		box-shadow var(--magida-transition),
		transform var(--magida-transition);
}

.magida-service-panel:hover {
	border-color: rgba(5, 223, 254, 0.28);
	box-shadow: var(--magida-glow-soft);
	transform: translateY(-3px);
}

.magida-service-panel__number,
.magida-process-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(5, 223, 254, 0.28);
	border-radius: var(--magida-radius-md);
	color: var(--magida-cyan);
	font-family: var(--magida-font-heading);
	font-size: 0.82rem;
	font-weight: 900;
}

.magida-service-panel__title {
	margin-top: 24px;
}

.magida-service-panel__description {
	margin-top: 15px;
}

.magida-service-panel__points {
	display: grid;
	gap: 10px;
	margin-top: 22px;
	padding-left: 1.1rem;
	color: var(--magida-text-soft);
}

.magida-service-panel__link {
	display: inline-flex;
	margin-top: 24px;
}

.magida-home-services__note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 24px;
	padding: 22px 24px;
}

.magida-home-services__note strong {
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
}

.magida-home-services__note span {
	max-width: 760px;
	color: var(--magida-text-soft);
}

.magida-featured-project__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	padding: clamp(26px, 5vw, 52px);
}

.magida-featured-project__content h2,
.magida-proof__inner h2,
.magida-final-cta__inner h2 {
	margin-top: 16px;
}

.magida-featured-project__content p,
.magida-proof__inner p,
.magida-final-cta__inner p {
	margin-top: 18px;
}

.magida-featured-project__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.magida-featured-project__tags span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 11px;
	border: 1px solid rgba(190, 189, 229, 0.14);
	border-radius: var(--magida-radius-full);
	background: rgba(255, 255, 255, 0.035);
	color: var(--magida-text-soft);
	font-size: 0.8rem;
	font-weight: 800;
}

.magida-featured-project__actions,
.magida-pricing-preview__actions,
.magida-final-cta__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.magida-featured-project__visual {
	position: relative;
	display: block;
	min-height: 360px;
	border: 1px solid rgba(5, 223, 254, 0.2);
	border-radius: var(--magida-radius-xl);
	background: rgba(255, 255, 255, 0.025);
	box-shadow:
		0 26px 88px rgba(0, 0, 0, 0.32),
		0 0 58px rgba(5, 223, 254, 0.1);
	overflow: hidden;
}

.magida-featured-project__visual img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	transition: transform var(--magida-transition-slow);
}

.magida-featured-project__visual:hover img {
	transform: scale(1.035);
}

.magida-featured-project__placeholder {
	display: grid;
	align-content: center;
	min-height: 360px;
	padding: clamp(28px, 5vw, 48px);
	background:
		linear-gradient(rgba(190, 189, 229, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(190, 189, 229, 0.05) 1px, transparent 1px),
		radial-gradient(
			circle at 78% 18%,
			rgba(124, 106, 251, 0.24),
			transparent 18rem
		),
		rgba(7, 9, 16, 0.86);
	background-size:
		34px 34px,
		34px 34px,
		auto,
		auto;
}

.magida-featured-project__placeholder span {
	width: 68px;
	height: 5px;
	border-radius: var(--magida-radius-full);
	background: var(--magida-gradient-line);
}

.magida-featured-project__placeholder strong {
	margin-top: 28px;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	line-height: 1.05;
}

.magida-featured-project__placeholder em {
	margin-top: 12px;
	color: var(--magida-text-soft);
	font-style: normal;
}

.magida-why-choose__grid,
.magida-faq-preview__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
	gap: clamp(30px, 6vw, 72px);
	align-items: start;
}

.magida-why-choose__intro,
.magida-faq-preview__grid > div:first-child {
	position: sticky;
	top: 110px;
}

.magida-why-choose__intro h2,
.magida-faq-preview__grid h2 {
	margin-top: 16px;
}

.magida-why-choose__intro p:not(.magida-eyebrow),
.magida-faq-preview__grid > div:first-child p:not(.magida-eyebrow) {
	margin-top: 18px;
}

.magida-why-choose__list {
	display: grid;
	gap: 14px;
}

.magida-why-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 20px;
}

.magida-why-item span {
	color: var(--magida-cyan);
	font-family: var(--magida-font-heading);
	font-size: 0.85rem;
	font-weight: 900;
}

.magida-why-item strong {
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	line-height: 1.3;
}

.magida-process__timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.magida-process__timeline::before {
	position: absolute;
	top: 20px;
	left: 8%;
	right: 8%;
	height: 1px;
	background: var(--magida-gradient-line);
	opacity: 0.28;
	content: "";
}

.magida-process-step {
	padding: 22px;
}

.magida-process-step h3 {
	margin-top: 28px;
	font-size: 1.28rem;
}

.magida-process-step p {
	margin-top: 12px;
	font-size: 0.95rem;
}

.magida-counters {
	padding-block: 0 var(--magida-section-padding);
}

.magida-counters__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.magida-counter {
	padding: 28px 24px;
	text-align: center;
}

.magida-counter strong {
	display: block;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-size: clamp(2.1rem, 4vw, 3.35rem);
	line-height: 1;
}

.magida-counter > span {
	display: block;
	margin-top: 10px;
	color: var(--magida-text-soft);
	font-weight: 700;
}

.magida-proof__inner,
.magida-final-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.62fr);
	gap: clamp(24px, 5vw, 54px);
	align-items: center;
	padding: clamp(28px, 5vw, 54px);
}

.magida-pricing-preview__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.magida-price-card {
	padding: 26px;
}

.magida-price-card h3 {
	font-size: 1.34rem;
}

.magida-price-card strong {
	display: block;
	margin-top: 18px;
	color: var(--magida-cyan);
	font-family: var(--magida-font-heading);
	font-size: 1.2rem;
}

.magida-price-card p {
	margin-top: 14px;
}

.magida-faq-preview__items {
	display: grid;
	gap: 12px;
}

.magida-faq-item {
	padding: 0;
}

.magida-faq-item summary {
	position: relative;
	padding: 20px 52px 20px 22px;
	color: var(--magida-white);
	font-family: var(--magida-font-heading);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.magida-faq-item summary::-webkit-details-marker {
	display: none;
}

.magida-faq-item summary::after {
	position: absolute;
	top: 50%;
	right: 22px;
	width: 22px;
	height: 22px;
	border: 1px solid rgba(5, 223, 254, 0.25);
	border-radius: var(--magida-radius-full);
	color: var(--magida-cyan);
	content: "+";
	display: grid;
	place-items: center;
	font-family: var(--magida-font-heading);
	font-size: 0.9rem;
	line-height: 1;
	transform: translateY(-50%);
}

.magida-faq-item[open] summary::after {
	content: "–";
}

.magida-faq-item p {
	padding: 0 22px 22px;
}

.magida-latest-updates__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.magida-latest-updates__head .magida-front-section-header {
	margin-bottom: 0;
}

.magida-latest-updates__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.magida-final-cta {
	padding-bottom: calc(var(--magida-section-padding) + 8px);
}

.magida-final-cta__inner {
	background:
		radial-gradient(
			circle at 84% 22%,
			rgba(5, 223, 254, 0.13),
			transparent 20rem
		),
		radial-gradient(
			circle at 10% 90%,
			rgba(124, 106, 251, 0.14),
			transparent 22rem
		),
		var(--magida-panel);
}

@keyframes magida-home-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-12px);
	}
}

@media (max-width: 1180px) {
	.magida-home-hero__inner,
	.magida-featured-project__inner,
	.magida-proof__inner,
	.magida-final-cta__inner {
		grid-template-columns: 1fr;
	}

	.magida-home-hero__visual {
		/* MAGIDA PASS 7.2.1: Keep the visual stage controlled on tablet widths. */
		height: 460px;
		min-height: 0;
	}

	.magida-process__timeline {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.magida-process__timeline::before {
		display: none;
	}

	.magida-counters__grid,
	.magida-pricing-preview__grid,
	.magida-latest-updates__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.magida-home-services__grid,
	.magida-why-choose__grid,
	.magida-faq-preview__grid {
		grid-template-columns: 1fr;
	}

	.magida-why-choose__intro,
	.magida-faq-preview__grid > div:first-child {
		position: static;
	}

	.magida-home-services__note,
	.magida-latest-updates__head {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.magida-home-section {
		padding-block: var(--magida-section-padding-mobile);
	}

	.magida-home-hero {
		min-height: auto;
		padding-block: 64px 58px;
	}

	.magida-home-hero__inner {
		gap: 38px;
	}

	.magida-home-hero__actions,
	.magida-featured-project__actions,
	.magida-pricing-preview__actions,
	.magida-final-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.magida-home-hero__actions .magida-button,
	.magida-featured-project__actions .magida-button,
	.magida-pricing-preview__actions .magida-button,
	.magida-final-cta__actions .magida-button {
		width: 100%;
	}

	.magida-home-hero__visual {
		/* MAGIDA PASS 7.2.1: Prevent mobile hero visual overflow/cropping. */
		height: 340px;
		min-height: 0;
	}

	.magida-home-hero__browser--main {
		top: 0;
		height: 300px;
		min-height: 0;
		animation: none;
	}

	.magida-home-hero__media-frame {
		min-height: 252px;
	}

	.magida-home-hero__media {
		height: 252px;
	}

	.magida-home-hero__media-caption {
		right: 14px;
		bottom: 14px;
		max-width: calc(100% - 28px);
		padding: 13px 14px;
	}

	.magida-home-hero__mock-content {
		padding: 24px;
	}

	.magida-home-hero__device {
		display: none;
	}

	.magida-home-hero__mark {
		left: auto;
		right: 20px;
		bottom: 18px;
		width: 68px;
		height: 68px;
		font-size: 2rem;
	}

	.magida-home-hero__mark-logo {
		/* MAGIDA HUMAN MEDIA PASS 23.5.9: Keeps the real logo balanced in the smaller tablet/mobile-safe mark size. */
		width: min(76%, 50px);
		max-height: 50px;
	}

	.magida-credibility__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.magida-credibility__item + .magida-credibility__item::before {
		display: none;
	}

	.magida-featured-project__visual,
	.magida-featured-project__visual img,
	.magida-featured-project__placeholder {
		min-height: 280px;
	}

	.magida-process__timeline,
	.magida-counters__grid,
	.magida-pricing-preview__grid,
	.magida-latest-updates__grid {
		grid-template-columns: 1fr;
	}

	.magida-counters {
		padding-block: 0 var(--magida-section-padding-mobile);
	}
}
