/**
 * OSHIDA — home «تحلیل نیاز واقعی مشتری».
 *
 * @figma 1501:991   shell 882.01 x 814.60 at (278.996, 5104.209), centred
 * @figma 1501:1773  illustration 788 x 490, inset 44.82 / 50 inside the shell
 * @figma 1501:1777  caption band 788 x 126, label 26px
 * @figma 1620:840   heading 450 x 81, 26.4 below the panel
 *
 * Owner: work package C1.
 */

.o-home-request-card {
	padding-block-end: clamp(64px, 11.66vw, 167.9px);
}

.o-home-request-card__inner {
	display: flex;
	justify-content: center;
}

.o-home-request-card__shell {
	display: flex;
	flex-direction: column;
	align-items: center;
	inline-size: min(100%, 882px);
	padding: clamp(20px, 3.47vw, 50px) clamp(14px, 3.11vw, 44.82px) clamp(24px, 2.86vw, 41.2px);
	border-radius: var(--o-radius-xl);
	background-color: var(--o-veil-well);
	box-shadow: var(--o-shadow-panel);
}

/* --------------------------------------------------------------------------
 * The panel: illustration over a caption band, one tab stop for the pair
 * -------------------------------------------------------------------------- */
.o-home-request-card__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	inline-size: 100%;
	overflow: hidden;
	border-radius: var(--o-radius-lg);
	background-color: var(--o-veil-card);
}

.o-home-request-card__figure {
	display: block;
	inline-size: 100%;
}

.o-home-request-card__picture {
	display: block;
}

.o-home-request-card__img {
	display: block;
	inline-size: 100%;
	block-size: auto;
}

.o-home-request-card__cta {
	display: grid;
	place-items: center;
	min-block-size: clamp(64px, 8.75vw, 126px);
	padding-inline: var(--o-space-md);
	color: var(--o-text);
	font-size: var(--o-fs-h3);
	font-weight: var(--o-fw-regular);
	line-height: var(--o-lh-heading);
	letter-spacing: var(--o-track-tight);
	text-align: center;
	text-decoration: none;
}

/* The whole panel is the target; the label is the accessible name. */
.o-home-request-card__cta::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.o-home-request-card__panel:focus-within {
	outline: 2px solid var(--o-gold);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	.o-home-request-card__cta {
		transition: color var(--o-dur-base) var(--o-ease-standard);
	}
}

.o-home-request-card__cta:hover {
	color: var(--o-gold);
}

/* --------------------------------------------------------------------------
 * The heading beneath the panel
 * -------------------------------------------------------------------------- */
.o-home-request-card__title {
	margin: 0;
	margin-block-start: clamp(16px, 1.83vw, 26.4px);
	font-size: clamp(24px, 2.78vw, 40px);
	font-weight: var(--o-fw-black);
	line-height: 1.35;
	letter-spacing: var(--o-track-tight);
	text-align: center;
}
