/* Stakeholder-approved UI refinement. Scoped to the reversible Edviatec Expansion shell. */
:root {
	--edvx-audience-companies: #102a43;
	--edvx-audience-universities: #b9ace3;
	--edvx-audience-talents: #da7844;
	--edvx-audience-students: #a9d9ce;
	--edvx-audience-ink: #102a43;
}

/* Four primary pathways, with account and language actions retained on the right. */
.menu-wrapper > ul:not(.dropdown-menu) { align-items: center; }
.menu-wrapper > .btn { white-space: nowrap; }
.menu-wrapper > .btn:focus-visible,
#menu-toggle:focus-visible,
.menu-wrapper a:focus-visible,
footer a:focus-visible { outline: 3px solid #da7844; outline-offset: 3px; }
.edvx-footer-secondary a { font-weight: 700; }

/* Homepage: global proposition, four audiences, one profile, process, proof and CTA. */
.edvx-home-profile,
.edvx-home-how,
.edvx-home-why,
.edvx-home-final { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.edvx-home-how { background: #fff; }
.edvx-home-why { background: #f1f5f8; }
.edvx-home-why h2 { max-width: 900px; }
.edvx-home-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; background: #c8d5df; border: 1px solid #c8d5df; }
.edvx-home-why__grid article { padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; }
.edvx-home-why__grid h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.edvx-home-why__grid p { margin-bottom: 0; color: #40556b; line-height: 1.65; }
.edvx-home-final { background: #102a43; color: #fff; }
.edvx-home-final h2 { max-width: 820px; color: #fff; }
.edvx-home-final p { max-width: 720px; margin: 1.25rem 0 2rem; font-size: 1.15rem; }
.edvx-home-final .btn { background: #fff; border-color: #fff; color: #102a43; }
.edvx-gateway__card {
	height: 100%;
	border: 1px solid rgba(16, 42, 67, .22);
	border-radius: 18px;
	background: var(--edvx-card-background);
	color: var(--edvx-card-foreground);
	box-shadow: 0 12px 28px rgba(16, 42, 67, .12);
}
.edvx-gateway__card--join_talent {
	--edvx-card-background: var(--edvx-audience-talents);
	--edvx-card-foreground: var(--edvx-audience-ink);
}
.edvx-gateway__card--for_students {
	--edvx-card-background: var(--edvx-audience-students);
	--edvx-card-foreground: var(--edvx-audience-ink);
}
.edvx-gateway__card--for_employers {
	--edvx-card-background: var(--edvx-audience-companies);
	--edvx-card-foreground: #fff;
}
.edvx-gateway__card--for_universities {
	--edvx-card-background: var(--edvx-audience-universities);
	--edvx-card-foreground: var(--edvx-audience-ink);
}
.edvx-gateway__card small,
.edvx-gateway__card span,
.edvx-gateway__card p,
.edvx-gateway__card b { color: inherit; }
.edvx-gateway__card:hover {
	transform: translateY(-3px);
	border-color: currentColor;
	box-shadow: 0 18px 36px rgba(16, 42, 67, .2);
}
.edvx-gateway__card:focus-visible {
	transform: translateY(-2px);
	outline: 3px solid #fff;
	outline-offset: 3px;
	border-color: currentColor;
	box-shadow: 0 0 0 7px #102a43, 0 18px 36px rgba(16, 42, 67, .2);
}

/* Audience heroes share typography and spacing, but not composition. */
.edvx-route-join-talent .edvx-mvp__hero,
.edvx-route-for-students .edvx-mvp__hero,
.edvx-b2b--employer .edvx-employers__hero,
.edvx-b2b--university .edvx-employers__hero { min-height: 560px; background-image: none; }

/* Companies — structured and corporate. */
.edvx-b2b--employer .edvx-employers__hero { background: #102a43; color: #f8fbff; }
.edvx-b2b--employer .edvx-employers__hero h1,
.edvx-b2b--employer .edvx-employers__hero .edvx-eyebrow,
.edvx-b2b--employer .edvx-employers__hero .edvx-lead,
.edvx-b2b--employer .edvx-employers__hero .edvx-language-link,
.edvx-b2b--employer .edvx-employers__hero .edvx-text-link { color: #f8fbff; }
.edvx-b2b--employer .edvx-employers__hero h1 { border-top-color: #da7844; }
.edvx-b2b--employer .edvx-employers__hero .btn { background: #fff; border-color: #fff; color: #102a43; }
.edvx-b2b--employer .edvx-hero-panel { background: transparent; border: 2px solid rgba(255,255,255,.72); box-shadow: 18px 18px 0 #da7844; }
.edvx-b2b--employer .edvx-hero-points { border-color: rgba(255,255,255,.55); border-bottom-color: #da7844; }
.edvx-b2b--employer .edvx-hero-points li { border-color: rgba(255,255,255,.24); }

/* Universities — refined, academic and collaborative. */
.edvx-b2b--university .edvx-employers__hero { background: #b9ace3; color: #102a43; }
.edvx-b2b--university .edvx-employers__hero h1,
.edvx-b2b--university .edvx-employers__hero .edvx-eyebrow,
.edvx-b2b--university .edvx-employers__hero .edvx-lead,
.edvx-b2b--university .edvx-employers__hero .edvx-language-link,
.edvx-b2b--university .edvx-employers__hero .edvx-text-link { color: #102a43; }
.edvx-b2b--university .edvx-employers__hero h1 { border-top: 2px solid rgba(16,42,67,.55); padding-top: 30px; }
.edvx-b2b--university .edvx-employers__hero .btn { background: #102a43; border-color: #102a43; color: #fff; }
.edvx-b2b--university .edvx-hero-panel { background: rgba(255,255,255,.38); border: 1px solid rgba(16,42,67,.35); box-shadow: 16px 16px 0 rgba(16,42,67,.16); color: #102a43; }
.edvx-b2b--university .edvx-hero-panel::before { background: #102a43; }
.edvx-b2b--university .edvx-hero-panel__offer { border-color: rgba(16,42,67,.3); }
.edvx-b2b--university .edvx-hero-panel__offer > span,
.edvx-b2b--university .edvx-hero-panel__offer small { color: #294764; }
.edvx-b2b--university .edvx-hero-points { border-color: rgba(16,42,67,.45); border-bottom-color: #102a43; }
.edvx-b2b--university .edvx-hero-points li { border-color: rgba(16,42,67,.25); }

/* Talents — energetic and career-focused. */
.edvx-route-join-talent .edvx-mvp__hero { background: #da7844; color: #102a43; }
.edvx-route-join-talent .edvx-mvp__hero::after { right: -6vw; bottom: -55%; border-color: rgba(16,42,67,.12); }
.edvx-route-join-talent .edvx-mvp__hero h1,
.edvx-route-join-talent .edvx-mvp__hero .edvx-kicker,
.edvx-route-join-talent .edvx-mvp__hero .edvx-lead,
.edvx-route-join-talent .edvx-hero-assurance li { color: #102a43; }
.edvx-route-join-talent .edvx-mvp__hero .btn { background: #102a43; border-color: #102a43; color: #fff; }
.edvx-route-join-talent .edvx-hero-assurance { border-color: rgba(16,42,67,.35); }
.edvx-route-join-talent .edvx-hero-assurance li::before { background: #102a43; }
.edvx-route-join-talent .edvx-summary-card { transform: translateY(18px); border-top-color: #fff; box-shadow: 18px 18px 0 rgba(16,42,67,.22); }

/* Students — fresh, clear and approachable. */
.edvx-route-for-students .edvx-mvp__hero { background: #a9d9ce; color: #102a43; }
.edvx-route-for-students .edvx-mvp__hero::after { right: 4vw; bottom: -60%; border: 42px solid rgba(16,42,67,.1); }
.edvx-route-for-students .edvx-mvp__hero h1,
.edvx-route-for-students .edvx-mvp__hero .edvx-kicker,
.edvx-route-for-students .edvx-mvp__hero .edvx-lead,
.edvx-route-for-students .edvx-hero-assurance li { color: #102a43; }
.edvx-route-for-students .edvx-mvp__hero .btn { background: #102a43; border-color: #102a43; color: #fff; }
.edvx-route-for-students .edvx-hero-assurance { max-width: 720px; border-color: rgba(16,42,67,.28); }
.edvx-route-for-students .edvx-hero-assurance li::before { background: #216b5b; }

@media (max-width: 1199px) {
	.menu-wrapper > ul:not(.dropdown-menu) { align-items: stretch; }
	.menu-wrapper > .btn { min-width: 180px; }
}

@media (max-width: 991px) {
	.edvx-route-join-talent .edvx-mvp__hero,
	.edvx-route-for-students .edvx-mvp__hero,
	.edvx-b2b--employer .edvx-employers__hero,
	.edvx-b2b--university .edvx-employers__hero { min-height: 0; }
	.edvx-route-join-talent .edvx-summary-card { transform: none; }
}

@media (max-width: 767px) {
	.edvx-home-why__grid { grid-template-columns: 1fr; }
	.menu-wrapper > .btn { width: 100%; min-width: 0; }
	.edvx-b2b--employer .edvx-hero-panel,
	.edvx-b2b--university .edvx-hero-panel { box-shadow: 10px 10px 0 rgba(16,42,67,.2); }
}

@media (prefers-reduced-motion: reduce) {
	.edvx-route-join-talent .edvx-summary-card { transform: none; }
}
