/* ==========================================================================
   Card Components — Shared (2026-11-20)
   --------------------------------------------------------------------------
   Moved unchanged from assets/css/home-video-v2.css (Home Page Video
   Template V2) so other pages can reuse the same components:

     .rd-why-card*      bento card: icon chip, tag pill, heading, body with
                        bold lead-in, footnote (template-parts/cards/why-card.php,
                        used by section-why-v2.php and the Contact Us page)
     .rd-validation*    quote card (dark) + verified-ROI stat card row
                        (template-parts/section-validation-v2.php)

   Colours read the Home V2 tokens (--rd-*) when the page defines them and
   fall back to the same values elsewhere, so Home V2 renders exactly as
   before. Not scoped to any page. Page layouts and responsive sizing stay
   in each page's own stylesheet (home-video-v2.css, contact.css).
   Loaded by include/cards.php (before home-video-v2.css on Home V2).
   ========================================================================== */

.rd-why-card {
	background: var(--rd-white, #FFFFFF);
	/* 2026-09-24 (Carlos): "remove the stroke from boxes on the
	   rd-why_bento" -- was border: 2px solid var(--rd-primary-050, #EEF3FE).
	   Figma's own export for these cards (e.g. node 5835:25284's "Small-
	   content block") never had a border, just bg-white + rounded-10px.
	   Shared class, so this also removes the same stroke from
	   Orientation's pillar cards (§8d) and the validation stat card kept
	   its own separate border override (§8c) untouched. */
	border-radius: 10px;
	box-shadow: none;
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	flex: 1 1 300px;
	/* 2026-09-21 (Carlos, Figma node 5835:25805): "these cards must be
	   adjusted exactly as the card under rd-now" -- same fixed 464px
	   height as .rd-program-card (§8), was min-height: 345px. Desktop
	   only -- the mobile override at the bottom of this file keeps its
	   own min-height. */
	height: 464px;
	transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.rd-why-card__top {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* 2026-09-21 (Carlos, Figma node 5835:25805): same icon-chip treatment as
   .rd-program-card__icon-wrap (§8), just this section's own blue tint --
   Figma's from-[rgba(171,191,247,.33)] to-[rgba(171,191,247,0)].
   2026-09-22 (Carlos): same full-width-band fix as
   .rd-program-card__icon-wrap (§8) -- see that rule's comment. */
.rd-why-card__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	/* 2026-09-24 (Carlos): "verify that the padding of the
	   rd-why-card__icon-wrap is 12px all around" -- was 24px 24px 24px
	   12px. Figma's own export for this chip (node 5835:25284's icon
	   chip, 6069:41983) is p-[12px] uniform; corrected to match. */
	padding: 12px;
	border-radius: 5px;
	background: linear-gradient(90deg, rgba(171, 191, 247, 0.18) 0%, rgba(171, 191, 247, 0.06) 100%);
}

.rd-why-card__icon {
	display: block;
	width: 48px;
	height: 48px;
	/* The 3-step animation itself is defined once, in §8 above
	   (.rd-program-card__icon / .rd-why-card__icon are both targeted by
	   every rd-icon-* rule there), since Carlos's spec uses "the same
	   mechanism" on both sides of each icon. */
}

.rd-why-card__kicker {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* 2026-09-24 (Carlos, "fix the bento box", Figma node 5835:25805): the
   eyebrow used to render as plain small text; Figma's current design
   renders it as a solid pill/badge, exactly Program Now's
   .rd-program-card__pill treatment (Space Grotesk Bold 16/22, 0.8px
   tracking, uppercase) just this section's single royal-blue color
   (Figma has no warning/danger/success variants here -- every row-card
   tag is the same blue). --light is the bottom-left card's own tag
   (Figma: light-blue bg, royal-blue text -- the inverse of the row
   cards' solid-blue tag). */
.rd-why-card__pill {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 5px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0;
	background: var(--rd-royal-blue, #3D6BEA);
	color: var(--rd-primary-050, #EEF3FE);
}

.rd-why-card__pill--light {
	background: var(--rd-primary-050, #EEF3FE);
	color: var(--rd-royal-blue, #3D6BEA);
}

/* 2026-09-24 (Carlos, "fix the bento box", Figma node 5835:25805): this
   used to render the card's big display stat (48px, blue) -- Figma's
   current design uses this slot for the card's real sentence heading
   (36px Bold, dark); the stat moved to a bold lead-in inside the body
   paragraph (.rd-why-card__stat below), exactly Program Now's
   .rd-program-card__heading treatment. max-width dropped (was 512px) for
   the same reason Program Now's was: fill the kicker's full width, no
   arbitrary wrap point. */
.rd-why-card__heading {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 42px;
	color: var(--rd-black, #2E2925);
	margin: 0;
}

/* 2026-09-24 (Carlos, "fix the bento box"): body color corrected to
   Figma's Brand/Neutral/600 (#6C757D, --rd-state-grey) -- was --rd-onix
   (#343A40), matches Program Now's own body-copy correction earlier the
   same day. */
.rd-why-card__body {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: var(--rd-state-grey, #6C757D);
	margin: 0;
}

/* Bottom-left card's body has no bold lead-in (plain sentence) -- same
   harmless "explicitly plain" marker as Program Now's own
   .rd-program-card__body--plain. */
.rd-why-card__body--plain {
	color: var(--rd-state-grey, #6C757D);
}

/* The bold stat lead-in moved out of its own big heading (above) into
   here, inline at the start of the body paragraph -- exactly Program
   Now's .rd-program-card__stat (extrabold weight, stays the original
   dark body color rather than lightening with the rest of the
   paragraph). */
.rd-why-card__stat {
	font-weight: 800;
	color: var(--rd-onix, #343A40);
}

/* 2026-09-24 (Carlos, "fix the bento box"): corrected to Figma's actual
   DESKTOP/Footer type spec (10/14, 0.2px tracking) -- was a borrowed
   12/18 0.24px treatment that never matched this section's own Figma
   export. */
.rd-why-card__citation {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.2px;
	color: var(--rd-onix, #343A40);
	margin: 0;
}

.rd-why-card__citation a {
	color: inherit;
	text-decoration: underline;
}

.rd-validation {
	position: relative;
	width: 100%;
	max-width: 1632px;
	/* 2026-09-17 (Carlos, round 2): "Add 96px top and bottom margins". */
	margin: 96px auto;
	/* 2026-10-01 (Claude, consistency pass, Carlos: "the quote and ROI
	   cards and the orientation cards don't behave the same ... We need
	   to make this consistent"): this section had no horizontal gutter at
	   exactly 1440px viewport width, since its old 1440px cap exactly
	   equals that viewport and it carried no padding -- Program Now's own
	   panel only gets its gutter there from its 96px padding (its 1632px
	   cap doesn't bite until the viewport exceeds it). Matching cap +
	   padding here instead of just padding alone, so this section's cap
	   also only engages past 1632px, same as Program Now and Orientation. */
	padding: 0 96px;
	box-sizing: border-box;
}

.rd-validation__row {
	display: flex;
	align-items: stretch;
	gap: 16px;
	width: 100%;
}

.rd-validation__quote-card {
	/* 2/3 of the row (Carlos: "the quote will take 2/3 ... the stat
	   1/3"), fluid rather than a literal 954px so it still works at any
	   viewport up to the 1440px container. */
	flex: 2 1 0%;
	min-width: 0;
	background: var(--rd-outer-space, #495057);
	border-radius: var(--rd-radius-card, 15px);
	padding: 96px 48px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.rd-validation__quote {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rd-validation__quote-text {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 42px;
	color: var(--rd-seasalt, #F8F9FA);
	margin: 0;
}

.rd-validation__quote-author {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.rd-validation__quote-author-name {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.36px;
	color: var(--rd-seasalt, #F8F9FA);
	margin: 0;
}

.rd-validation__quote-author-title {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 24px;
	color: var(--rd-seasalt, #F8F9FA);
	margin: 0;
}

/* 2026-09-24 (Carlos, Figma node 5835:25276): "exactly the same as the
   rd-why-card rd-why-card-bottom-left ... the same ACF fields ... the
   only difference is that padding-top and padding-bottom is now 96px" --
   markup (section-validation-v2.php) now reuses .rd-why-card's own
   component classes (pill/heading/body/citation, §8b above) instead of
   this rule's old __stat-top/__stat-value/__stat-text/__stat-citation
   children (removed below -- their 48px-blue-stat/24px-blue-text/12px
   type specs had drifted from Figma's actual export over time: node
   5835:25276 is 36px dark heading / 18px grey body / 10px citation,
   exactly .rd-why-card__heading/__body/__citation's own specs). Kept as
   its own class purely for what's genuinely different from a plain
   .rd-why-card here: this row's own sizing (flex 1/3 of the row, no
   fixed 464px height -- .rd-why-card--bottom-left's height only makes
   sense inside the 3-card grid row it shares with taller cards), this
   card's own border (1px --rd-primary-300, Figma's border-[#7d9cf2], vs.
   rd-why-card's 2px --rd-primary-050), and the deeper 96px vertical
   padding node 5835:25276 actually uses (py-[96px], vs. rd-why-card's
   uniform 48px) -- desktop only; mobile already gets the exact same
   48px/345px rd-why-card treatment from the .rd-why-card mobile rule
   itself (Carlos, 2026-09-22: "the boxes under validation must be
   exactly the same as ... Now and Why READI") once this card carries
   that class, so no separate mobile override is needed here any more
   either (the old .rd-validation__stat-card entry in that mobile rule,
   and the __stat-value/__stat-text mobile overrides, are both removed
   -- see that rule below). background/border-radius(10px)/flex-column/
   gap/justify-between all come from .rd-why-card unchanged. */
.rd-validation__stat-card {
	flex: 1 1 0%;
	min-width: 0;
	height: auto;
	padding: 96px 48px;
	border: 1px solid var(--rd-primary-300, #7D9CF2);
	box-sizing: border-box;
}

